summaryrefslogtreecommitdiffstats
path: root/dispatch.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 13:24:13 +0100
committerDamien Miller <djm@mindrot.org>2002-01-22 13:24:13 +0100
commit7d05339c709efbf699e0dae499308428174a0da4 (patch)
tree22bbfa5480faa991511831b4c8aa5846267a27f4 /dispatch.h
parent - markus@cvs.openbsd.org 2002/01/11 13:36:43 (diff)
downloadopenssh-7d05339c709efbf699e0dae499308428174a0da4.tar.xz
openssh-7d05339c709efbf699e0dae499308428174a0da4.zip
- markus@cvs.openbsd.org 2002/01/11 13:39:36
[auth2.c dispatch.c dispatch.h kex.c] a single dispatch_protocol_error() that sends a message of type 'UNIMPLEMENTED' dispatch_range(): set handler for a ranges message types use dispatch_protocol_ignore() for authentication requests after successful authentication (the drafts requirement). serverloop/clientloop now send a 'UNIMPLEMENTED' message instead of exiting.
Diffstat (limited to 'dispatch.h')
-rw-r--r--dispatch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dispatch.h b/dispatch.h
index 78786b3ff..a82e2165b 100644
--- a/dispatch.h
+++ b/dispatch.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.h,v 1.8 2001/12/28 15:06:00 markus Exp $ */
+/* $OpenBSD: dispatch.h,v 1.9 2002/01/11 13:39:36 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -32,5 +32,7 @@ typedef void dispatch_fn(int, u_int32_t, void *);
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 *);