From c055d184a0c91aea1daf3bfcffeebd76d0029a4d Mon Sep 17 00:00:00 2001 From: yeoncheol-kim Date: Tue, 12 Mar 2024 17:08:54 +0900 Subject: [PATCH] CLEANUP: Detach ASCII/Binary protocols from memcached --- Makefile.am | 4 ++++ proto_ascii.c | 6 ++++++ proto_ascii.h | 5 +++++ proto_bin.c | 5 +++++ proto_bin.h | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 proto_ascii.c create mode 100644 proto_ascii.h create mode 100644 proto_bin.c create mode 100644 proto_bin.h diff --git a/Makefile.am b/Makefile.am index 474b62a8c..8d3293fad 100644 --- a/Makefile.am +++ b/Makefile.am @@ -78,6 +78,10 @@ memcached_SOURCES = \ hash.h \ memcached.c\ memcached.h \ + proto_ascii.c \ + proto_ascii.h \ + proto_bin.c \ + proto_bin.h \ sasl_defs.h \ stats.c stats.h \ thread.c \ diff --git a/proto_ascii.c b/proto_ascii.c new file mode 100644 index 000000000..7a97e940d --- /dev/null +++ b/proto_ascii.c @@ -0,0 +1,6 @@ +#include "memcached.h" +#include "proto_ascii.h" + +#ifndef PROTO_ASCII_H + +#endif diff --git a/proto_ascii.h b/proto_ascii.h new file mode 100644 index 000000000..a20ff9351 --- /dev/null +++ b/proto_ascii.h @@ -0,0 +1,5 @@ +#ifndef PROTO_ASCII_H +#define PROTO_ASCII_H + + +#endif diff --git a/proto_bin.c b/proto_bin.c new file mode 100644 index 000000000..244f4efa3 --- /dev/null +++ b/proto_bin.c @@ -0,0 +1,5 @@ +#include "memcached.h" +#include "proto_bin.h" +#ifndef PROTO_BIN_H + +#endif diff --git a/proto_bin.h b/proto_bin.h new file mode 100644 index 000000000..0edcb1a9a --- /dev/null +++ b/proto_bin.h @@ -0,0 +1,5 @@ +#ifndef PROTO_BIN_H +#define PROTO_BIN_H + + +#endif