Add forgotten files 1.4.70b
[polyglot.git] / pgn.h
diff --git a/pgn.h b/pgn.h
index 0f51015..6bed708 100644 (file)
--- a/pgn.h
+++ b/pgn.h
@@ -1,56 +1,56 @@
-\r
-// pgn.h\r
-\r
-#ifndef PGN_H\r
-#define PGN_H\r
-\r
-// includes\r
-\r
-#include <stdio.h>\r
-\r
-#include "util.h"\r
-\r
-// defines\r
-\r
-#define PGN_STRING_SIZE 256\r
-\r
-// types\r
-\r
-typedef struct {\r
-\r
-   FILE * file;\r
-\r
-   int char_hack;\r
-   int char_line;\r
-   int char_column;\r
-   bool char_unread;\r
-   bool char_first;\r
-\r
-   int token_type;\r
-   char token_string[PGN_STRING_SIZE];\r
-   int token_length;\r
-   int token_line;\r
-   int token_column;\r
-   bool token_unread;\r
-   bool token_first;\r
-\r
-   char result[PGN_STRING_SIZE];\r
-   char fen[PGN_STRING_SIZE];\r
-\r
-   int move_line;\r
-   int move_column;\r
-   int game_nb;\r
-} pgn_t;\r
-\r
-// functions\r
-\r
-extern void pgn_open      (pgn_t * pgn, const char file_name[]);\r
-extern void pgn_close     (pgn_t * pgn);\r
-\r
-extern bool pgn_next_game (pgn_t * pgn);\r
-extern bool pgn_next_move (pgn_t * pgn, char string[], int size);\r
-\r
-#endif // !defined PGN_H\r
-\r
-// end of pgn.h\r
-\r
+
+// pgn.h
+
+#ifndef PGN_H
+#define PGN_H
+
+// includes
+
+#include <stdio.h>
+
+#include "util.h"
+
+// defines
+
+#define PGN_STRING_SIZE 256
+
+// types
+
+typedef struct {
+
+   FILE * file;
+
+   int char_hack;
+   int char_line;
+   int char_column;
+   bool char_unread;
+   bool char_first;
+
+   int token_type;
+   char token_string[PGN_STRING_SIZE];
+   int token_length;
+   int token_line;
+   int token_column;
+   bool token_unread;
+   bool token_first;
+
+   char result[PGN_STRING_SIZE];
+   char fen[PGN_STRING_SIZE];
+
+   int move_line;
+   int move_column;
+   int game_nb;
+} pgn_t;
+
+// functions
+
+extern void pgn_open      (pgn_t * pgn, const char file_name[]);
+extern void pgn_close     (pgn_t * pgn);
+
+extern bool pgn_next_game (pgn_t * pgn);
+extern bool pgn_next_move (pgn_t * pgn, char string[], int size);
+
+#endif // !defined PGN_H
+
+// end of pgn.h
+