Refactor and add support for the ASCII protocol by wrapping the binary protocol
[awesomized/libmemcached] / libmemcached / protocol / ascii_handler.h
diff --git a/libmemcached/protocol/ascii_handler.h b/libmemcached/protocol/ascii_handler.h
new file mode 100644 (file)
index 0000000..e873792
--- /dev/null
@@ -0,0 +1,8 @@
+/* -*- Mode: C; tab-width: 2; c-basic-offset: 2; indent-tabs-mode: nil -*- */
+#ifndef LIBMEMCACHED_PROTOCOL_ASCII_HANDLER_H
+#define LIBMEMCACHED_PROTOCOL_ASCII_HANDLER_H
+
+LIBMEMCACHED_LOCAL
+enum MEMCACHED_PROTOCOL_EVENT memcached_ascii_protocol_process_data(struct memcached_protocol_client_st *client, ssize_t *length, void **endptr);
+
+#endif