X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=typedef.h;h=cf7be10005b34e242eee55463a6c315d63af1aae;hb=be3167c9e0220a4ee3e8b5c5f813fb2627d1ce55;hp=65c93b59a1aa26934d4c536005b507f6ff9a7653;hpb=24340f183eef0351ac9b6cfc0aa3d9c1672893b6;p=pgn-extract diff --git a/typedef.h b/typedef.h index 65c93b5..cf7be10 100644 --- a/typedef.h +++ b/typedef.h @@ -279,6 +279,12 @@ typedef struct { const char *current_input_file; /* Whether this is a CHECKFILE or a NORMALFILE. */ SourceFileType current_file_type; + /* Byte positions to scan to and from in the PGN file. + * Starting in the middle of a game will yield unexpected + * results. + */ + long start_position; + long end_position; /* File of ECO lines. */ const char *eco_file; /* Where to write the extracted games. */