diff options
Diffstat (limited to 'other/openssh-reverse/dispatch.h')
| -rw-r--r-- | other/openssh-reverse/dispatch.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/other/openssh-reverse/dispatch.h b/other/openssh-reverse/dispatch.h new file mode 100644 index 0000000..12084aa --- /dev/null +++ b/other/openssh-reverse/dispatch.h | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | enum { | ||
| 2 | DISPATCH_BLOCK, | ||
| 3 | DISPATCH_NONBLOCK | ||
| 4 | }; | ||
| 5 | |||
| 6 | typedef void dispatch_fn(int type, int plen); | ||
| 7 | |||
| 8 | void dispatch_init(dispatch_fn *dflt); | ||
| 9 | void dispatch_set(int type, dispatch_fn *fn); | ||
| 10 | void dispatch_run(int mode, int *done); | ||
| 11 | void dispatch_protocol_error(int type, int plen); | ||
