xref: /freebsd/sys/contrib/openzfs/lib/libzfsbootenv/libzfsbootenv.abi (revision dd41de95a84d979615a2ef11df6850622bf6184e)
1<abi-corpus path='libzfsbootenv.so' architecture='elf-amd-x86_64' soname='libzfsbootenv.so.1'>
2  <elf-needed>
3    <dependency name='libzfs.so.4'/>
4    <dependency name='libzfs_core.so.3'/>
5    <dependency name='libuuid.so.1'/>
6    <dependency name='libblkid.so.1'/>
7    <dependency name='libudev.so.1'/>
8    <dependency name='libuutil.so.3'/>
9    <dependency name='libm.so.6'/>
10    <dependency name='libcrypto.so.1.1'/>
11    <dependency name='libz.so.1'/>
12    <dependency name='libnvpair.so.3'/>
13    <dependency name='libtirpc.so.3'/>
14    <dependency name='libpthread.so.0'/>
15    <dependency name='libc.so.6'/>
16  </elf-needed>
17  <elf-function-symbols>
18    <elf-symbol name='lzbe_add_pair' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
19    <elf-symbol name='lzbe_bootenv_print' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
20    <elf-symbol name='lzbe_get_boot_device' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
21    <elf-symbol name='lzbe_nvlist_free' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
22    <elf-symbol name='lzbe_nvlist_get' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
23    <elf-symbol name='lzbe_nvlist_set' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
24    <elf-symbol name='lzbe_remove_pair' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
25    <elf-symbol name='lzbe_set_boot_device' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
26  </elf-function-symbols>
27  <abi-instr version='1.0' address-size='64' path='lzbe_device.c' comp-dir-path='/home/fedora/zfs/lib/libzfsbootenv' language='LANG_C99'>
28    <type-decl name='char' size-in-bits='8' id='type-id-1'/>
29    <type-decl name='int' size-in-bits='32' id='type-id-2'/>
30    <type-decl name='unnamed-enum-underlying-type' is-anonymous='yes' size-in-bits='32' alignment-in-bits='32' id='type-id-3'/>
31    <typedef-decl name='lzbe_flags_t' type-id='type-id-4' filepath='../../include/libzfsbootenv.h' line='26' column='1' id='type-id-5'/>
32    <enum-decl name='lzbe_flags' filepath='../../include/libzfsbootenv.h' line='23' column='1' id='type-id-4'>
33      <underlying-type type-id='type-id-3'/>
34      <enumerator name='lzbe_add' value='0'/>
35      <enumerator name='lzbe_replace' value='1'/>
36    </enum-decl>
37    <pointer-type-def type-id='type-id-1' size-in-bits='64' id='type-id-6'/>
38    <pointer-type-def type-id='type-id-6' size-in-bits='64' id='type-id-7'/>
39    <qualified-type-def type-id='type-id-1' const='yes' id='type-id-8'/>
40    <pointer-type-def type-id='type-id-8' size-in-bits='64' id='type-id-9'/>
41    <function-decl name='lzbe_get_boot_device' mangled-name='lzbe_get_boot_device' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_device.c' line='114' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='lzbe_get_boot_device'>
42      <parameter type-id='type-id-9' name='pool' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_device.c' line='114' column='1'/>
43      <parameter type-id='type-id-7' name='device' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_device.c' line='114' column='1'/>
44      <return type-id='type-id-2'/>
45    </function-decl>
46    <function-decl name='lzbe_set_boot_device' mangled-name='lzbe_set_boot_device' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_device.c' line='28' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='lzbe_set_boot_device'>
47      <parameter type-id='type-id-9' name='pool' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_device.c' line='28' column='1'/>
48      <parameter type-id='type-id-5' name='flag' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_device.c' line='28' column='1'/>
49      <parameter type-id='type-id-9' name='device' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_device.c' line='28' column='1'/>
50      <return type-id='type-id-2'/>
51    </function-decl>
52  </abi-instr>
53  <abi-instr version='1.0' address-size='64' path='lzbe_pair.c' comp-dir-path='/home/fedora/zfs/lib/libzfsbootenv' language='LANG_C99'>
54    <type-decl name='unsigned long int' size-in-bits='64' id='type-id-10'/>
55    <type-decl name='void' id='type-id-11'/>
56    <typedef-decl name='size_t' type-id='type-id-10' filepath='/usr/lib/gcc/x86_64-redhat-linux/10/include/stddef.h' line='209' column='1' id='type-id-12'/>
57    <pointer-type-def type-id='type-id-11' size-in-bits='64' id='type-id-13'/>
58    <pointer-type-def type-id='type-id-13' size-in-bits='64' id='type-id-14'/>
59    <function-decl name='lzbe_remove_pair' mangled-name='lzbe_remove_pair' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='343' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='lzbe_remove_pair'>
60      <parameter type-id='type-id-13' name='ptr' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='343' column='1'/>
61      <parameter type-id='type-id-9' name='key' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='343' column='1'/>
62      <return type-id='type-id-2'/>
63    </function-decl>
64    <function-decl name='lzbe_add_pair' mangled-name='lzbe_add_pair' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='182' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='lzbe_add_pair'>
65      <parameter type-id='type-id-13' name='ptr' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='182' column='1'/>
66      <parameter type-id='type-id-9' name='key' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='182' column='1'/>
67      <parameter type-id='type-id-9' name='type' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='182' column='1'/>
68      <parameter type-id='type-id-13' name='value' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='182' column='1'/>
69      <parameter type-id='type-id-12' name='size' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='183' column='1'/>
70      <return type-id='type-id-2'/>
71    </function-decl>
72    <function-decl name='lzbe_nvlist_free' mangled-name='lzbe_nvlist_free' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='131' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='lzbe_nvlist_free'>
73      <parameter type-id='type-id-13' name='ptr' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='131' column='1'/>
74      <return type-id='type-id-11'/>
75    </function-decl>
76    <function-decl name='lzbe_nvlist_set' mangled-name='lzbe_nvlist_set' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='74' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='lzbe_nvlist_set'>
77      <parameter type-id='type-id-9' name='pool' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='74' column='1'/>
78      <parameter type-id='type-id-9' name='key' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='74' column='1'/>
79      <parameter type-id='type-id-13' name='ptr' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='74' column='1'/>
80      <return type-id='type-id-2'/>
81    </function-decl>
82    <function-decl name='lzbe_nvlist_get' mangled-name='lzbe_nvlist_get' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='27' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='lzbe_nvlist_get'>
83      <parameter type-id='type-id-9' name='pool' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='27' column='1'/>
84      <parameter type-id='type-id-9' name='key' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='27' column='1'/>
85      <parameter type-id='type-id-14' name='ptr' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_pair.c' line='27' column='1'/>
86      <return type-id='type-id-2'/>
87    </function-decl>
88  </abi-instr>
89  <abi-instr version='1.0' address-size='64' path='lzbe_util.c' comp-dir-path='/home/fedora/zfs/lib/libzfsbootenv' language='LANG_C99'>
90
91
92    <array-type-def dimensions='1' type-id='type-id-1' size-in-bits='8' id='type-id-15'>
93      <subrange length='1' type-id='type-id-10' id='type-id-16'/>
94
95    </array-type-def>
96    <array-type-def dimensions='1' type-id='type-id-1' size-in-bits='160' id='type-id-17'>
97      <subrange length='20' type-id='type-id-10' id='type-id-18'/>
98
99    </array-type-def>
100    <class-decl name='_IO_codecvt' is-struct='yes' visibility='default' is-declaration-only='yes' id='type-id-19'/>
101    <class-decl name='_IO_marker' is-struct='yes' visibility='default' is-declaration-only='yes' id='type-id-20'/>
102    <class-decl name='_IO_wide_data' is-struct='yes' visibility='default' is-declaration-only='yes' id='type-id-21'/>
103    <type-decl name='long int' size-in-bits='64' id='type-id-22'/>
104    <type-decl name='signed char' size-in-bits='8' id='type-id-23'/>
105    <type-decl name='unsigned short int' size-in-bits='16' id='type-id-24'/>
106    <typedef-decl name='FILE' type-id='type-id-25' filepath='/usr/include/bits/types/FILE.h' line='7' column='1' id='type-id-26'/>
107    <class-decl name='_IO_FILE' size-in-bits='1728' is-struct='yes' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='49' column='1' id='type-id-25'>
108      <data-member access='public' layout-offset-in-bits='0'>
109        <var-decl name='_flags' type-id='type-id-2' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='51' column='1'/>
110      </data-member>
111      <data-member access='public' layout-offset-in-bits='64'>
112        <var-decl name='_IO_read_ptr' type-id='type-id-6' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='54' column='1'/>
113      </data-member>
114      <data-member access='public' layout-offset-in-bits='128'>
115        <var-decl name='_IO_read_end' type-id='type-id-6' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='55' column='1'/>
116      </data-member>
117      <data-member access='public' layout-offset-in-bits='192'>
118        <var-decl name='_IO_read_base' type-id='type-id-6' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='56' column='1'/>
119      </data-member>
120      <data-member access='public' layout-offset-in-bits='256'>
121        <var-decl name='_IO_write_base' type-id='type-id-6' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='57' column='1'/>
122      </data-member>
123      <data-member access='public' layout-offset-in-bits='320'>
124        <var-decl name='_IO_write_ptr' type-id='type-id-6' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='58' column='1'/>
125      </data-member>
126      <data-member access='public' layout-offset-in-bits='384'>
127        <var-decl name='_IO_write_end' type-id='type-id-6' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='59' column='1'/>
128      </data-member>
129      <data-member access='public' layout-offset-in-bits='448'>
130        <var-decl name='_IO_buf_base' type-id='type-id-6' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='60' column='1'/>
131      </data-member>
132      <data-member access='public' layout-offset-in-bits='512'>
133        <var-decl name='_IO_buf_end' type-id='type-id-6' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='61' column='1'/>
134      </data-member>
135      <data-member access='public' layout-offset-in-bits='576'>
136        <var-decl name='_IO_save_base' type-id='type-id-6' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='64' column='1'/>
137      </data-member>
138      <data-member access='public' layout-offset-in-bits='640'>
139        <var-decl name='_IO_backup_base' type-id='type-id-6' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='65' column='1'/>
140      </data-member>
141      <data-member access='public' layout-offset-in-bits='704'>
142        <var-decl name='_IO_save_end' type-id='type-id-6' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='66' column='1'/>
143      </data-member>
144      <data-member access='public' layout-offset-in-bits='768'>
145        <var-decl name='_markers' type-id='type-id-27' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='68' column='1'/>
146      </data-member>
147      <data-member access='public' layout-offset-in-bits='832'>
148        <var-decl name='_chain' type-id='type-id-28' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='70' column='1'/>
149      </data-member>
150      <data-member access='public' layout-offset-in-bits='896'>
151        <var-decl name='_fileno' type-id='type-id-2' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='72' column='1'/>
152      </data-member>
153      <data-member access='public' layout-offset-in-bits='928'>
154        <var-decl name='_flags2' type-id='type-id-2' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='73' column='1'/>
155      </data-member>
156      <data-member access='public' layout-offset-in-bits='960'>
157        <var-decl name='_old_offset' type-id='type-id-29' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='74' column='1'/>
158      </data-member>
159      <data-member access='public' layout-offset-in-bits='1024'>
160        <var-decl name='_cur_column' type-id='type-id-24' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='77' column='1'/>
161      </data-member>
162      <data-member access='public' layout-offset-in-bits='1040'>
163        <var-decl name='_vtable_offset' type-id='type-id-23' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='78' column='1'/>
164      </data-member>
165      <data-member access='public' layout-offset-in-bits='1048'>
166        <var-decl name='_shortbuf' type-id='type-id-15' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='79' column='1'/>
167      </data-member>
168      <data-member access='public' layout-offset-in-bits='1088'>
169        <var-decl name='_lock' type-id='type-id-30' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='81' column='1'/>
170      </data-member>
171      <data-member access='public' layout-offset-in-bits='1152'>
172        <var-decl name='_offset' type-id='type-id-31' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='89' column='1'/>
173      </data-member>
174      <data-member access='public' layout-offset-in-bits='1216'>
175        <var-decl name='_codecvt' type-id='type-id-32' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='91' column='1'/>
176      </data-member>
177      <data-member access='public' layout-offset-in-bits='1280'>
178        <var-decl name='_wide_data' type-id='type-id-33' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='92' column='1'/>
179      </data-member>
180      <data-member access='public' layout-offset-in-bits='1344'>
181        <var-decl name='_freeres_list' type-id='type-id-28' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='93' column='1'/>
182      </data-member>
183      <data-member access='public' layout-offset-in-bits='1408'>
184        <var-decl name='_freeres_buf' type-id='type-id-13' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='94' column='1'/>
185      </data-member>
186      <data-member access='public' layout-offset-in-bits='1472'>
187        <var-decl name='__pad5' type-id='type-id-12' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='95' column='1'/>
188      </data-member>
189      <data-member access='public' layout-offset-in-bits='1536'>
190        <var-decl name='_mode' type-id='type-id-2' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='96' column='1'/>
191      </data-member>
192      <data-member access='public' layout-offset-in-bits='1568'>
193        <var-decl name='_unused2' type-id='type-id-17' visibility='default' filepath='/usr/include/bits/types/struct_FILE.h' line='98' column='1'/>
194      </data-member>
195    </class-decl>
196    <typedef-decl name='__off_t' type-id='type-id-22' filepath='/usr/include/bits/types.h' line='152' column='1' id='type-id-29'/>
197    <typedef-decl name='_IO_lock_t' type-id='type-id-11' filepath='/usr/include/bits/types/struct_FILE.h' line='43' column='1' id='type-id-34'/>
198    <typedef-decl name='__off64_t' type-id='type-id-22' filepath='/usr/include/bits/types.h' line='153' column='1' id='type-id-31'/>
199    <pointer-type-def type-id='type-id-26' size-in-bits='64' id='type-id-35'/>
200    <pointer-type-def type-id='type-id-25' size-in-bits='64' id='type-id-28'/>
201    <pointer-type-def type-id='type-id-19' size-in-bits='64' id='type-id-32'/>
202    <pointer-type-def type-id='type-id-34' size-in-bits='64' id='type-id-30'/>
203    <pointer-type-def type-id='type-id-20' size-in-bits='64' id='type-id-27'/>
204    <pointer-type-def type-id='type-id-21' size-in-bits='64' id='type-id-33'/>
205    <function-decl name='lzbe_bootenv_print' mangled-name='lzbe_bootenv_print' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_util.c' line='24' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='lzbe_bootenv_print'>
206      <parameter type-id='type-id-9' name='pool' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_util.c' line='24' column='1'/>
207      <parameter type-id='type-id-9' name='nvlist' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_util.c' line='24' column='1'/>
208      <parameter type-id='type-id-35' name='of' filepath='/home/fedora/zfs/lib/libzfsbootenv/lzbe_util.c' line='24' column='1'/>
209      <return type-id='type-id-2'/>
210    </function-decl>
211  </abi-instr>
212</abi-corpus>
213