2 #ifndef MEMCACHED_EXTENSION_H
3 #define MEMCACHED_EXTENSION_H
5 #include <memcached/types.h>
6 #include <memcached/server_api.h>
58 const char* (*get_name)(void);
75 } EXTENSION_LOG_LEVEL;
93 const char* (*get_name)(void);
102 void (*log)(EXTENSION_LOG_LEVEL severity,
103 const void* client_cookie,
104 const char *
fmt, ...);
109 EXTENSION_LOG_LEVEL (*get_level)(void);
110 void (*set_level)(EXTENSION_LOG_LEVEL severity);
133 const char* (*get_name)(
const void *cmd_cookie);
174 ENGINE_ERROR_CODE (*
execute)(
const void *cmd_cookie,
177 ENGINE_ERROR_CODE (*response_handler)(
const void *
cookie,