MySQL 8.0.32
Source Code Documentation
plugin_audit_connection_types.h
Go to the documentation of this file.
1/* Copyright (c) 2020, 2022, Oracle and/or its affiliates.
2
3This program is free software; you can redistribute it and/or modify
4it under the terms of the GNU General Public License, version 2.0,
5as published by the Free Software Foundation.
6
7This program is also distributed with certain software (including
8but not limited to OpenSSL) that is licensed under separate terms,
9as designated in a particular file or component or in included license
10documentation. The authors of MySQL hereby grant you an additional
11permission to link the program and your derivative works with the
12separately licensed software that they have included with MySQL.
13
14Without limiting anything contained in the foregoing, this file,
15which is part of C Driver for MySQL (Connector/C), is also subject to the
16Universal FOSS Exception, version 1.0, a copy of which can be found at
17http://oss.oracle.com/licenses/universal-foss-exception.
18
19This program is distributed in the hope that it will be useful,
20but WITHOUT ANY WARRANTY; without even the implied warranty of
21MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22GNU General Public License, version 2.0, for more details.
23
24You should have received a copy of the GNU General Public License
25along with this program; if not, write to the Free Software
26Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
27
28#ifndef PLUGIN_AUDIT_CONNECTION_TYPES_H
29#define PLUGIN_AUDIT_CONNECTION_TYPES_H
30
31/**
32 @enum mysql_event_connection_subclass_t
33
34 Events for MYSQL_AUDIT_CONNECTION_CLASS event class.
35*/
36typedef enum {
37 /** occurs after authentication phase is completed. */
39 /** occurs after connection is terminated. */
41 /** occurs after COM_CHANGE_USER RPC is completed. */
43 /** occurs before authentication. */
46
47#endif /* PLUGIN_AUDIT_CONNECTION_TYPES_H */
mysql_event_connection_subclass_t
Events for MYSQL_AUDIT_CONNECTION_CLASS event class.
Definition: plugin_audit_connection_types.h:36
@ MYSQL_AUDIT_CONNECTION_CONNECT
occurs after authentication phase is completed.
Definition: plugin_audit_connection_types.h:38
@ MYSQL_AUDIT_CONNECTION_CHANGE_USER
occurs after COM_CHANGE_USER RPC is completed.
Definition: plugin_audit_connection_types.h:42
@ MYSQL_AUDIT_CONNECTION_PRE_AUTHENTICATE
occurs before authentication.
Definition: plugin_audit_connection_types.h:44
@ MYSQL_AUDIT_CONNECTION_DISCONNECT
occurs after connection is terminated.
Definition: plugin_audit_connection_types.h:40