summaryrefslogtreecommitdiff
path: root/other/openssh-reverse/dispatch.h
diff options
context:
space:
mode:
authorSkyperTHC2026-03-03 06:28:55 +0000
committerSkyperTHC2026-03-03 06:28:55 +0000
commit5d3573ef7a109ee70416fe94db098fe6a769a798 (patch)
treedc2d5b294c9db8ab2db7433511f94e1c4bb8b698 /other/openssh-reverse/dispatch.h
parentc6c59dc73cc4586357f93ab38ecf459e98675cc5 (diff)
packetstorm sync
Diffstat (limited to 'other/openssh-reverse/dispatch.h')
-rw-r--r--other/openssh-reverse/dispatch.h11
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 @@
1enum {
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);