diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-06-22 18:32:27 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-06-22 18:32:27 +0200 |
commit | e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55 (patch) | |
tree | ea63b9499de4abbf7e09c3b6a6952786740be577 /pcilib/plugin.h | |
parent | 87583e6ec5c1961ef975b873041eeada3e1e6c6d (diff) | |
download | pcitool-e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55.tar.gz pcitool-e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55.tar.bz2 pcitool-e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55.tar.xz pcitool-e2515f6e1a7b17addda4c558a0a6ca05b4ec6e55.zip |
Keep C++ compilers happy
Diffstat (limited to 'pcilib/plugin.h')
-rw-r--r-- | pcilib/plugin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pcilib/plugin.h b/pcilib/plugin.h index 774fda5..f9ff7cf 100644 --- a/pcilib/plugin.h +++ b/pcilib/plugin.h @@ -1,10 +1,18 @@ #ifndef _PCILIB_PLUGIN_H #define _PCILIB_PLUGIN_H +#ifdef __cplusplus +extern "C" { +#endif + 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); +#ifdef __cplusplus +} +#endif + #endif /* _PCILIB_PLUGIN_H */ |