summaryrefslogtreecommitdiff
path: root/dispatch.h
diff options
context:
space:
mode:
authormouring <mouring>2001-07-04 04:02:36 +0000
committermouring <mouring>2001-07-04 04:02:36 +0000
commit56cf9ce5941a5cd98d2241add6b5c5aad6101ef4 (patch)
treec06390ac1b63a95bac0d6d2d0222f18522c7fee5 /dispatch.h
parent0ad886153799550fa1e2c327dcab100a6be144a2 (diff)
downloadopenssh-56cf9ce5941a5cd98d2241add6b5c5aad6101ef4.tar.gz
- itojun@cvs.openbsd.org 2001/06/26 06:32:58
[atomicio.h authfd.h authfile.h auth.h auth-options.h bufaux.h buffer.h canohost.h channels.h cipher.h clientloop.h compat.h compress.h crc32.h deattack.h dh.h dispatch.h groupaccess.h hostfile.h kex.h key.h log.h mac.h match.h misc.h mpaux.h packet.h radix.h readconf.h readpass.h rsa.h] prototype pedant. not very creative... - () -> (void) - no variable names
Diffstat (limited to 'dispatch.h')
-rw-r--r--dispatch.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/dispatch.h b/dispatch.h
index 0bee03b2..f796705a 100644
--- a/dispatch.h
+++ b/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.5 2001/06/26 06:32:52 itojun Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -28,9 +28,9 @@ enum {
DISPATCH_NONBLOCK
};
-typedef void dispatch_fn(int type, int plen, void *ctxt);
+typedef void dispatch_fn(int, int, 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_run(int, int *, void *);
+void dispatch_protocol_error(int, int, void *);