summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/dispatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/dispatch.h')
-rw-r--r--crypto/openssh/dispatch.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/crypto/openssh/dispatch.h b/crypto/openssh/dispatch.h
index 0bee03b..a82e216 100644
--- a/crypto/openssh/dispatch.h
+++ b/crypto/openssh/dispatch.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.h,v 1.4 2001/01/29 01:58:15 niklas Exp $ */
+/* $OpenBSD: dispatch.h,v 1.9 2002/01/11 13:39:36 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -28,9 +28,11 @@ enum {
DISPATCH_NONBLOCK
};
-typedef void dispatch_fn(int type, int plen, void *ctxt);
+typedef void dispatch_fn(int, u_int32_t, void *);
-void dispatch_init(dispatch_fn *dflt);
-void dispatch_set(int type, dispatch_fn *fn);
-void dispatch_run(int mode, int *done, void *ctxt);
-void dispatch_protocol_error(int type, int plen, void *ctxt);
+void dispatch_init(dispatch_fn *);
+void dispatch_set(int, dispatch_fn *);
+void dispatch_range(u_int, u_int, dispatch_fn *);
+void dispatch_run(int, int *, void *);
+void dispatch_protocol_error(int, u_int32_t, void *);
+void dispatch_protocol_ignore(int, u_int32_t, void *);
OpenPOWER on IntegriCloud