MySQL 9.4 C API Developer Guide / ... / C API Binary Log Interface / C API Binary Log Function Descriptions / mysql_binlog_open()
intmysql_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 frommysql_init().rpl: AMYSQL_RPLstructure that has been initialized to indicate the replication event stream source. For a description of the structure members and how to initialize them, seeSection 10.2, “C API Binary Log Data Structures”.
The specified binary log file name was too long.
Out of memory.