X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=ctdlsh%2Fsrc%2Fctdlsh.h;h=f12fd0606ee43c572524262181402ce480ee75aa;hp=48524bebe26ee85fed0738f8c9f4b1700e7821f2;hb=ea1cdc5fe91907cad7f9659259cdd18fdd5977f9;hpb=96346972d7357b9c16f71e7c610a70e7da5a971b diff --git a/ctdlsh/src/ctdlsh.h b/ctdlsh/src/ctdlsh.h index 48524bebe..f12fd0606 100644 --- a/ctdlsh/src/ctdlsh.h +++ b/ctdlsh/src/ctdlsh.h @@ -1,3 +1,26 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/* + * Set to the location of Citadel + * FIXME this needs to be configurable + */ +#define CTDLDIR "/appl/citadel" + /* * This is a small subset of 'struct config' ... don't worry about the rest; we * only need to snarf the c_ipgm_secret. @@ -26,3 +49,6 @@ struct partial_config { int c_port_number; /* Cit listener port (usually 504) */ int c_ipgm_secret; /* Internal program authentication */ }; + +int cmd_quit(char *); +int cmd_datetime(char *);