--- a/src/chess/pgn.h Sat Jun 13 13:45:19 2026 +0200 +++ b/src/chess/pgn.h Mon Jul 13 22:13:34 2026 +0200 @@ -39,6 +39,7 @@ #endif int read_pgn(FILE *stream, GameState *gamestate); +int parse_pgn(const char *data, GameState *gamestate); void write_pgn(FILE* stream, GameState *gamestate, bool export_comments); void compute_fen(char *str, GameState *gamestate);