]> git.sesse.net Git - pgn-extract/blobdiff - typedef.h
Store start position in the binary output.
[pgn-extract] / typedef.h
index 2f79308c7426d62d18d5729d6f80e6c29634f0d9..65c93b59a1aa26934d4c536005b507f6ff9a7653 100644 (file)
--- a/typedef.h
+++ b/typedef.h
@@ -146,6 +146,10 @@ typedef struct {
      * 0 => no error found.
      */
     int error_ply;
+    /* File position of the first byte of the game, or -1
+     * if unknown.
+     */
+    long start_position;
 } Game;
 
 /* Define a type to distinguish between CHECK files, NORMAL files,