#include <cli.h>
Collaboration diagram for ast_cli_entry:
Data Fields | |
char * | cmda [AST_MAX_CMD_LEN] |
int(* | handler )(int fd, int argc, char *argv[]) |
char * | summary |
char * | usage |
char *(* | generator )(char *line, char *word, int pos, int state) |
ast_cli_entry * | next |
int | inuse |
Definition at line 37 of file cli.h.
|
Null terminated list of the words of the command Definition at line 39 of file cli.h. Referenced by ast_cli_register(). |
|
Generate a list of possible completions for a given word |
|
Handler for the command (fd for output, # of arguments, argument list). Returns RESULT_SHOWUSAGE for improper arguments |
|
For keeping track of usage Definition at line 51 of file cli.h. Referenced by ast_cli_unregister(). |
|
For linking Definition at line 49 of file cli.h. Referenced by ast_cli_register(), and ast_cli_unregister(). |
|
Summary of the command (< 60 characters) |
|
Detailed usage information |