X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Flibpci.ver;h=33ee0244ab8d8d980ea7913cd696c9d1d88774a9;hb=e5d1d2dbb64cafd33f9b012b7959b61319dcd250;hp=2f7dff7a085433a25d89c6948754068b2a71a7f3;hpb=52c815195259cc9d388fac44ead8191de7d24c76;p=pciutils.git diff --git a/lib/libpci.ver b/lib/libpci.ver index 2f7dff7..33ee024 100644 --- a/lib/libpci.ver +++ b/lib/libpci.ver @@ -4,6 +4,13 @@ * Visibility declarations in the source take precedence over this script, * so we can boldly declare pci_* as public and still keep the internal * functions properly hidden. + * + * To preserve compatibility of Windows DLL file, always add new symbol at + * the end of file and never change order of symbols nor version sections. + * On Windows the last referenced version of the symbol is the default one. + + * For PE/COFF targets this file is processed by ver2def.pl script and not + * by GNU LD linker like for ELF targets. */ LIBPCI_3.0 { @@ -47,3 +54,47 @@ LIBPCI_3.1 { pci_find_cap; pci_read_vpd; }; + +LIBPCI_3.2 { + global: + pci_fill_info; +}; + +LIBPCI_3.3 { + global: + pci_fill_info; + pci_filter_init; + pci_filter_match; + pci_filter_parse_id; + pci_filter_parse_slot; +}; + +LIBPCI_3.4 { + global: + pci_fill_info; +}; + +LIBPCI_3.5 { + global: + pci_init; + pci_fill_info; +}; + +LIBPCI_3.6 { + global: + pci_get_string_property; +}; + +LIBPCI_3.7 { + global: + pci_find_cap_nr; +}; + +LIBPCI_3.8 { + global: + pci_fill_info; + pci_filter_init; + pci_filter_match; + pci_filter_parse_id; + pci_filter_parse_slot; +};