aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/eco.h
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/eco.h')
-rw-r--r--FICS/eco.h15
1 files changed, 15 insertions, 0 deletions
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();