summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/dispatch.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-09-21 11:25:35 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-09-21 11:25:35 +0000
commit983310d4d8ab79c1555fe3e3f054f494ef15846f (patch)
treec09339a13d01586108fc09ee80132d8e05cc29b3 /usr.bin/ssh/dispatch.h
parent9cefe64b73c8f9724adb361fdaedcf8df293fc42 (diff)
add context to dispatch_run
Diffstat (limited to 'usr.bin/ssh/dispatch.h')
-rw-r--r--usr.bin/ssh/dispatch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/dispatch.h b/usr.bin/ssh/dispatch.h
index dc9d3dd4ecf..e60174c20da 100644
--- a/usr.bin/ssh/dispatch.h
+++ b/usr.bin/ssh/dispatch.h
@@ -26,9 +26,9 @@ enum {
DISPATCH_NONBLOCK
};
-typedef void dispatch_fn(int type, int plen);
+typedef void dispatch_fn(int type, int plen, void *ctxt);
void dispatch_init(dispatch_fn *dflt);
void dispatch_set(int type, dispatch_fn *fn);
-void dispatch_run(int mode, int *done);
-void dispatch_protocol_error(int type, int plen);
+void dispatch_run(int mode, int *done, void *ctxt);
+void dispatch_protocol_error(int type, int plen, void *ctxt);