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
@@ -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 *); |