40 |
40 |
41 int read_pgn(FILE *stream, GameState *gamestate, GameInfo *gameinfo); |
41 int read_pgn(FILE *stream, GameState *gamestate, GameInfo *gameinfo); |
42 size_t write_pgn(FILE* stream, GameState *gamestate, GameInfo *gameinfo); |
42 size_t write_pgn(FILE* stream, GameState *gamestate, GameInfo *gameinfo); |
43 void compute_fen(char *str, GameState *gamestate); |
43 void compute_fen(char *str, GameState *gamestate); |
44 |
44 |
|
45 const char* pgn_error_str(int code); |
|
46 |
45 #ifdef __cplusplus |
47 #ifdef __cplusplus |
46 } |
48 } |
47 #endif |
49 #endif |
48 |
50 |
49 #endif /* PGN_H */ |
51 #endif /* PGN_H */ |