summaryrefslogtreecommitdiffstats
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h
index f49c7e8..8065105 100644
--- a/src/game.h
+++ b/src/game.h
@@ -20,6 +20,13 @@
#ifndef DB_GAME_H_
#define DB_GAME_H_
-int db_games_find(const char *games_dir, char ***games);
+struct db_game;
+
+int db_games_find(const char *games_dir, struct db_game ***games);
+const char *db_game_get_name(struct db_game *game)
+ __attribute__((__pure__));
+const char *db_game_get_desc(struct db_game *game)
+ __attribute__((__pure__));
+void db_game_free(struct db_game *game);
#endif /* DB_GAME_H_ */