MySQL 5.6.14 Source Code Document
|
Public Attributes | |
rel_time_t(* | get_current_time )(void) |
rel_time_t(* | realtime )(const time_t exptime) |
time_t(* | abstime )(const rel_time_t exptime) |
const char *(* | server_version )(void) |
uint32_t(* | hash )(const void *data, size_t size, uint32_t seed) |
int(* | parse_config )(const char *str, struct config_item items[], FILE *error) |
void(* | shutdown )(void) |
bool(* | get_config )(struct config_item items[]) |
Definition at line 13 of file server_api.h.
time_t(* SERVER_CORE_API::abstime)(const rel_time_t exptime) |
Get the absolute time for the given rel_time_t value.
Definition at line 27 of file server_api.h.
bool(* SERVER_CORE_API::get_config)(struct config_item items[]) |
Get the current configuration from the core.. See "stats settings" for a list of legal keywords
Definition at line 60 of file server_api.h.
rel_time_t(* SERVER_CORE_API::get_current_time)(void) |
The current time.
Definition at line 17 of file server_api.h.
uint32_t(* SERVER_CORE_API::hash)(const void *data, size_t size, uint32_t seed) |
Generate a simple hash value of a piece of data.
data | pointer to data to hash |
size | size of the data to generate the hash value of |
seed | an extra seed value for the hash function |
Definition at line 44 of file server_api.h.
int(* SERVER_CORE_API::parse_config)(const char *str, struct config_item items[], FILE *error) |
parser config options
Definition at line 49 of file server_api.h.
rel_time_t(* SERVER_CORE_API::realtime)(const time_t exptime) |
Get the relative time for the given time_t value.
Definition at line 22 of file server_api.h.
const char*(* SERVER_CORE_API::server_version)(void) |
Get the server's version number.
Definition at line 34 of file server_api.h.
void(* SERVER_CORE_API::shutdown)(void) |
Request the server to start a shutdown sequence.
Definition at line 54 of file server_api.h.