aboutsummaryrefslogtreecommitdiffstats
path: root/highscore.h
diff options
context:
space:
mode:
Diffstat (limited to 'highscore.h')
-rw-r--r--highscore.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/highscore.h b/highscore.h
index 5976c69..ba10d40 100644
--- a/highscore.h
+++ b/highscore.h
@@ -6,6 +6,7 @@
#define HIGHSCORE_H 1
#include <inttypes.h>
+#include <stdio.h>
#define PLAYER_LEN 11 /* Max length of player alias */
#define MAX_BEST 100 /* Number of best_total to keep track of */
@@ -49,8 +50,8 @@ int highscore_add_level_score(uint64_t gameid, int lvl, int64_t score,
int highscore_add_level_time(uint64_t gameid, int lvl, int32_t time_ms,
uint8_t upload);
void highscore_init(void);
-void highscore_parse(void *f, char (*mygets)(char *, int, void *),
- uint8_t upload);
-int highscore_write(void *f, int (*myputs)(char *, void *), uint8_t leave);
+void highscore_parse(FILE *f, uint8_t upload);
+int highscore_write(FILE *f, uint8_t leave);
+int have_upload_scores(void);
#endif