summaryrefslogtreecommitdiffstats
path: root/dispatch.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:24:13 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:24:13 +1100
commit7d05339c709efbf699e0dae499308428174a0da4 (patch)
tree22bbfa5480faa991511831b4c8aa5846267a27f4 /dispatch.h
parent84b8ab3eeef42818e20d2b46627245fe450082ab (diff)
- 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 78786b3f..a82e2165 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 *);