X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2Fttt-client.h;h=c7596508e4681a3965ee22c5a0c59afff8ddac1a;hp=06af64b079a1a113287a4f1038226632724b1c00;hb=c25df0131987fe52be7430c5be03ec83fbaea9b3;hpb=84db9bf52aa25c19f7d547ea2dbec69ca4452300 diff --git a/src/ttt-client.h b/src/ttt-client.h index 06af64b..c759650 100644 --- a/src/ttt-client.h +++ b/src/ttt-client.h @@ -43,10 +43,14 @@ ttt_client_send (ttt_client_t *client, const char *message); /* Get a client's name. */ const char* -ttt_client_get_name (ttt_client_t *client); +ttt_client_get_username (ttt_client_t *client); /* Set a client's name. */ void -ttt_client_set_name (ttt_client_t *client, const char *name); +ttt_client_set_username (ttt_client_t *client, const char *username); + +/* Return the client's win count */ +int +ttt_client_get_num_wins (ttt_client_t *client); #endif /* _TTT_CLIENT_H_ */