MySQL 5.6.14 Source Code Document
|
#include <extension.h>
Public Attributes | |
bool(* | register_extension )(extension_type_t type, void *extension) |
void(* | unregister_extension )(extension_type_t type, void *extension) |
void *(* | get_extension )(extension_type_t type) |
The API provided by the server to manipulate the list of server server extensions.
Definition at line 223 of file extension.h.
void*(* SERVER_EXTENSION_API::get_extension)(extension_type_t type) |
Get the registered extension for a certain type. This is useful if you would like to replace one of the handlers with your own extension to proxy functionality.
type | The type of extension to get |
extension | Pointer to the registered event. Please note that if the extension allows for multiple instances of the extension there will be a "next" pointer inside the element that can be used for object traversal. |
Definition at line 252 of file extension.h.
bool(* SERVER_EXTENSION_API::register_extension)(extension_type_t type, void *extension) |
Register an extension
type | The type of extension to register (ex: daemon, logger etc) |
extension | The extension to register |
Definition at line 231 of file extension.h.
void(* SERVER_EXTENSION_API::unregister_extension)(extension_type_t type, void *extension) |
Unregister an extension
type | The type of extension to unregister |
extension | The extension to unregister |
Definition at line 239 of file extension.h.