MySQL 8.4.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
 

Macros

#define RAPIDJSON_HAS_STDSTRING   1
 

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"}
 

Macro Definition Documentation

◆ RAPIDJSON_HAS_STDSTRING

#define RAPIDJSON_HAS_STDSTRING   1

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.