diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2002-01-11 13:39:37 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2002-01-11 13:39:37 +0000 |
commit | 6087b04e6b9685d9717a9e589c2e63342727bda1 (patch) | |
tree | c2106905e0d8ea5bda68034ff3241535e8155c31 /usr.bin/ssh/dispatch.h | |
parent | af5f0a42ad00a8c1e441aad6d668259f3f7b4fc3 (diff) |
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 'usr.bin/ssh/dispatch.h')
-rw-r--r-- | usr.bin/ssh/dispatch.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/dispatch.h b/usr.bin/ssh/dispatch.h index 78786b3ffc8..a82e2165b35 100644 --- a/usr.bin/ssh/dispatch.h +++ b/usr.bin/ssh/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 *); |