diff options
Diffstat (limited to 'dispatch.h')
-rw-r--r-- | dispatch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dispatch.h b/dispatch.h index dc9d3dd4e..e60174c20 100644 --- a/dispatch.h +++ b/dispatch.h | |||
@@ -26,9 +26,9 @@ enum { | |||
26 | DISPATCH_NONBLOCK | 26 | DISPATCH_NONBLOCK |
27 | }; | 27 | }; |
28 | 28 | ||
29 | typedef void dispatch_fn(int type, int plen); | 29 | typedef void dispatch_fn(int type, int plen, void *ctxt); |
30 | 30 | ||
31 | void dispatch_init(dispatch_fn *dflt); | 31 | void dispatch_init(dispatch_fn *dflt); |
32 | void dispatch_set(int type, dispatch_fn *fn); | 32 | void dispatch_set(int type, dispatch_fn *fn); |
33 | void dispatch_run(int mode, int *done); | 33 | void dispatch_run(int mode, int *done, void *ctxt); |
34 | void dispatch_protocol_error(int type, int plen); | 34 | void dispatch_protocol_error(int type, int plen, void *ctxt); |