Code

client: Added sdb_client_shutdown().
[sysdb.git] / src / include / client / sock.h
index bce3da91898a670a00eb532e630e2b0663462321..aeed8a253b58f310c4e3e55df13e38f4bfa0232b 100644 (file)
@@ -83,6 +83,14 @@ sdb_client_connect(sdb_client_t *client, const char *username);
 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.