MySQL 8.0.39
Source Code Documentation
s_mysql_mysql_audit_api_message Struct Reference

#include <audit_api_message_service.h>

Public Attributes

mysql_service_status_t(* emit )(mysql_event_message_subclass_t type, const char *component, size_t component_length, const char *producer, size_t producer_length, const char *message, size_t message_length, mysql_event_message_key_value_t *key_value_map, size_t key_value_map_length)
 Method that emits Audit API message event. More...
 

Member Data Documentation

◆ emit

mysql_service_status_t(* s_mysql_mysql_audit_api_message::emit) (mysql_event_message_subclass_t type, const char *component, size_t component_length, const char *producer, size_t producer_length, const char *message, size_t message_length, mysql_event_message_key_value_t *key_value_map, size_t key_value_map_length)

Method that emits Audit API message event.

Parameters
typeMessage event type.
componentComponent name.
component_lengthComponent name length.
producerProducer name.
producer_lengthProducer name length.
messageMessage.
message_lengthMessage length.
key_value_mapKey-value map pointer. The function does not perform key values uniqueness.
key_value_map_lengthKey-value map length;
Returns
This method always generates false no matter, whether the message event is consumed by the audit plugin or not.

The documentation for this struct was generated from the following file: