MySQL 9.6 C API Developer Guide
The following sections provide detailed descriptions of the functions that enable reading the stream of replication events from a MySQL server binary log.