summaryrefslogtreecommitdiffstats
path: root/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'event.h')
-rw-r--r--event.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/event.h b/event.h
index 3523f49..0675b94 100644
--- a/event.h
+++ b/event.h
@@ -17,9 +17,13 @@
*/
struct pcilib_event_api_description_s {
+ const char *title;
+
pcilib_context_t *(*init)(pcilib_t *ctx);
void (*free)(pcilib_context_t *ctx);
+ pcilib_dma_context_t *(*init_dma)(pcilib_context_t *ctx);
+
int (*reset)(pcilib_context_t *ctx);
int (*start)(pcilib_context_t *ctx, pcilib_event_t event_mask, pcilib_event_flags_t flags);
@@ -31,8 +35,6 @@ struct pcilib_event_api_description_s {
int (*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, void **data);
int (*return_data)(pcilib_context_t *ctx, pcilib_event_id_t event_id, pcilib_event_data_type_t data_type, void *data);
-
- pcilib_dma_context_t *(*init_dma)(pcilib_context_t *ctx);
};