MySQL 8.4 C API Developer Guide
void
mysql_binlog_close(MYSQL *mysql,
MYSQL_RPL *rpl)
Close a replication event stream.
Arguments:
mysql: The connection handler returned
from mysql_init(). The
handler remains open after the
mysql_binlog_close() call.
rpl: The replication stream structure.
After calling
mysql_binlog_close(), this
structure should not be used further without
reinitializing it and calling
mysql_binlog_open() again.