X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Flibpci.ver;h=33ee0244ab8d8d980ea7913cd696c9d1d88774a9;hb=e5d1d2dbb64cafd33f9b012b7959b61319dcd250;hp=a1b7252fea4ff1302c9af846176b8ccfe9496df9;hpb=cec9f7e7d8909f65a6376e195bfe65a963ca5725;p=pciutils.git diff --git a/lib/libpci.ver b/lib/libpci.ver index a1b7252..33ee024 100644 --- a/lib/libpci.ver +++ b/lib/libpci.ver @@ -4,9 +4,97 @@ * 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 { - global: pci_*; + global: + pci_alloc; + pci_cleanup; + pci_fill_info; + pci_filter_init; + pci_filter_match; + pci_filter_parse_id; + pci_filter_parse_slot; + pci_free_dev; + pci_free_name_list; + pci_get_dev; + pci_get_method_name; + pci_get_param; + pci_id_cache_flush; + pci_init; + pci_load_name_list; + pci_lookup_method; + pci_lookup_name; + pci_read_block; + pci_read_byte; + pci_read_long; + pci_read_word; + pci_scan_bus; + pci_set_name_list_path; + pci_set_param; + pci_setup_cache; + pci_walk_params; + pci_write_block; + pci_write_byte; + pci_write_long; + pci_write_word; local: *; }; + +LIBPCI_3.1 { + global: + pci_fill_info; + 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; +};