#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. | |
|
|
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):
|
1.3.7