#include <commands.h>
Data Fields | |
| char * | cmd |
| command verb (e.g., read, quit, etc.) | |
| int(* | action )(char *args, MsgType msgtype, char *reply) |
| Action function for this command. | |
| char * | usage |
| command usage syntax, for the help facility and error messages | |
| char * | description |
| brief, 1-line command description for the help facility | |
|
|
command verb (e.g., read, quit, etc.)
|
|
|
Action function for this command.
int cmd_xxx(char *args, MsgType msgtype, char *reply){} They return one of three integer return status values (defined in commands.h):
|
|
|
command usage syntax, for the help facility and error messages
|
|
|
brief, 1-line command description for the help facility
|
1.3.7