aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-07-13 13:07:59 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-07-13 13:07:59 +0200
commitfdb2ec531c7813b015df5aa3bc5c0ea6e533c1cf (patch)
treec092406481b34be21392bf78ac94783b47cf7c5d
parent589d4eee3b0a290ffc4625796083c3d8e84f49db (diff)
Added a new command
-rw-r--r--FICS/build.mk1
-rw-r--r--FICS/iset.cpp12
-rw-r--r--FICS/iset.h16
3 files changed, 29 insertions, 0 deletions
diff --git a/FICS/build.mk b/FICS/build.mk
index ca1dc3d..3dad928 100644
--- a/FICS/build.mk
+++ b/FICS/build.mk
@@ -16,6 +16,7 @@ OBJS = $(SRC_DIR)adminproc.o\
$(SRC_DIR)formula.o\
$(SRC_DIR)gamedb.o\
$(SRC_DIR)gameproc.o\
+ $(SRC_DIR)iset.o\
$(SRC_DIR)legal.o\
$(SRC_DIR)lists.o\
$(SRC_DIR)matchproc.o\
diff --git a/FICS/iset.cpp b/FICS/iset.cpp
new file mode 100644
index 0000000..da687ab
--- /dev/null
+++ b/FICS/iset.cpp
@@ -0,0 +1,12 @@
+#include "stdinclude.h"
+#include "common.h"
+
+#include "iset.h"
+
+PUBLIC int
+com_iset(int p, param_list param)
+{
+ (void) p;
+ (void) param;
+ return COM_OK;
+}
diff --git a/FICS/iset.h b/FICS/iset.h
new file mode 100644
index 0000000..f88d9fb
--- /dev/null
+++ b/FICS/iset.h
@@ -0,0 +1,16 @@
+#ifndef GUARD_ISET_H
+#define GUARD_ISET_H
+
+#include "command.h" /* param_list */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int com_iset(int, param_list);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif