diff options
author | dormando <dormando@rydia.net> | 2020-05-30 21:53:11 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-07-02 15:37:57 -0700 |
commit | e1bb1db06081d61e16ee42c791da22003357427b (patch) | |
tree | e8354a1f5fb4b1126c76d0574531919af907e439 /proto_bin.h | |
parent | e190205e239b0338f1b539dcd2372bdcdd67d5b3 (diff) | |
download | memcached-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.h | 10 |
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 |