summaryrefslogtreecommitdiffstats
path: root/pcilib/plugin.h
blob: 774fda5ba6691a40e2ac4c963c0a6923cd3ed75d (plain)
1
2
3
4
5
6
7
8
9
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 */