Revision 880dc54f
Fixed curl SSL queries failing and queue bug
mainbox/event.h | ||
---|---|---|
11 | 11 |
struct event_t *next; |
12 | 12 |
}; |
13 | 13 |
|
14 |
/* |
|
15 |
* After event_alloc, you must call either event_free or event_q_push. |
|
16 |
* Periodically call event_q_process to send events in the queue to the server. |
|
17 |
* When an event is successfully sent, the event will be removed from the queue |
|
18 |
* and freed. |
|
19 |
*/ |
|
14 | 20 |
struct event_t *event_alloc(); |
15 | 21 |
void event_free(struct event_t *event); |
16 | 22 |
void event_q_push(struct event_t *event); |
Also available in: Unified diff