]> git.sesse.net Git - pgn-extract/blobdiff - typedef.h
Store opening choices for each move.
[pgn-extract] / typedef.h
index f405a63f2c04d9736004f2ebcd583af85b3bf499..df0d81dfd18ad60314e54995b403dcff0f8b17e2 100644 (file)
--- a/typedef.h
+++ b/typedef.h
@@ -70,6 +70,9 @@ typedef struct variation{
  */
 #define MAX_MOVE_LEN 15
 
+struct EcoLog;
+typedef struct EcoLog EcoLog;
+
         /* Retain the text of a move and any associated 
          * NAGs and comments.
          */
@@ -106,6 +109,7 @@ typedef struct move{
     /* terminating_result hold the result of the current list of moves. */
     char *terminating_result;
     Variation *Variants;
+    EcoLog *eco;
     /* Pointers to the previous and next move.
      * The extraction program does not need the prev field, but my
      * intention is to build other interfaces that might need it.