]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/libpci.ver
MacOS: An attempt to appease compiler picky about attribute placement
[pciutils.git] / lib / libpci.ver
index 3f73fca749425b47aa0d3b7eec3a856fbf88f8bc..33ee0244ab8d8d980ea7913cd696c9d1d88774a9 100644 (file)
@@ -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 {
@@ -52,3 +59,42 @@ 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;
+};