MySQL 8.0 C API Developer Guide
The following list summarizes the functions available for reading a replication event stream from a binary log. For greater detail, see the descriptions in Chapter 21, C API Binary Log Function Descriptions.
mysql_binlog_close()
: Closes
the replication event stream.
mysql_binlog_fetch()
: Reads an
event from the replication event stream.
mysql_binlog_open()
: Opens the
replication event stream.