int mysql_binlog_open(MYSQL *mysql, MYSQL_RPL
Open a new replication event stream, to read a MySQL server binary log.
mysql: The connection handler returned from
MYSQL_RPLstructure 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 28.7.18, “C API Binary Log Data Structures”.