MySQL 8.0.39
Source Code Documentation
s_mysql_dynamic_loader_scheme Struct Reference

Service for providing Components from a specified scheme of URN. More...

#include <dynamic_loader.h>

Public Attributes

mysql_service_status_t(* load )(const char *urn, mysql_component_t **out_data)
 Loads all Components that are located under the URN specified. More...
 
mysql_service_status_t(* unload )(const char *urn)
 Unloads all Components that were previously loaded. More...
 

Detailed Description

Service for providing Components from a specified scheme of URN.

All scheme loading Services are the same although they have separate names (aliased to the main type) to allow a single component implement several scheme loaders, to not break the recommendation to keep implementation names the same as the component name, and to be able to create wrappers and other solutions that require to have multiple implementations of a single type.

Member Data Documentation

◆ load

mysql_service_status_t(* s_mysql_dynamic_loader_scheme::load) (const char *urn, mysql_component_t **out_data)

Loads all Components that are located under the URN specified.

Parameters
urnURN to location of the component to load from.
[out]out_dataPointer to pointer to MySQL component data structures to set result components data retrieved from specified file.
Returns
Status of performed operation
Return values
falsesuccess
truefailure

◆ unload

mysql_service_status_t(* s_mysql_dynamic_loader_scheme::unload) (const char *urn)

Unloads all Components that were previously loaded.

Parameters
urnURN to location to unload all components from.
Returns
Status of performed operation
Return values
falsesuccess
truefailure

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