diff options
author | Steve Slaven <bpk@hoopajoo.net> | 2005-03-12 00:27:55 (GMT) |
---|---|---|
committer | Steve Slaven <bpk@hoopajoo.net> | 2005-03-12 00:27:55 (GMT) |
commit | 77b250bfb63a28a8fe8a8da67de7354bce6e61ff (patch) | |
tree | e28f72c18305016c19c608f5fce4432529e7673d /cmd.h | |
parent | 5dfb1906b299bf7c8a1ee3ba5cd1c9ea40648d89 (diff) | |
download | powwow-77b250bfb63a28a8fe8a8da67de7354bce6e61ff.zip powwow-77b250bfb63a28a8fe8a8da67de7354bce6e61ff.tar.gz powwow-77b250bfb63a28a8fe8a8da67de7354bce6e61ff.tar.bz2 |
Initial revisionv1.2.7
Diffstat (limited to 'cmd.h')
-rw-r--r-- | cmd.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +/* public things from cmd.c */ + +#ifndef _CMD_H_ +#define _CMD_H_ + +typedef struct cmdstruct { + char *sortname; /* set to NULL if you want to sort by command name */ + char *name; /* command name */ + char *help; /* short help */ + function_str funct; /* function to call */ + struct cmdstruct *next; +} cmdstruct; + +extern cmdstruct *commands; + +void show_stat __P ((void)); + +void cmd_add_command( cmdstruct *cmd ); + +#endif /* _CMD_H_ */ + |