MySQL 9.0.0
Source Code Documentation
plugin_audit_connection_types.h
Go to the documentation of this file.
1/* Copyright (c) 2020, 2024, 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 designed to work 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 either included with
13the program or referenced in the documentation.
14
15Without limiting anything contained in the foregoing, this file,
16which is part of C Driver for MySQL (Connector/C), is also subject to the
17Universal FOSS Exception, version 1.0, a copy of which can be found at
18http://oss.oracle.com/licenses/universal-foss-exception.
19
20This program is distributed in the hope that it will be useful,
21but WITHOUT ANY WARRANTY; without even the implied warranty of
22MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23GNU General Public License, version 2.0, for more details.
24
25You should have received a copy of the GNU General Public License
26along with this program; if not, write to the Free Software
27Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
28
29#ifndef PLUGIN_AUDIT_CONNECTION_TYPES_H
30#define PLUGIN_AUDIT_CONNECTION_TYPES_H
31
32/**
33 @enum mysql_event_connection_subclass_t
34
35 Events for MYSQL_AUDIT_CONNECTION_CLASS event class.
36*/
37typedef enum {
38 /** occurs after authentication phase is completed. */
40 /** occurs after connection is terminated. */
42 /** occurs after COM_CHANGE_USER RPC is completed. */
44 /** occurs before authentication. */
47
48#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:37
@ MYSQL_AUDIT_CONNECTION_CONNECT
occurs after authentication phase is completed.
Definition: plugin_audit_connection_types.h:39
@ MYSQL_AUDIT_CONNECTION_CHANGE_USER
occurs after COM_CHANGE_USER RPC is completed.
Definition: plugin_audit_connection_types.h:43
@ MYSQL_AUDIT_CONNECTION_PRE_AUTHENTICATE
occurs before authentication.
Definition: plugin_audit_connection_types.h:45
@ MYSQL_AUDIT_CONNECTION_DISCONNECT
occurs after connection is terminated.
Definition: plugin_audit_connection_types.h:41