summaryrefslogtreecommitdiffstats
path: root/libmariadb/man/mariadb_rpl_optionsv.3
diff options
context:
space:
mode:
Diffstat (limited to 'libmariadb/man/mariadb_rpl_optionsv.3')
-rw-r--r--libmariadb/man/mariadb_rpl_optionsv.375
1 files changed, 75 insertions, 0 deletions
diff --git a/libmariadb/man/mariadb_rpl_optionsv.3 b/libmariadb/man/mariadb_rpl_optionsv.3
new file mode 100644
index 00000000..ac231a7a
--- /dev/null
+++ b/libmariadb/man/mariadb_rpl_optionsv.3
@@ -0,0 +1,75 @@
+.\"t
+.\" Automatically generated by Pandoc 2.5
+.\"
+.TH "mariadb_rpl_optionsv" "3" "" "Version 3.3.1" "MariaDB Connector/C"
+.hy
+.SS Name
+.PP
+mariadb_rpl_optionsv \- sets replication options
+.SS Synopsis
+.IP
+.nf
+\f[C]
+#include <mariadb_rpl.h>
+
+int mariadb_rpl_optionsv(MARIADB_RPL *rpl, enum mariadb_rpl_option option, ...)
+\f[R]
+.fi
+.SS Parameter
+.IP \[bu] 2
+\f[C]rpl\f[R] \- a replication handle which was previously allocated by
+<mariadb_rpl_init>
+.IP \[bu] 2
+\f[C]option\f[R] \- The option to be set, followed by one or more values
+.PP
+.TS
+tab(@);
+l l l.
+T{
+Option
+T}@T{
+Type
+T}@T{
+Description
+T}
+_
+T{
+MARIADB_RPL_FILENAME
+T}@T{
+char *
+T}@T{
+The name of binglog file
+T}
+T{
+MARIADB_RPL_START
+T}@T{
+unsigned long
+T}@T{
+Start position
+T}
+T{
+MARIADB_RPL_SERVER_ID
+T}@T{
+uint32_t
+T}@T{
+Server id
+T}
+T{
+MARIADB_RPL_FLAGS
+T}@T{
+uint32_t
+T}@T{
+Flags
+T}
+.TE
+.SS Return value
+.PP
+Returns zero on success, non zero on error.
+.SS See also
+.IP \[bu] 2
+\f[B]mariadb_rpl_get_optionsv(3)\f[R]
+.IP \[bu] 2
+\f[B]mariadb_rpl_open(3)\f[R]
+.SS History
+.PP
+\f[C]mariadb_rpl_optionsv\f[R] was added in MariaDB Connector/C 3.1.0