1mariadb_rpl_get_optionsv(3)   MariaDB Connector/C  mariadb_rpl_get_optionsv(3)
2
3
4
5   Name
6       mariadb_rpl_get_optionsv - get replication option value
7
8   Synopsis
9              #include <mariadb_rpl.h>
10
11              int mariadb_rpl_get_optionsv(MARIADB_RPL *rpl, enum mariadb_rpl_option option, ...)
12
13   Parameter
14       • rpl  -  a replication handle which was previously allocated by <mari‐
15         adb_rpl_init>
16
17       • option - The option to be set, followed by one or more values
18
19       Option                    Type                       Description
20       ─────────────────────────────────────────────────────────────────────────────
21       MARIADB_RPL_FILENAME      char **, size_t *          The   name   and   name
22                                                            length of binglog file
23       MARIADB_RPL_START         unsigned long *            Start position
24       MARIADB_RPL_SERVER_ID     uint32_t *                 Server id
25       MARIADB_RPL_FLAGS         uint32_t *                 Flags
26
27   Return value
28       Returns zero on success, non zero on error.
29
30   See also
31mariadb_rpl_optionsv(3)
32
33   History
34       mariadb_rpl_get_optionsv was added in MariaDB Connector/C 3.1.0
35
36
37
38Version 3.3.1                                      mariadb_rpl_get_optionsv(3)
Impressum