diff options
Diffstat (limited to 'accel-pptpd/triton/triton_p.h')
-rw-r--r-- | accel-pptpd/triton/triton_p.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/accel-pptpd/triton/triton_p.h b/accel-pptpd/triton/triton_p.h index 0aa37b1f..5e498fcd 100644 --- a/accel-pptpd/triton/triton_p.h +++ b/accel-pptpd/triton/triton_p.h @@ -33,6 +33,7 @@ struct _triton_context_t struct list_head timers; struct list_head pending_handlers; struct list_head pending_timers; + struct list_head pending_calls; ucontext_t uctx; @@ -71,6 +72,14 @@ struct _triton_event_t struct list_head handlers; }; +struct _triton_ctx_call_t +{ + struct list_head entry; + + void *arg; + void (*func)(void *); +}; + typedef void * mempool_t; mempool_t *mempool_create(int size); void *mempool_alloc(mempool_t*); |