26#ifndef OPTIONS_INCLUDED
27#define OPTIONS_INCLUDED
bool ok()
Definition: options.h:98
bool ok_
Definition: options.h:101
~Mysql_connection()
Definition: options.cc:357
bool execute(std::string command)
Definition: options.cc:367
Mysql_connection(bool connect)
Definition: options.cc:300
MYSQL * mysql
Definition: options.h:102
Command line options container.
Definition: options.h:37
static char * s_source_keyring_configuration_dir
Source Keyring configuration path - If it is not in component dir.
Definition: options.h:48
static unsigned int s_port
Port.
Definition: options.h:63
static char * s_destination_keyring_configuration_dir
Destination Keyring configuration path - If it is not in component dir.
Definition: options.h:52
static char * s_destination_keyring
Destination keyring - Must be a component.
Definition: options.h:50
static char * s_username
User name.
Definition: options.h:67
static bool s_online_migration
Flag for online migration.
Definition: options.h:59
static char * s_socket
Socket.
Definition: options.h:65
static char * s_password
Password.
Definition: options.h:69
static bool s_help
Help.
Definition: options.h:40
static bool s_tty_password
Password to be fetched.
Definition: options.h:71
static bool s_verbose
Be loud.
Definition: options.h:42
static char * s_source_keyring
Source keyring - Component or plugin.
Definition: options.h:46
static char * s_component_dir
Component directory location.
Definition: options.h:44
static char * s_hostname
Hostname.
Definition: options.h:61
stdx::expected< void, error_type > connect(native_handle_type native_handle, const struct sockaddr *addr, size_t addr_len)
wrap connect() in a portable way.
Definition: socket.h:353
Definition: options.cc:57
bool process_options(int *argc, char ***argv, int &exit_code)
Process command line options.
Definition: options.cc:265
void deinit_connection_basic()
Deinitialize MYSQL connection structures.
Definition: options.cc:289
void init_connection_basic()
Initialize MYSQL connection structures.
Definition: options.cc:288
command
Definition: version_token.cc:280