MySQL 9.1.0
Source Code Documentation
Collaboration diagram for TLS Channel Instrumentation (ABI):

Classes

class  TLS_channel_property
 TLS property. More...
 
struct  TLS_channel_property_iterator
 Property iterator callbacks. More...
 
struct  PSI_tls_channel_bootstrap
 Entry point for the performance schema interface. More...
 
struct  PSI_tls_channel_service_v1
 Performance schema TLS channel interface, version 1. More...
 

Macros

#define PSI_TLS_CHANNEL_VERSION_1   1
 Performance Schema TLS Channel Interface number for version 1. More...
 
#define PSI_CURRENT_TLS_CHANNEL_VERSION   1
 Performance Schema TLS Channel Interface number for the most recent version. More...
 

Typedefs

typedef struct property_iterator_imp * property_iterator
 Iterator object. More...
 
typedef bool(* init_tls_property_iterator_t) (property_iterator *iterator)
 Initialize TLS property iterator. More...
 
typedef void(* deinit_tls_property_iterator_t) (property_iterator iterator)
 De-initialize TLS property iterator. More...
 
typedef bool(* get_tls_property_t) (property_iterator iterator, TLS_channel_property *property)
 Get one TLS property information from current iterator position. More...
 
typedef bool(* next_tls_property_t) (property_iterator iterator)
 Move TLS Property iterator to next position. More...
 
typedef struct TLS_channel_property_iterator TLS_channel_property_iterator
 
typedef void(* register_tls_channel_v1_t) (TLS_channel_property_iterator *provider)
 TLS channel information registration API. More...
 
typedef void(* unregister_tls_channel_v1_t) (TLS_channel_property_iterator *provider)
 TLS channel information un registration API. More...
 
typedef struct PSI_tls_channel_bootstrap PSI_tls_channel_bootstrap
 
typedef struct PSI_tls_channel_service_v1 PSI_tls_channel_service_t
 

Variables

const size_t MAX_CHANNEL_NAME_SIZE = 64
 
const size_t MAX_PROPERTY_NAME_SIZE = 64
 
const size_t MAX_PROPERTY_VALUE_SIZE = 512
 
MYSQL_PLUGIN_IMPORT PSI_tls_channel_service_tpsi_tls_channel_service
 

Detailed Description

Macro Definition Documentation

◆ PSI_CURRENT_TLS_CHANNEL_VERSION

#define PSI_CURRENT_TLS_CHANNEL_VERSION   1

Performance Schema TLS Channel Interface number for the most recent version.

The most current version is PSI_TLS_CHANNEL_VERSION_1

◆ PSI_TLS_CHANNEL_VERSION_1

#define PSI_TLS_CHANNEL_VERSION_1   1

Performance Schema TLS Channel Interface number for version 1.

This version is supported.

Typedef Documentation

◆ deinit_tls_property_iterator_t

typedef void(* deinit_tls_property_iterator_t) (property_iterator iterator)

De-initialize TLS property iterator.

Parameters
[in]iteratorTLS Property iterator object

◆ get_tls_property_t

typedef bool(* get_tls_property_t) (property_iterator iterator, TLS_channel_property *property)

Get one TLS property information from current iterator position.

Parameters
[in]iteratorTLS Property iterator object
[out]propertyProperty details
Returns
status of fetch operation
Return values
trueSuccess
falseFailure

◆ init_tls_property_iterator_t

typedef bool(* init_tls_property_iterator_t) (property_iterator *iterator)

Initialize TLS property iterator.

Parameters
[out]iteratorTLS Property iterator object
Returns
Result of iterator creation
Return values
trueSuccess
falseFailure

◆ next_tls_property_t

typedef bool(* next_tls_property_t) (property_iterator iterator)

Move TLS Property iterator to next position.

Parameters
[in]iteratorTLS Property iterator object
Returns
Status of operation
Return values
trueSuccess
falseIterator reached at the end

◆ property_iterator

typedef struct property_iterator_imp* property_iterator

Iterator object.

◆ PSI_tls_channel_bootstrap

◆ PSI_tls_channel_service_t

◆ register_tls_channel_v1_t

typedef void(* register_tls_channel_v1_t) (TLS_channel_property_iterator *provider)

TLS channel information registration API.

◆ TLS_channel_property_iterator

◆ unregister_tls_channel_v1_t

typedef void(* unregister_tls_channel_v1_t) (TLS_channel_property_iterator *provider)

TLS channel information un registration API.

Variable Documentation

◆ MAX_CHANNEL_NAME_SIZE

const size_t MAX_CHANNEL_NAME_SIZE = 64

◆ MAX_PROPERTY_NAME_SIZE

const size_t MAX_PROPERTY_NAME_SIZE = 64

◆ MAX_PROPERTY_VALUE_SIZE

const size_t MAX_PROPERTY_VALUE_SIZE = 512

◆ psi_tls_channel_service

MYSQL_PLUGIN_IMPORT PSI_tls_channel_service_t* psi_tls_channel_service
extern