2 Copyright (c) 1993 Richard V. Nash.
3 Copyright (c) 2000 Dan Papasian
4 Copyright (C) Andrew Tridgell 2002
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 extern const char *help_dir[NUM_LANGS];
25 extern const char *usage_dir[NUM_LANGS];
27 /* Maximum length of a login name +1 */
28 #define MAX_LOGIN_NAME 18
30 /* Maximum number of parameters per command */
31 #define MAXNUMPARAMS 10
33 /* Maximum string length of a single command word */
34 #define MAX_COM_LENGTH 50
36 /* Maximum string length of the whole command line */
37 #define MAX_STRING_LENGTH 1024
42 #define COM_AMBIGUOUS 3
43 #define COM_BADPARAMETERS 4
44 #define COM_BADCOMMAND 5
46 #define COM_FLUSHINPUT 7
48 #define COM_OK_NOPROMPT 9
49 #define COM_ISMOVE_INSETUP 10
52 #define ADMIN_ADMIN 10
53 #define ADMIN_MASTER 20
54 #define ADMIN_DEMIGOD 60
61 typedef struct u_parameter {
70 typedef parameter param_list[MAXNUMPARAMS];
72 typedef struct command_type {
79 GENSTRUCT struct alias_type {
84 #endif /* _COMMAND_H */