X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=ctdlsh%2Fsrc%2Fctdlsh.h;h=8424391e38f23764b5d1dd41b97ae431377c9412;hb=f3441eb8715d172b078a6acbcb20d16e51496d96;hp=db607975acd250146c85482abefb8acd9c120562;hpb=14ab5b2d5253a7c05f806b0baef90d4916f82e66;p=citadel.git diff --git a/ctdlsh/src/ctdlsh.h b/ctdlsh/src/ctdlsh.h index db607975a..8424391e3 100644 --- a/ctdlsh/src/ctdlsh.h +++ b/ctdlsh/src/ctdlsh.h @@ -1,3 +1,11 @@ +/* + * main header file for ctdlsh + * + * Copyright (c) 2009-2013 by the citadel.org team + * This program is open source software, cheerfully made available to + * you under the terms of the GNU General Public License version 3. + */ + #include #include #include @@ -20,7 +28,9 @@ * Set to the location of Citadel * FIXME this needs to be configurable */ -#define CTDLDIR "/appl/citadel" +#ifndef CTDLDIR +#define CTDLDIR "/usr/local/citadel" +#endif typedef int ctdlsh_cmdfunc_t(int, char *); @@ -35,3 +45,4 @@ int cmd_quit(int, char *); int cmd_datetime(int, char *); int cmd_passwd(int, char *); int cmd_shutdown(int, char *); +int cmd_who(int, char *);