X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/188adeb23a3cbd4165c39be879a95161f7e16807..c6f1f67c6baeb6d5b35250a90e3e2855ff464278:/dispatch.h diff --git a/dispatch.h b/dispatch.h index e60174c2..a82e2165 100644 --- a/dispatch.h +++ b/dispatch.h @@ -1,3 +1,5 @@ +/* $OpenBSD: dispatch.h,v 1.9 2002/01/11 13:39:36 markus Exp $ */ + /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -26,9 +28,11 @@ enum { DISPATCH_NONBLOCK }; -typedef void dispatch_fn(int type, int plen, void *ctxt); +typedef void dispatch_fn(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); +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 *);