diff options
author | Damien Miller <djm@mindrot.org> | 2002-01-22 23:24:13 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-01-22 23:24:13 +1100 |
commit | 7d05339c709efbf699e0dae499308428174a0da4 (patch) | |
tree | 22bbfa5480faa991511831b4c8aa5846267a27f4 /dispatch.h | |
parent | 84b8ab3eeef42818e20d2b46627245fe450082ab (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.h | 4 |
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 @@ | |||
1 | /* $OpenBSD: dispatch.h,v 1.8 2001/12/28 15:06:00 markus Exp $ */ | 1 | /* $OpenBSD: dispatch.h,v 1.9 2002/01/11 13:39:36 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -32,5 +32,7 @@ typedef void dispatch_fn(int, u_int32_t, void *); | |||
32 | 32 | ||
33 | void dispatch_init(dispatch_fn *); | 33 | void dispatch_init(dispatch_fn *); |
34 | void dispatch_set(int, dispatch_fn *); | 34 | void dispatch_set(int, dispatch_fn *); |
35 | void dispatch_range(u_int, u_int, dispatch_fn *); | ||
35 | void dispatch_run(int, int *, void *); | 36 | void dispatch_run(int, int *, void *); |
36 | void dispatch_protocol_error(int, u_int32_t, void *); | 37 | void dispatch_protocol_error(int, u_int32_t, void *); |
38 | void dispatch_protocol_ignore(int, u_int32_t, void *); | ||