From a383fdf9843640811067117b26622bf3644ac498 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 11 Mar 2011 12:57:55 +0100 Subject: Move model decription to public header --- pcilib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pcilib.h') 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); -- cgit v1.2.3