30#ifndef LOG_BUILTINS_DATA_H
31#define LOG_BUILTINS_DATA_H
90#define LOG_ITEM_MAX 64
struct my_h_service_imp * my_h_service
A handle type for acquired Service.
Definition: registry.h:33
void log_builtins_error_stack_wrlock()
Acquire an exclusive lock on the error logger core.
Definition: log_builtins.cc:2149
bool log_line_error_stack_run(log_line *ll)
MySQL server's default log-processor.
Definition: log_builtins.cc:1025
struct _log_item_iter log_item_iter
Iterator over the key/value pairs of a log_line.
void log_builtins_error_stack_unlock()
Release a lock on the error logger core.
Definition: log_builtins.cc:2156
log_filter_ruleset * log_filter_builtin_rules
Definition: log_builtins_filter.cc:100
log_service_instance * log_service_instances
anchor
Definition: log_builtins.cc:196
log_service_error make_log_path(char *result, const char *name_or_ext)
Create a log-file name (path + name + extension).
Definition: log_builtins.cc:2940
#define LOG_ITEM_MAX
Maximum number of key/value pairs in a log event.
Definition: log_builtins_internal.h:90
ulonglong log_builtins_started()
When the logger-core was initialized.
Definition: log_builtins.cc:174
struct _log_line log_line
log_line ("log event")
log_service_instance * log_sink_pfs_source
log-reader
Definition: log_builtins.cc:202
struct _log_service_instance log_service_instance
State of a given instance of a service.
enum enum_log_service_error log_service_error
Error codes.
uint64 log_item_type_mask
a bit mask of log_types.
Definition: log_shared.h:216
unsigned long long int ulonglong
Definition: my_inttypes.h:56
Definition: log_builtins_filter.h:169
Iterator over the key/value pairs of a log_line.
Definition: keyring_log_builtins_definition.cc:64
int index
index of current key/value pair
Definition: keyring_log_builtins_definition.cc:66
struct _log_line * ll
log_line this is the iter for
Definition: keyring_log_builtins_definition.cc:65
Definition: log_shared.h:196
log_line ("log event")
Definition: keyring_log_builtins_definition.cc:72
int count
number of key/value pairs ("log items")
Definition: keyring_log_builtins_definition.cc:76
log_item_iter iter
iterator over key/value pairs
Definition: keyring_log_builtins_definition.cc:74
log_item_type_mask seen
bit field flagging item-types contained
Definition: keyring_log_builtins_definition.cc:73
log_item item[LOG_ITEM_MAX]
log items
Definition: keyring_log_builtins_definition.cc:77
log_item output_buffer
buffer a service can return its output in
Definition: keyring_log_builtins_definition.cc:75
State of a given instance of a service.
Definition: log_builtins_internal.h:77
struct _log_service_instance * next
next instance (any service)
Definition: log_builtins_internal.h:80
log_service_cache_entry * sce
the service in question
Definition: log_builtins_internal.h:78
void * instance
instance handle (multi-open)
Definition: log_builtins_internal.h:79
Finding and acquiring a service in the component framework is expensive, and we may use services a lo...
Definition: log_builtins_internal.h:63
int chistics
multi-open supported, etc.
Definition: log_builtins_internal.h:70
size_t name_len
service-name's length
Definition: log_builtins_internal.h:65
my_h_service service
handle (service framework)
Definition: log_builtins_internal.h:67
int opened
currently open instances
Definition: log_builtins_internal.h:68
char * urn
URN of loaded if implicitly loaded, or NULL.
Definition: log_builtins_internal.h:66
int requested
requested instances
Definition: log_builtins_internal.h:69
char * name
name of this service
Definition: log_builtins_internal.h:64