From: Richard Worth Date: Sat, 3 Dec 2005 05:36:42 +0000 (+0000) Subject: 2005-12-03 Richard D. Worth X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=47ff725ff3b109b94a23ea7c8c07c8b1417e31ef;hp=47ff725ff3b109b94a23ea7c8c07c8b1417e31ef;p=ttt 2005-12-03 Richard D. Worth * PROTOCOL: Add underscores to error codes. Add STATISTICS command. Remove statistics from WHO. * TODO: Add STATISTICS. Check off STATISTICS. * src/ttt.h: Define TTT_SERVER_PROTOCOL_VERSION for VERSION. * src/ttt-error.c: (ttt_error_string): Add underscores to error codes. * src/ttt-client.h: * src/ttt-client.c: (_ttt_client_execute_helo), (_ttt_client_execute_statistics), (_ttt_client_execute_message), (_ttt_client_execute_version), (_ttt_client_execute_quit), (_ttt_client_init), (_ttt_client_fini), (ttt_client_get_username), (ttt_client_set_username): Rename client->name to client->username. Implement STATISTICS. Complete implementation of VERSION. * src/ttt-server.h: * src/ttt-server.c: (ttt_server_register_client), (ttt_server_unregister_client), (ttt_server_who), (ttt_server_statistics): Track rename of client->name to client->username. Add server helper for STATISTICS. ---