MySQL 9.1.0
Source Code Documentation
config.cc File Reference
#include <memory>
#include "my_rapidjson_size_t.h"
#include <rapidjson/document.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <components/keyrings/keyring_file/keyring_file.h>
#include <components/keyrings/common/config/config_reader.h>
#include <include/mysql/components/component_implementation.h>

Namespaces

namespace  keyring_file
 
namespace  keyring_file::config
 

Functions

DLL_EXPORT int keyring_file_component_exported_symbol ()
 In order to locate a shared library, we need it to export at least one symbol. More...
 
bool keyring_file::config::find_and_read_config_file (std::unique_ptr< Config_pod > &config_pod, std::string &err)
 Read configuration file. More...
 
bool keyring_file::config::create_config (std::unique_ptr< std::vector< std::pair< std::string, std::string > > > &metadata)
 Create configuration vector. More...
 

Variables

char * keyring_file::config::g_component_path = nullptr
 
char * keyring_file::config::g_instance_path = nullptr
 
static const char * keyring_file::config::s_component_metadata [][2]
 
const std::string keyring_file::config::config_file_name = "component_keyring_file.cnf"
 
const std::string keyring_file::config::config_options [] = {"read_local_config", "path", "read_only"}
 

Function Documentation

◆ keyring_file_component_exported_symbol()

DLL_EXPORT int keyring_file_component_exported_symbol ( )

In order to locate a shared library, we need it to export at least one symbol.

This way dlsym/GetProcAddress will be able to find it.