index 4fd54baa1c5fa7ac99c3c0f46bbf2e2d8f8f2cd6..aeed8a253b58f310c4e3e55df13e38f4bfa0232b 100644 (file)
int
sdb_client_sockfd(sdb_client_t *client);
+/*
+ * sdb_client_shutdown:
+ * Shut down the client's send and/or receive operations.
+ * See shutdown(3) for details.
+ */
+int
+sdb_client_shutdown(sdb_client_t *client, int how);
+
/*
* sdb_client_close:
* Close the client connection.
* connection.
*
* Returns:
- * - 0 on success
+ * - the number of bytes send
* - a negative value else.
*/
ssize_t