diff options
Diffstat (limited to 'event.h')
-rw-r--r-- | event.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); }; |