summaryrefslogtreecommitdiff
path: root/proto_bin.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2020-05-30 21:53:11 -0700
committerdormando <dormando@rydia.net>2020-07-02 15:37:57 -0700
commite1bb1db06081d61e16ee42c791da22003357427b (patch)
treee8354a1f5fb4b1126c76d0574531919af907e439 /proto_bin.h
parente190205e239b0338f1b539dcd2372bdcdd67d5b3 (diff)
downloadmemcached-e1bb1db06081d61e16ee42c791da22003357427b.tar.gz
main: split binary protocol into proto_bin.c
also some missed text bits.
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