MySQL 8.0.39
Source Code Documentation
s_mysql_mysql_audit_api_connection Struct Reference

A service to generate Audit API events of the connection class (MYSQL_AUDIT_CONNECTION_CLASS). More...

#include <audit_api_connection_service.h>

Public Attributes

int(* emit )(void *thd, mysql_event_connection_subclass_t type)
 Method that emits event of the MYSQL_AUDIT_CONNECTION_CLASS class and the specified type. More...
 

Detailed Description

A service to generate Audit API events of the connection class (MYSQL_AUDIT_CONNECTION_CLASS).

The emit method generates the event in the synchronous way, causing all subscribers to receive it.

See also
mysql_audit_api_connection_imp

Member Data Documentation

◆ emit

int(* s_mysql_mysql_audit_api_connection::emit) (void *thd, mysql_event_connection_subclass_t type)

Method that emits event of the MYSQL_AUDIT_CONNECTION_CLASS class and the specified type.

See also
mysql_event_connection_subclass_t
Parameters
thdSession THD that generates connection event.
typeConnection event type.
Returns
Plugin that receives Audit API event can return event processing value. The code that generates the event can take custom action based on the returned value. 0 value is returned if no action is required on the event generation side. `

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