2 * main header file for ctdlsh
4 * Copyright (c) 2009-2013 by the citadel.org team
5 * This program is open source software, cheerfully made available to
6 * you under the terms of the GNU General Public License version 3.
14 #include <sys/types.h>
16 #include <sys/socket.h>
25 #include <readline/readline.h>
28 * Set to the location of Citadel
29 * FIXME this needs to be configurable
32 #define CTDLDIR "/usr/local/citadel"
35 typedef int ctdlsh_cmdfunc_t(int, char *);
37 enum ctdlsh_cmdfunc_return_values {
43 int cmd_help(int, char *);
44 int cmd_quit(int, char *);
45 int cmd_datetime(int, char *);
46 int cmd_passwd(int, char *);
47 int cmd_shutdown(int, char *);
48 int cmd_who(int, char *);