mariadb\_rpl\_get\_optionsv(3) MariaDB Connector/C mariadb\_rpl\_get\_optionsv(3)

## [Name](#Name)

mariadb\_rpl\_get\_optionsv - get replication option value

## [Synopsis](#Synopsis)

```
#include <mariadb_rpl.h>
int mariadb_rpl_get_optionsv(MARIADB_RPL *rpl, enum mariadb_rpl_option option, ...)
    
```

## [Parameter](#Parameter)

•

rpl - a replication handle which was previously allocated by &lt;mariadb\_rpl\_init&gt;

•

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](#Return_value)

Returns zero on success, non zero on error.

## [See also](#See_also)

•

[**mariadb\_rpl\_optionsv(3)**](/man/os/mariadb-11.2/mariadb_rpl_optionsv.3)

## [History](#History)

mariadb\_rpl\_get\_optionsv was added in MariaDB Connector/C 3.1.0

Version 3.3.1

---

Document: mariadb_rpl_get_optionsv(3) from mariadb-11.2 11.2.5-r0 (Chainguard OS)
