/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/event.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_EVENT_H
3
3
 
4
4
#include <pcilib.h>
 
5
#include <pcilib/version.h>
5
6
#include <pcilib/dma.h>
6
7
 
7
 
#define PCILIB_EVENT_INTERFACE_VERSION 0
 
8
#define PCILIB_EVENT_INTERFACE_VERSION PCILIB_VERSION
8
9
 
9
10
typedef struct {
10
11
    size_t max_events;
68
69
 */
69
70
 
70
71
typedef struct {
 
72
    pcilib_version_t version;
 
73
 
71
74
    pcilib_context_t *(*init)(pcilib_t *ctx);
72
75
    void (*free)(pcilib_context_t *ctx);
73
76