# Binlog/Replication API Reference

* [mariadb_rpl_close](mariadb_rpl_close) - closes a replication stream
* [mariadb_rpl_fetch](mariadb_rpl_fetch) - fetches an event from stream
* [mariadb_free_rpl_event](mariadb_free_rpl_event) - frees event
* [mariadb_rpl_get_optionsv](mariadb_rpl_get_optionsv) - gets replication options
* [mariadb_rpl_init](mariadb_rpl_init) - Allocates and initializes a replication handle
* [mariadb_rpl_open](mariadb_rpl_open) - Opens a new replication stream
* [mariadb_rpl_optionsv](mariadb_rpl_optionsv) - Sets replication options
* [mariadb_rpl_error](mariadb_rpl_error) - Returns last error message
* [mariadb_rpl_errno](mariadb_rpl_errno) - Returns last error number
* [mariadb_rpl_extract_rows](mariadb_rpl_extract_rows) - Extract a list of rows from row event