26#ifndef MYSQLROUTER_PLUGIN_INFO_PLUGIN_FILE_INCLUDED
27#define MYSQLROUTER_PLUGIN_INFO_PLUGIN_FILE_INCLUDED
70 std::unique_ptr<Library_file_impl>
impl_;
Abstraction over the plugin library file, hides system specific dynamic library handling.
Definition: library_file.h:40
T * get_plugin_struct_internal(const std::string &symbol) const
Definition: library_file.cc:133
~Library_file()
Destructor.
Definition: library_file.cc:165
const std::string file_name_
Definition: library_file.h:76
uint32_t get_abi_version() const
Returns ABI version of the plugin represented by the object.
Definition: library_file.cc:110
std::unique_ptr< Library_file_impl > impl_
Definition: library_file.h:69
const std::string plugin_name_
Definition: library_file.h:75
Library_file(const std::string &file_name, const std::string &plugin_name)
Constructor.
Definition: library_file.cc:81
T * get_plugin_struct(const std::string &symbol) const
Returns version specific Plugin struct of the plugin.
Definition: library_file.cc:117
std::string file_name(Log_file_id file_id)
Provides name of the log file with the given file id, e.g.
Definition: log0pre_8_0_30.cc:94
LEX_CSTRING * plugin_name(st_plugin_int **ref)
Definition: sql_plugin_ref.h:95
Definition: library_file.cc:64