1 /* public things from cmd.c */
2 
3 #ifndef _CMD_H_
4 #define _CMD_H_
5 
6 typedef struct cmdstruct {
7     char *sortname;             /* set to NULL if you want to sort by
8                                  * command name */
9     char *name;			/* command name */
10     char *help;			/* short help */
11     function_str funct;		/* function to call */
12     struct cmdstruct *next;
13 } cmdstruct;
14 
15 extern cmdstruct *commands;
16 
17 void show_stat		__P ((void));
18 
19 void cmd_add_command( cmdstruct *cmd );
20 
21 void initialize_cmd(void);
22 
23 int print_all_options __P1 (FILE *,file);
24 
25 #endif /* _CMD_H_ */
26 
27