[BACK]Return to dispatch.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

File: [local] / src / usr.bin / ssh / dispatch.h (download)

Revision 1.1, Tue Mar 28 20:40:48 2000 UTC (24 years, 2 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE
Branch point for: OPENBSD_2_7

function tables for different message types

enum {
	DISPATCH_BLOCK,
	DISPATCH_NONBLOCK
};

typedef void dispatch_fn(int type, int plen);

void	dispatch_init(dispatch_fn *dflt);
void	dispatch_set(int type, dispatch_fn *fn);
void	dispatch_run(int mode, int *done);
void	dispatch_protocol_error(int type, int plen);