summaryrefslogtreecommitdiffstats
path: root/pcilib.h
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-14 12:10:36 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-14 12:10:36 +0100
commit6f7f9467f76b21d418de8a4dafeac1ec4516e8d5 (patch)
tree16e1bce1646d7c5d91b8ed29e7836bdebf8d98a0 /pcilib.h
parentb26046f5a83a3933a99166762de03bf8e7a48d76 (diff)
parent625e502a76fe43808a1a054641b59b7a839855cf (diff)
downloadpcitool-6f7f9467f76b21d418de8a4dafeac1ec4516e8d5.tar.gz
pcitool-6f7f9467f76b21d418de8a4dafeac1ec4516e8d5.tar.bz2
pcitool-6f7f9467f76b21d418de8a4dafeac1ec4516e8d5.tar.xz
pcitool-6f7f9467f76b21d418de8a4dafeac1ec4516e8d5.zip
Merge changes
Diffstat (limited to 'pcilib.h')
-rw-r--r--pcilib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pcilib.h b/pcilib.h
index 7541c80..b1288a8 100644
--- a/pcilib.h
+++ b/pcilib.h
@@ -99,6 +99,10 @@ typedef struct {
pcilib_register_range_t *ranges;
} pcilib_model_description_t;
+#ifndef _PCILIB_PCI_C
+extern pcilib_model_description_t pcilib_model[];
+#endif /* ! _PCILIB_PCI_C */
+
int pcilib_set_error_handler(void (*err)(const char *msg, ...));
pcilib_model_t pcilib_get_model(pcilib_t *ctx);