summaryrefslogtreecommitdiffstats
path: root/event.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-14 01:44:10 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-14 01:44:10 +0200
commitb492b1aac3d12683ccbc973b08b023ba0466cbec (patch)
tree09f6d3d0cc3725b62a5c9210220e14316b737622 /event.h
parent9f17f71885344d93b16fdc17458aa28ba350a480 (diff)
downloadipecamera-b492b1aac3d12683ccbc973b08b023ba0466cbec.tar.gz
ipecamera-b492b1aac3d12683ccbc973b08b023ba0466cbec.tar.bz2
ipecamera-b492b1aac3d12683ccbc973b08b023ba0466cbec.tar.xz
ipecamera-b492b1aac3d12683ccbc973b08b023ba0466cbec.zip
Support modifications of DMA engine and allow DMA customizations by Event engine
Diffstat (limited to 'event.h')
-rw-r--r--event.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/event.h b/event.h
index 720271c..c6432be 100644
--- a/event.h
+++ b/event.h
@@ -16,6 +16,9 @@ struct pcilib_event_api_description_s {
pcilib_event_id_t (*next_event)(pcilib_context_t *ctx, pcilib_event_t event_mask, const struct timespec *timeout);
void* (*get_data)(pcilib_context_t *ctx, pcilib_event_id_t event_id, pcilib_event_data_type_t data_type, size_t arg_size, void *arg, size_t *size);
int (*return_data)(pcilib_context_t *ctx, pcilib_event_id_t event_id);
+
+ pcilib_dma_context_t *(*init_dma)(pcilib_context_t *ctx);
+
};