xref: /aosp_15_r20/external/pciutils/lib/libpci.ver (revision c2e0c6b56a71da9abe8df5c8348fb3eb5c2c9251)
1/* Version script for the libpci */
2
3/*
4 *  Visibility declarations in the source take precedence over this script,
5 *  so we can boldly declare pci_* as public and still keep the internal
6 *  functions properly hidden.
7 *
8 *  To preserve compatibility of Windows DLL file, always add new symbol at
9 *  the end of file and never change order of symbols nor version sections.
10 *  On Windows the last referenced version of the symbol is the default one.
11
12 *  For PE/COFF targets this file is processed by ver2def.pl script and not
13 *  by GNU LD linker like for ELF targets.
14 */
15
16LIBPCI_3.0 {
17	global:
18		pci_alloc;
19		pci_cleanup;
20		pci_fill_info;
21		pci_filter_init;
22		pci_filter_match;
23		pci_filter_parse_id;
24		pci_filter_parse_slot;
25		pci_free_dev;
26		pci_free_name_list;
27		pci_get_dev;
28		pci_get_method_name;
29		pci_get_param;
30		pci_id_cache_flush;
31		pci_init;
32		pci_load_name_list;
33		pci_lookup_method;
34		pci_lookup_name;
35		pci_read_block;
36		pci_read_byte;
37		pci_read_long;
38		pci_read_word;
39		pci_scan_bus;
40		pci_set_name_list_path;
41		pci_set_param;
42		pci_setup_cache;
43		pci_walk_params;
44		pci_write_block;
45		pci_write_byte;
46		pci_write_long;
47		pci_write_word;
48	local: *;
49};
50
51LIBPCI_3.1 {
52	global:
53		pci_fill_info;
54		pci_find_cap;
55		pci_read_vpd;
56};
57
58LIBPCI_3.2 {
59	global:
60		pci_fill_info;
61};
62
63LIBPCI_3.3 {
64	global:
65		pci_fill_info;
66		pci_filter_init;
67		pci_filter_match;
68		pci_filter_parse_id;
69		pci_filter_parse_slot;
70};
71
72LIBPCI_3.4 {
73	global:
74		pci_fill_info;
75};
76
77LIBPCI_3.5 {
78	global:
79		pci_init;
80		pci_fill_info;
81};
82
83LIBPCI_3.6 {
84	global:
85		pci_get_string_property;
86};
87
88LIBPCI_3.7 {
89	global:
90		pci_find_cap_nr;
91};
92
93LIBPCI_3.8 {
94	global:
95		pci_fill_info;
96		pci_filter_init;
97		pci_filter_match;
98		pci_filter_parse_id;
99		pci_filter_parse_slot;
100};
101
102LIBPCI_3.13 {
103	global:
104		pci_fill_info;
105};
106