aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/eco.h
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-16 18:23:16 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-16 18:23:16 +0100
commit7070471bb98b6f0bf2e81eb0de5f77a7068bcaed (patch)
treef9666082b121f21f7df68777340af40f0245731c /FICS/eco.h
parent675062a74d8c5b3dbf538d8835762787fae249c2 (diff)
Moved structs to the header
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();