24#ifndef EVENT_TRACKING_PARSE_CONSUMER_HELPER_H
25#define EVENT_TRACKING_PARSE_CONSUMER_HELPER_H
72#define PROVIDES_SERVICE_EVENT_TRACKING_PARSE(component) \
73 PROVIDES_SERVICE(component, event_tracking_parse)
75#define IMPLEMENTS_SERVICE_EVENT_TRACKING_PARSE(component) \
76 BEGIN_SERVICE_IMPLEMENTATION(component, event_tracking_parse) \
77 Event_tracking_implementation::Event_tracking_parse_implementation::notify \
78 END_SERVICE_IMPLEMENTATION()
101 if (!data)
return true;
Implementation helper class for parse events.
Definition: event_tracking_parse_consumer_helper.h:82
static mysql_service_status_t notify(mysql_event_tracking_parse_data *data) noexcept
event_tracking_parse service implementation
Definition: event_tracking_parse_consumer_helper.h:99
static bool callback(mysql_event_tracking_parse_data *data)
Callback function - To be implemented by component to handle an event.
static mysql_event_tracking_parse_subclass_t filtered_sub_events
Sub-events to be filtered/ignored - To be defined by the component.
Definition: event_tracking_parse_consumer_helper.h:85
Specifies macros to define Components.
unsigned long mysql_event_tracking_parse_subclass_t
Events for Parse event tracking.
Definition: event_tracking_parse_defs.h:47
Definition: event_tracking_authentication_consumer_helper.h:81
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
Structure for the Parse event tracking.
Definition: event_tracking_parse_defs.h:68
mysql_event_tracking_parse_subclass_t event_subclass
MYSQL_AUDIT_[PRE|POST]_PARSE event id.
Definition: event_tracking_parse_defs.h:73