diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-09-22 22:53:59 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-09-22 22:53:59 +0400 |
commit | 3e61cb3f8d58f64c8023e95bf74341e6bc61560e (patch) | |
tree | d73a44bf63044e35e8c3b1088598fc29e95a30b9 /accel-pptpd/triton/triton.h | |
parent | b96fbc3f966b012720d2b74b1dfd2a0ab95086cf (diff) | |
download | accel-ppp-xebd-3e61cb3f8d58f64c8023e95bf74341e6bc61560e.tar.gz accel-ppp-xebd-3e61cb3f8d58f64c8023e95bf74341e6bc61560e.zip |
log: log_file rewrited to use aio
log: simplified engine
various bug fixes
Diffstat (limited to 'accel-pptpd/triton/triton.h')
-rw-r--r-- | accel-pptpd/triton/triton.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/accel-pptpd/triton/triton.h b/accel-pptpd/triton/triton.h index c3c9d2a..6f70275 100644 --- a/accel-pptpd/triton/triton.h +++ b/accel-pptpd/triton/triton.h @@ -8,7 +8,9 @@ struct triton_context_t { - const void *tpd; // triton private data, don't touch! + const void *tpd; // triton private data, don't touch + const char *fname; + int line; void (*close)(struct triton_context_t*); void (*free)(struct triton_context_t*); void (*before_switch)(struct triton_context_t *ctx, void *arg); @@ -69,7 +71,7 @@ extern struct triton_stat_t triton_stat; int triton_context_register(struct triton_context_t *, void *arg); void triton_context_unregister(struct triton_context_t *); void triton_context_schedule(struct triton_context_t *); -void triton_context_wakeup(struct triton_context_t *); +int triton_context_wakeup(struct triton_context_t *); int triton_context_call(struct triton_context_t *, void (*func)(void *), void *arg); #define MD_MODE_READ 1 |