summaryrefslogtreecommitdiff
path: root/accel-pptpd/triton/triton_p.h
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-09-06 18:27:02 +0400
committerKozlov Dmitry <dima@server>2010-09-06 18:27:02 +0400
commit45243dd2f2be49cd91be1dc28932e6c9040db6a1 (patch)
tree652896ecd889d58d4a3c9d3232c85ff831b31699 /accel-pptpd/triton/triton_p.h
parentaf5a96e2d04056b065a36ecbd140a16d0685c7e6 (diff)
downloadaccel-ppp-45243dd2f2be49cd91be1dc28932e6c9040db6a1.tar.gz
accel-ppp-45243dd2f2be49cd91be1dc28932e6c9040db6a1.zip
working on radius module
Diffstat (limited to 'accel-pptpd/triton/triton_p.h')
-rw-r--r--accel-pptpd/triton/triton_p.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/accel-pptpd/triton/triton_p.h b/accel-pptpd/triton/triton_p.h
index 0f7e716..c31efd6 100644
--- a/accel-pptpd/triton/triton_p.h
+++ b/accel-pptpd/triton/triton_p.h
@@ -57,6 +57,11 @@ struct _triton_timer_t
struct triton_timer_t *ud;
};
+struct _triton_event_t
+{
+ struct list_head handlers;
+};
+
typedef void * mempool_t;
mempool_t *mempool_create(int size);
void *mempool_alloc(mempool_t*);
@@ -64,9 +69,11 @@ void mempool_free(void*);
int log_init(void);
int md_init();
+int timer_init();
+int event_init();
+
void md_run();
void md_terminate();
-int timer_init();
void timer_run();
void timer_terminate();
struct triton_ctx_t *default_ctx;