]> git.cworth.org Git - ttt/blobdiff - src/ttt-server.h
2005-12-14 Carl Worth <cworth@cworth.org>
[ttt] / src / ttt-server.h
index 80f22bf25b0ffa9ce1884931e59524966fcc5a27..5575d105d1a0cba2d534ed7a4cd2de2d00274d35 100644 (file)
@@ -50,8 +50,8 @@ ttt_server_unregister_client (ttt_server_t *server, ttt_client_t *client);
 /* Send a message to all connected clients.
  *
  * Locking: The server mutex will be acquired and held throughout the
- * execution of this function. Each client mutex may also be acquired
- * and held by functions called during the execution of this function.
+ * execution of this function. Each client mutex will also be acquired
+ * for a portion of the execution of this function.
  *
  * Errors: If an error such as an IO error occurs, this function will
  * not return.
@@ -64,8 +64,7 @@ ttt_server_broadcast (ttt_server_t *server, const char *message);
  * function and will need to be free'd by the caller.
  *
  * Locking: The server mutex will be acquired and held throughout the
- * execution of this function. Each client mutex may also be acquired
- * and held by functions called during the execution of this function.
+ * execution of this function.
  *
  * Errors: If an error such as an IO error occurs, this function will
  * not return.
@@ -92,8 +91,7 @@ ttt_server_verify_username (ttt_server_t *server,
  * found. 
  *
  * Locking: The server mutex will be acquired and held throughout the
- * execution of this function. Each client mutex may also be acquired
- * and held by functions called during the execution of this function.
+ * execution of this function.
  *
  * Errors: If an error such as an IO error occurs, this function will
  * not return.
@@ -106,8 +104,7 @@ ttt_server_get_client_from_username (ttt_server_t *server,
 /* Adds an invitation
  * 
  * Locking: The server mutex will be acquired and held throughout the
- * execution of this function. Each client mutex may also be acquired
- * and held by functions called during the execution of this function.
+ * execution of this function.
  *
  * Errors: If an error such as an IO error occurs, this function will
  * not return.
@@ -123,8 +120,7 @@ ttt_server_add_invite (ttt_server_t *server,
  * found.
  * 
  * Locking: The server mutex will be acquired and held throughout the
- * execution of this function. Each client mutex may also be acquired
- * and held by functions called during the execution of this function.
+ * execution of this function.
  *
  * Errors: If an error such as an IO error occurs, this function will
  * not return.