diff options
Diffstat (limited to 'crypto/openssh/dispatch.h')
-rw-r--r-- | crypto/openssh/dispatch.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crypto/openssh/dispatch.h b/crypto/openssh/dispatch.h new file mode 100644 index 0000000..12084aa --- /dev/null +++ b/crypto/openssh/dispatch.h @@ -0,0 +1,11 @@ +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); |