diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-03-11 12:57:55 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-03-11 12:57:55 +0100 |
commit | a383fdf9843640811067117b26622bf3644ac498 (patch) | |
tree | 67d5700675a47186635e24068d12ff4b6fc6dabc /pcilib.h | |
parent | e3f49e9e7f5e12fd9e0331d9e92cf0316507b82c (diff) | |
download | pcitool-a383fdf9843640811067117b26622bf3644ac498.tar.gz pcitool-a383fdf9843640811067117b26622bf3644ac498.tar.bz2 pcitool-a383fdf9843640811067117b26622bf3644ac498.tar.xz pcitool-a383fdf9843640811067117b26622bf3644ac498.zip |
Move model decription to public header
Diffstat (limited to 'pcilib.h')
-rw-r--r-- | pcilib.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |