diff options
author | Kozlov Dmitry <dima@server> | 2010-09-23 19:43:39 +0400 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-09-23 19:43:39 +0400 |
commit | 8681ad6d60565ca2e399156bf721f67f8a8bdc92 (patch) | |
tree | e736428b3d5dcfe52f65d9234b8ebc4ba17259cf /accel-pptpd/triton/triton.h | |
parent | 82b0f0953159fc9ab8e387f5e6014dc377b14b38 (diff) | |
download | accel-ppp-8681ad6d60565ca2e399156bf721f67f8a8bdc92.tar.gz accel-ppp-8681ad6d60565ca2e399156bf721f67f8a8bdc92.zip |
various bug fixes
Diffstat (limited to 'accel-pptpd/triton/triton.h')
-rw-r--r-- | accel-pptpd/triton/triton.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/accel-pptpd/triton/triton.h b/accel-pptpd/triton/triton.h index 6f702759..6809df08 100644 --- a/accel-pptpd/triton/triton.h +++ b/accel-pptpd/triton/triton.h @@ -76,10 +76,15 @@ int triton_context_call(struct triton_context_t *, void (*func)(void *), void *a #define MD_MODE_READ 1 #define MD_MODE_WRITE 2 + +#define MD_TRIG_EDGE 0 +#define MD_TRIG_LEVEL 1 + void triton_md_register_handler(struct triton_context_t *, struct triton_md_handler_t *); void triton_md_unregister_handler(struct triton_md_handler_t *h); int triton_md_enable_handler(struct triton_md_handler_t *h, int mode); int triton_md_disable_handler(struct triton_md_handler_t *h,int mode); +void triton_md_set_trig(struct triton_md_handler_t *h, int mode); int triton_timer_add(struct triton_context_t *ctx, struct triton_timer_t*,int abs_time); int triton_timer_mod(struct triton_timer_t *,int abs_time); |