MySQL 9.3.0
Source Code Documentation
s_mysql_mysql_failed_attempts_tracker Struct Reference

Option tracker registration and deregistration services. More...

#include <connection_control_pfs.h>

Public Attributes

void(* define )(const char *userhost)
 Define an option. More...
 
mysql_service_status_t(* undefine )(const char *userhost)
 Undefine an option. More...
 

Detailed Description

Option tracker registration and deregistration services.

This is a service that will allow registering an option. Each option has a name. The name is UTF8mb4 and is unique in the list. Manipulating the option list is an "expesive" operation since there is a global lock involved.

Each code container (a component or a plugin) should register its options during its initialization and should unregister them during its deinitialization.

Member Data Documentation

◆ define

void(* s_mysql_mysql_failed_attempts_tracker::define) (const char *userhost)

Define an option.

Adds an option definition.

If another option of the same name exists, the definition fails

Parameters
optionThe name of the option, UTF8mb4. Must be unique.
containerThe container name. UTF8mb4 Please prefix with "plugin_" for plugins.
is_enablednon-0 if the option is marked as enabled, 0 otherwise
Return values
falsesuccess
truefailure

◆ undefine

mysql_service_status_t(* s_mysql_mysql_failed_attempts_tracker::undefine) (const char *userhost)

Undefine an option.

Fails if no option is defined with the same name

Parameters
optionThe name of the option, US ASCII
Return values
falsesuccess
truefailure

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