XROAD
xroad_ev_queue.h
Go to the documentation of this file.
1 #pragma once
7 #include <stdint.h>
8 #include "xroad_common_fwd.h"
9 #include "xroad_common_types.h"
10 
11 #ifdef __cplusplus
12 extern "C"
13 {
14 #endif
15 
16 typedef struct
17 {
18  void* ctx; // pointer to contex
19  void (*on_event)(void* ctx); // pointer to function
21 
27 
33 
39 
45 
51 
59 
60 #ifdef __cplusplus
61 }
62 #endif
Definition: xroad_ev_queue.h:17
struct xroad_ev_queue_s xroad_ev_queue_t
see common/xroad_ev_queue.h for details
Definition: xroad_common_fwd.h:52
void xroad_ev_queue_add_ev(xroad_ev_queue_t *q, xroad_ev_callback_t cb, uint64_t tm_usec)
xroad_ev_queue_t * xroad_ev_queue_create()
void xroad_ev_queue_clear(xroad_ev_queue_t *q)
void xroad_ev_queue_destroy(xroad_ev_queue_t *q)
void xroad_ev_queue_start(xroad_ev_queue_t *q)
void xroad_ev_queue_stop(xroad_ev_queue_t *q)