summaryrefslogtreecommitdiff
path: root/accel-pptpd/triton/triton.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/triton/triton.h')
-rw-r--r--accel-pptpd/triton/triton.h6
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