| 55 int write_pgn(FILE* stream, const GameState *gamestate, bool export_comments); |
55 int write_pgn(FILE* stream, const GameState *gamestate, bool export_comments); |
| 56 |
56 |
| 57 int parse_pgn(const char *data, GameState *gamestate); |
57 int parse_pgn(const char *data, GameState *gamestate); |
| 58 char *create_pgn(const GameState *gamestate, bool export_comments); |
58 char *create_pgn(const GameState *gamestate, bool export_comments); |
| 59 |
59 |
| 60 const char *pgn_player_name(const GameState *gamestate, uint8_t color); |
60 const char *pgn_player_name(const GameState *gamestate, Color color); |
| 61 |
61 |
| 62 const char* pgn_error_str(int code); |
62 const char* pgn_error_str(int code); |
| 63 size_t pgn_error_position(void); |
63 size_t pgn_error_position(void); |
| 64 |
64 |
| 65 #ifdef __cplusplus |
65 #ifdef __cplusplus |