blob: 12084aafe07a8e7071be610a3196758c52aee109 [file] [log] [blame]
Damien Millerb38eff82000-04-01 11:09:21 +10001enum {
2 DISPATCH_BLOCK,
3 DISPATCH_NONBLOCK
4};
5
6typedef void dispatch_fn(int type, int plen);
7
8void dispatch_init(dispatch_fn *dflt);
9void dispatch_set(int type, dispatch_fn *fn);
10void dispatch_run(int mode, int *done);
11void dispatch_protocol_error(int type, int plen);