diff options
Diffstat (limited to 'pcilib/event.h')
-rw-r--r-- | pcilib/event.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pcilib/event.h b/pcilib/event.h index 7ab3aae..ca7c27f 100644 --- a/pcilib/event.h +++ b/pcilib/event.h @@ -2,9 +2,10 @@ #define _PCILIB_EVENT_H #include <pcilib.h> +#include <pcilib/version.h> #include <pcilib/dma.h> -#define PCILIB_EVENT_INTERFACE_VERSION 0 +#define PCILIB_EVENT_INTERFACE_VERSION PCILIB_VERSION typedef struct { size_t max_events; @@ -68,6 +69,8 @@ typedef enum { */ typedef struct { + pcilib_version_t version; + pcilib_context_t *(*init)(pcilib_t *ctx); void (*free)(pcilib_context_t *ctx); |