diff options
Diffstat (limited to 'accel-pptpd/triton/triton_p.h')
-rw-r--r-- | accel-pptpd/triton/triton_p.h | 45 |
1 files changed, 11 insertions, 34 deletions
diff --git a/accel-pptpd/triton/triton_p.h b/accel-pptpd/triton/triton_p.h index fae4848..e10c7a8 100644 --- a/accel-pptpd/triton/triton_p.h +++ b/accel-pptpd/triton/triton_p.h @@ -4,39 +4,16 @@ #include "triton.h" #include "list.h" -#include <stdarg.h> - -#define MAX_ARGS 32 - -struct option_t -{ - struct list_head entry; - - char *name; - char *val; -}; - -struct timer_t -{ - struct list_head entry; - int del; - struct triton_timer_t *timer; -}; - -struct timer_single_shot_t -{ - struct list_head entry; - - struct timeval expire_tv; - int arg_cnt; - void *args; - triton_ss_func ss_func; -}; - -extern void md_run(); -extern void md_terminate(); -extern void timer_run(); -extern void timer_terminate(); -extern struct triton_ctx_t *default_ctx; +int log_init(void); +int md_init(); +void md_run(); +void md_terminate(); +int timer_init(); +void timer_run(); +void timer_terminate(); +struct triton_ctx_t *default_ctx; +int triton_queue_ctx(struct triton_ctx_t*); +void triton_thread_wakeup(struct triton_thread_t*); +int conf_load(const char *fname); #endif |