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 --- dma/ipe.h | 2 ++ dma/nwl.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'dma') diff --git a/dma/ipe.h b/dma/ipe.h index aa42f40..6e05fe1 100644 --- a/dma/ipe.h +++ b/dma/ipe.h @@ -3,6 +3,7 @@ #include #include "pcilib.h" +#include "version.h" //#define PCILIB_NWL_MODIFICATION_IPECAMERA 0x100 @@ -19,6 +20,7 @@ double dma_ipe_benchmark(pcilib_dma_context_t *vctx, pcilib_dma_engine_addr_t dm #ifdef _PCILIB_EXPORT_C static const pcilib_dma_api_description_t ipe_dma_api = { + PCILIB_VERSION, dma_ipe_init, dma_ipe_free, dma_ipe_get_status, diff --git a/dma/nwl.h b/dma/nwl.h index fceef4d..bf955f3 100644 --- a/dma/nwl.h +++ b/dma/nwl.h @@ -3,6 +3,7 @@ #include #include "pcilib.h" +#include "version.h" pcilib_dma_context_t *dma_nwl_init(pcilib_t *ctx, const char *model, const void *arg); void dma_nwl_free(pcilib_dma_context_t *vctx); @@ -22,6 +23,7 @@ double dma_nwl_benchmark(pcilib_dma_context_t *vctx, pcilib_dma_engine_addr_t dm #ifdef _PCILIB_EXPORT_C static const pcilib_dma_api_description_t nwl_dma_api = { + PCILIB_VERSION, dma_nwl_init, dma_nwl_free, dma_nwl_get_status, -- cgit v1.2.3