summaryrefslogtreecommitdiff
path: root/proto_bin.h
diff options
context:
space:
mode:
Diffstat (limited to 'proto_bin.h')
-rw-r--r--proto_bin.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/proto_bin.h b/proto_bin.h
new file mode 100644
index 0000000..4f4e004
--- /dev/null
+++ b/proto_bin.h
@@ -0,0 +1,10 @@
+#ifndef PROTO_BIN_H
+#define PROTO_BIN_H
+
+/* binary protocol handlers */
+int try_read_command_binary(conn *c);
+void complete_nread_binary(conn *c);
+void write_bin_error(conn *c, protocol_binary_response_status err,
+ const char *errstr, int swallow);
+
+#endif