summaryrefslogtreecommitdiff
path: root/dispatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'dispatch.h')
-rw-r--r--dispatch.h6
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
29typedef void dispatch_fn(int type, int plen); 29typedef void dispatch_fn(int type, int plen, void *ctxt);
30 30
31void dispatch_init(dispatch_fn *dflt); 31void dispatch_init(dispatch_fn *dflt);
32void dispatch_set(int type, dispatch_fn *fn); 32void dispatch_set(int type, dispatch_fn *fn);
33void dispatch_run(int mode, int *done); 33void dispatch_run(int mode, int *done, void *ctxt);
34void dispatch_protocol_error(int type, int plen); 34void dispatch_protocol_error(int type, int plen, void *ctxt);