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 mariadb\_rpl\_init

•

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 MARIADB\_RPL\_SEMI\_SYNC uint32\_t * Semi sync replication, 1= ON, 0= OFF. (This option was added in version 3.3.6).

## [Return value](#Return_value)

Returns zero on success, non zero on error.

## [See also](#See_also)

•

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

## [History](#History)

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

Version 3.4

---

Document: mariadb_rpl_get_optionsv(3) from mariadb-12.3 12.3.3-r2 (Chainguard OS)
Source: https://github.com/MariaDB/server.git
