]> git.cworth.org Git - ttt/blobdiff - src/ttt-client.h
* TODO: checked off WHO, QUIT, ERROR SYNTAX
[ttt] / src / ttt-client.h
index ef74b87760d893acfaaf671dd6470a3b4c9baf2d..d4e33464a3658246c921e94fcf074b8744c4f673 100644 (file)
@@ -41,8 +41,16 @@ ttt_client_new (void *closure, int client_socket);
 void
 ttt_client_send (ttt_client_t *client, const char *message);
 
-/* Get a client's unique ID. */
+/* Get a client's name. */
+const char*
+ttt_client_get_name (ttt_client_t *client);
+
+/* Set a client's name. */
+void
+ttt_client_set_name (ttt_client_t *client, const char *name);
+
+/* Return the client's win count */
 int
-ttt_client_get_id (ttt_client_t *client);
+ttt_client_get_num_wins (ttt_client_t *client);
 
 #endif /* _TTT_CLIENT_H_ */