Code

connection: Renamed sdb_connection_read to sdb_connection_handle.
[sysdb.git] / src / include / frontend / connection.h
index 5dc2b1a8c5ce35105f7b57b972b3dd924bca3ab8..20cc6c2b4b321d34a436be54c2459fa46d9df94e 100644 (file)
@@ -88,15 +88,16 @@ void
 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: