/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to protocols/default.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-05-02 12:45:42 UTC
  • Revision ID: csa@suren.me-20150502124542-u57tbtwoix0qfhb8
Include version information in all API descriptions

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#define _PCILIB_DEFAULT_H
3
3
 
4
4
#include "pcilib.h"
 
5
#include "version.h"
5
6
#include "model.h"
6
7
 
7
8
int pcilib_default_read(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t *value);
9
10
 
10
11
#ifdef _PCILIB_EXPORT_C
11
12
const pcilib_register_protocol_api_description_t pcilib_default_protocol_api =
12
 
    { NULL, NULL, pcilib_default_read, pcilib_default_write };
 
13
    { PCILIB_VERSION, NULL, NULL, pcilib_default_read, pcilib_default_write };
13
14
#endif /* _PCILIB_EXPORT_C */
14
15
 
15
16
#endif /* _PCILIB_DEFAULT_H */