FreeBSD manual
download PDF document: mariadb_rpl_get_optionsv.3.pdf
mariadb_rpl_get_optionsv(3) MariaDB Connector/C mariadb_rpl_get_optionsv(3)
Name
mariadb_rpl_get_optionsv - get replication option value
Synopsis
#include <mariadb_rpl.h>
int mariadb_rpl_get_optionsv(MARIADB_RPL *rpl, enum mariadb_rpl_option option, ...)
Parameter
o rpl - a replication handle which was previously allocated by
<mariadb_rpl_init>
o option - The option to be set, followed by one or more values
Option Type Description
----------------------------------------------------------------------------
MARIADB_RPL_FILENAME char **, size_t * The name and name
length of binglog file
MARIADB_RPL_START unsigned long * Start position
MARIADB_RPL_SERVER_ID uint32_t * Server id
MARIADB_RPL_FLAGS uint32_t * Flags
Return value
Returns zero on success, non zero on error.
See also
o mariadb_rpl_optionsv(3)
History
mariadb_rpl_get_optionsv was added in MariaDB Connector/C 3.1.0
Version 3.3.1 mariadb_rpl_get_optionsv(3)