From fdb2ec531c7813b015df5aa3bc5c0ea6e533c1cf Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 13 Jul 2024 13:07:59 +0200 Subject: Added a new command --- FICS/build.mk | 1 + FICS/iset.cpp | 12 ++++++++++++ FICS/iset.h | 16 ++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 FICS/iset.cpp create mode 100644 FICS/iset.h 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 -- cgit v1.2.3