From e1bb1db06081d61e16ee42c791da22003357427b Mon Sep 17 00:00:00 2001 From: dormando Date: Sat, 30 May 2020 21:53:11 -0700 Subject: main: split binary protocol into proto_bin.c also some missed text bits. --- proto_bin.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 proto_bin.h (limited to 'proto_bin.h') 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 -- cgit v1.2.1