diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-05-02 14:45:42 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-05-02 14:45:42 +0200 |
commit | 5387063faa68d774e2f586e6d8284520f3cde12f (patch) | |
tree | c849a07034fe0ba9880fdf8db27972925f93c75a /protocols/default.h | |
parent | 92b8fe6e949f08308d237e87441e066a19a9eda6 (diff) | |
download | pcitool-5387063faa68d774e2f586e6d8284520f3cde12f.tar.gz pcitool-5387063faa68d774e2f586e6d8284520f3cde12f.tar.bz2 pcitool-5387063faa68d774e2f586e6d8284520f3cde12f.tar.xz pcitool-5387063faa68d774e2f586e6d8284520f3cde12f.zip |
Include version information in all API descriptions
Diffstat (limited to 'protocols/default.h')
-rw-r--r-- | protocols/default.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/default.h b/protocols/default.h index 6201176..c3e6d06 100644 --- a/protocols/default.h +++ b/protocols/default.h @@ -2,6 +2,7 @@ #define _PCILIB_DEFAULT_H #include "pcilib.h" +#include "version.h" #include "model.h" int pcilib_default_read(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t *value); @@ -9,7 +10,7 @@ int pcilib_default_write(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pc #ifdef _PCILIB_EXPORT_C const pcilib_register_protocol_api_description_t pcilib_default_protocol_api = - { NULL, NULL, pcilib_default_read, pcilib_default_write }; + { PCILIB_VERSION, NULL, NULL, pcilib_default_read, pcilib_default_write }; #endif /* _PCILIB_EXPORT_C */ #endif /* _PCILIB_DEFAULT_H */ |