 |
MySQL
8.0.23
Source Code Documentation
|
Go to the documentation of this file.
2 #ifndef ENGINE_LOADER_H
3 #define ENGINE_LOADER_H
5 #include <memcached/extension.h>
6 #include <memcached/engine.h>
7 #include <memcached/visibility.h>
12 MEMCACHED_PUBLIC_API
bool load_engine(
const char *soname,
14 EXTENSION_LOGGER_DESCRIPTOR *
logger,
15 ENGINE_HANDLE **engine_handle);
18 const char *config_str,
19 EXTENSION_LOGGER_DESCRIPTOR *
logger);
22 EXTENSION_LOGGER_DESCRIPTOR *
logger);
MEMCACHED_PUBLIC_API bool init_engine(ENGINE_HANDLE *engine, const char *config_str, EXTENSION_LOGGER_DESCRIPTOR *logger)
Definition: engine_loader.c:66
static SERVER_HANDLE_V1 * get_server_api(void)
Callback the engines may call to get the public server interface.
Definition: memcached.c:6871
static Logger logger
The "top-level" logger used when no connection context is given.
Definition: test_trace_plugin.cc:293
MEMCACHED_PUBLIC_API void log_engine_details(ENGINE_HANDLE *engine, EXTENSION_LOGGER_DESCRIPTOR *logger)
Definition: engine_loader.c:114
MEMCACHED_PUBLIC_API bool load_engine(const char *soname, SERVER_HANDLE_V1 *(*get_server_api)(void), EXTENSION_LOGGER_DESCRIPTOR *logger, ENGINE_HANDLE **engine_handle)
Definition: engine_loader.c:21
ENGINE_HANDLE * engine
Definition: mock_server.c:28