1 /* scores.h -- highscore functions */ 2 3 /* score file name */ 4 #define SCOREFILE_NAME "/var/games/tornado.scores" 5 6 /* maximum length for a player name (includes \0) */ 7 #define MAX_PLAYER_LEN 22 8 9 int highscore_add(char const *player, int const score); 10 int highscore_get(int const rank, char *player, int *score); 11