6 /* Maximum length for a single command */
7 #define CMD_MAX_LENGTH 2048
8 /* Maximum number of tokens per command */
9 #define CMD_MAX_TOKENS 64
11 /* Parse an input string */
12 void cmd_parse(char *input);
14 typedef void (*xcommand_t)(void);
16 /* Warning: these commands are NOT REENTRANT. Do not attempt to thread them! */
17 void cmd_tokenize(char *string);
19 char *cmd_argv(int w);