2 * (C) Copyright 2007-2011 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
4 * This file is released under the GPLv2. See the COPYING file for more
11 #include <directory.h>
15 #define SHELL_CMD_MAX_LEN 8
18 * This file should contain only externally (from CP's point of view)
21 extern struct console
*oper_con
;
23 extern int shell_start(void *data
);
25 extern int invoke_shell_cmd(struct virt_sys
*sys
, char *cmd
, int len
);
26 extern int invoke_shell_logon(struct console
*con
, char *cmd
, int len
);
28 #define SHELL_CMD_AUTH(s,a) do { \
29 if (!((s)->directory->auth & AUTH_##a)) \