24#ifndef SERVICE_PFS_NOTIFICATION_H
25#define SERVICE_PFS_NOTIFICATION_H
struct PSI_thread PSI_thread
Definition: psi_thread_bits.h:82
static int handle(int sql_errno, const char *sqlstate, const char *message, void *state)
Bridge function between the C++ API offered by this module and the C API of the parser service.
Definition: services.cc:64
void pfs_notify_thread_create(PSI_thread *thread)
Invoke callbacks registered for create thread events.
Definition: service_pfs_notification.cc:340
void pfs_notify_thread_destroy(PSI_thread *thread)
Invoke callbacks registered for destroy thread events.
Definition: service_pfs_notification.cc:367
void pfs_notify_session_disconnect(PSI_thread *thread)
Invoke callbacks registered for session disconnect events.
Definition: service_pfs_notification.cc:430
int pfs_register_notification(const struct PSI_notification_v3 *callbacks, bool with_ref_count)
int pfs_unregister_notification(int handle)
Unregister callbacks for the Notification service.
Definition: service_pfs_notification.cc:330
void pfs_notify_session_change_user(PSI_thread *thread)
Invoke callbacks registered for session change user events.
Definition: service_pfs_notification.cc:468
void pfs_notify_session_connect(PSI_thread *thread)
Invoke callbacks registered for session connect events.
Definition: service_pfs_notification.cc:393
Registration structure for the pfs_notification service.
Definition: psi_thread_bits.h:523