=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/dispatch.h,v retrieving revision 1.3.2.6 retrieving revision 1.4 diff -u -r1.3.2.6 -r1.4 --- src/usr.bin/ssh/dispatch.h 2002/03/08 17:04:42 1.3.2.6 +++ src/usr.bin/ssh/dispatch.h 2001/01/29 01:58:15 1.4 @@ -1,4 +1,4 @@ -/* $OpenBSD: dispatch.h,v 1.3.2.6 2002/03/08 17:04:42 brad Exp $ */ +/* $OpenBSD: dispatch.h,v 1.4 2001/01/29 01:58:15 niklas Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. @@ -28,11 +28,9 @@ DISPATCH_NONBLOCK }; -typedef void dispatch_fn(int, u_int32_t, void *); +typedef void dispatch_fn(int type, int plen, void *ctxt); -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 *); +void dispatch_init(dispatch_fn *dflt); +void dispatch_set(int type, dispatch_fn *fn); +void dispatch_run(int mode, int *done, void *ctxt); +void dispatch_protocol_error(int type, int plen, void *ctxt);