24#ifndef COMPONENT_SYSTEM_VAR_SERVICE_H 
   25#define COMPONENT_SYSTEM_VAR_SERVICE_H 
   54                            (
const char *component_name, 
const char *var_name,
 
   58                             void *check_arg, 
void *variable_value));
 
   74                            (
const char *component_name, 
const char *var_name,
 
   75                             void **val, 
size_t *out_length_of_val));
 
   87                            (
const char *component_name, 
const char *var_name));
 
An implementation of the configuration system variables Service to register variable and unregister v...
Definition: component_sys_var_service_imp.h:36
 
static mysql_service_status_t get_variable(const char *component_name, const char *var_name, void **val, size_t *out_length_of_val) noexcept
Get the component system variable value from the global structure.
Definition: component_sys_var_service.cc:527
 
static mysql_service_status_t unregister_variable(const char *component_name, const char *var_name) noexcept
Unregister's component system variable.
Definition: component_sys_var_service.cc:549
 
static mysql_service_status_t register_variable(const char *component_name, const char *var_name, int flags, const char *comment, mysql_sys_var_check_func check_func, mysql_sys_var_update_func update_func, void *check_arg, void *variable_value) noexcept
Register's component system variables.
Definition: component_sys_var_service.cc:123
 
int(* mysql_sys_var_check_func)(MYSQL_THD thd, SYS_VAR *var, void *save, struct st_mysql_value *value)
Signature for the check function.
Definition: component_sys_var_service.h:77
 
void(* mysql_sys_var_update_func)(MYSQL_THD thd, SYS_VAR *var, void *val_ptr, const void *save)
Signature for the update function.
Definition: component_sys_var_service.h:105
 
void mysql_comp_sys_var_services_init()
Definition: component_sys_var_service.cc:93
 
static int flags[50]
Definition: hp_test1.cc:40
 
#define comment
Definition: lexyy.cc:959
 
Specifies macros to define Service Implementations.
 
#define DEFINE_BOOL_METHOD(name, args)
A short macro to define method that returns bool, which is the most common case.
Definition: service_implementation.h:88