index 5dc2b1a8c5ce35105f7b57b972b3dd924bca3ab8..20cc6c2b4b321d34a436be54c2459fa46d9df94e 100644 (file)
sdb_connection_close(sdb_conn_t *conn);
/*
- * sdb_connection_read:
- * Read from an open connection until reading would block.
+ * sdb_connection_handle:
+ * Read from an open connection until reading would block and handle all
+ * incoming commands.
*
* Returns:
* - the number of bytes read (0 on EOF)
* - a negative value on error
*/
ssize_t
-sdb_connection_read(sdb_conn_t *conn);
+sdb_connection_handle(sdb_conn_t *conn);
/*
* sdb_connection_send: