diff options
Diffstat (limited to 'pcilib/plugin.h')
-rw-r--r-- | pcilib/plugin.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pcilib/plugin.h b/pcilib/plugin.h new file mode 100644 index 0000000..774fda5 --- /dev/null +++ b/pcilib/plugin.h @@ -0,0 +1,10 @@ +#ifndef _PCILIB_PLUGIN_H +#define _PCILIB_PLUGIN_H + +void *pcilib_plugin_load(const char *name); +void pcilib_plugin_close(void *plug); +void *pcilib_plugin_get_symbol(void *plug, const char *symbol); +const pcilib_model_description_t *pcilib_get_plugin_model(pcilib_t *pcilib, void *plug, unsigned short vendor_id, unsigned short device_id, const char *model); +const pcilib_model_description_t *pcilib_find_plugin_model(pcilib_t *pcilib, unsigned short vendor_id, unsigned short device_id, const char *model); + +#endif /* _PCILIB_PLUGIN_H */ |