From 5387063faa68d774e2f586e6d8284520f3cde12f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 2 May 2015 14:45:42 +0200 Subject: Include version information in all API descriptions --- pcilib/event.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pcilib/event.h') 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 +#include #include -#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); -- cgit v1.2.3