MySQL 9.3 C API Developer Guide
int mysql_binlog_open(MYSQL *mysql, MYSQL_RPL *rpl)
Open a new replication event stream, to read a MySQL server binary log.
Arguments:
mysql
: The connection handler returned
from mysql_init()
.
rpl
: A MYSQL_RPL
structure that has been initialized to indicate the
replication event stream source. For a description of the
structure members and how to initialize them, see
Section 10.2, “C API Binary Log Data Structures”.
The specified binary log file name was too long.
Out of memory.