From 7070471bb98b6f0bf2e81eb0de5f77a7068bcaed Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 16 Dec 2023 18:23:16 +0100 Subject: Moved structs to the header --- FICS/eco.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'FICS/eco.h') diff --git a/FICS/eco.h b/FICS/eco.h index bd6a9eb..422eef2 100644 --- a/FICS/eco.h +++ b/FICS/eco.h @@ -1,6 +1,21 @@ #ifndef _ECO_H #define _ECO_H +typedef struct { + char ECO[4]; + char FENpos[80]; +} ECO_entry; + +typedef struct { + char NIC[6]; + char FENpos[80]; +} NIC_entry; + +typedef struct { + char LONG[80]; + char FENpos[80]; +} LONG_entry; + extern char *boardToFEN(); extern char *getECO(); extern int com_eco(); -- cgit v1.2.3