summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2006-03-27 18:08:42 +0000
committerIan Romanick <idr@us.ibm.com>2006-03-27 18:08:42 +0000
commit5b4db5c392c123f71a7933bd94c789b5e23dd69a (patch)
treef110bca10f2f465f2c08d87cf15bf80831769015 /include
parent6b1e9fae2ab9979b2a3bb3137c5db4d92d2905c8 (diff)
Remove src/pcils.c and src/Makefile.foo. Add src/scanpci.c.XORG-7_0_99_901
Bump version to 0.3.0. Replace pci_get_name with pci_get_strings. This function matches the functionality provided by the Xorg scanpci module almost identically.
Diffstat (limited to 'include')
-rw-r--r--include/pciaccess.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pciaccess.h b/include/pciaccess.h
index fec8271..d4cb04d 100644
--- a/include/pciaccess.h
+++ b/include/pciaccess.h
@@ -57,6 +57,9 @@ void pci_iterator_destroy( struct pci_device_iterator * iter );
struct pci_device * pci_device_next( struct pci_device_iterator * iter );
+void pci_get_strings( const struct pci_id_match * m,
+ const char ** device_name, const char ** vendor_name,
+ const char ** subdevice_name, const char ** subvendor_name );
const char * pci_get_name( const struct pci_id_match * m );
const char * pci_device_get_device_name( const struct pci_device * dev );
const char * pci_device_get_subdevice_name( const struct pci_device * dev );