int mysql_binlog_fetch(MYSQL *mysql, MYSQL_RPL
Fetch one event from the replication event stream.
mysql: The connection handler returned from
rpl: The replication stream structure. After a successful call, the
sizemember indicates the event size, which is 0 for an EOF event. For a non-EOF event,
sizeis greater than 0 and the
buffermember points to the event contents.