99
100
#define PCILIB_TIMEOUT_INFINITE ((pcilib_timeout_t)-1)
100
101
#define PCILIB_TIMEOUT_IMMEDIATE 0
101
102
#define PCILIB_TIMEOUT_TRIGGER 0
103
105
typedef int (*pcilib_dma_callback_t)(void *ctx, pcilib_dma_flags_t flags, size_t bufsize, void *buf);
104
106
typedef int (*pcilib_event_callback_t)(pcilib_event_t event, pcilib_event_id_t event_id, void *user);