#include <agi.h>

Data Fields | |
| char * | cmda [AST_MAX_CMD_LEN] |
| int | dead |
| enum ast_doc_src | docsrc |
| int(* | handler )(struct ast_channel *chan, AGI *agi, int argc, char *argv[]) |
| struct { | |
| struct agi_command * next | |
| } | list |
| struct ast_module * | mod |
| char * | seealso |
| char * | summary |
| char * | syntax |
| char * | usage |
| char* cmda[AST_MAX_CMD_LEN] |
Null terminated list of the words of the command
Definition at line 42 of file agi.h.
Referenced by ast_agi_register(), ast_agi_unregister(), find_command(), help_workhorse(), and write_htmldump().
| int dead |
Does this application run dead
Definition at line 51 of file agi.h.
Referenced by agi_handle_command(), handle_cli_agi_show(), and help_workhorse().
| enum ast_doc_src docsrc |
Where the documentation come from.
Definition at line 57 of file agi.h.
Referenced by ast_agi_register(), ast_agi_unregister(), and handle_cli_agi_show().
| int(* handler)(struct ast_channel *chan, AGI *agi, int argc, char *argv[]) |
Handler for the command (channel, AGI state, # of arguments, argument list). Returns RESULT_SHOWUSAGE for improper arguments
Definition at line 45 of file agi.h.
Referenced by agi_handle_command().
| struct { ... } list |
Referenced by ast_agi_register(), ast_agi_unregister(), find_command(), help_workhorse(), and write_htmldump().
| struct ast_module* mod |
Pointer to module that registered the agi command
Definition at line 59 of file agi.h.
Referenced by agi_handle_command(), and ast_agi_register().
| struct agi_command* next |
| char* seealso |
See also content
Definition at line 55 of file agi.h.
Referenced by ast_agi_register(), ast_agi_unregister(), and handle_cli_agi_show().
| char* summary |
Summary of the command (< 60 characters)
Definition at line 47 of file agi.h.
Referenced by ast_agi_register(), ast_agi_unregister(), handle_cli_agi_show(), help_workhorse(), and write_htmldump().
| char* syntax |
AGI command syntax description
Definition at line 53 of file agi.h.
Referenced by ast_agi_register(), ast_agi_unregister(), and handle_cli_agi_show().
| char* usage |
Detailed usage information
Definition at line 49 of file agi.h.
Referenced by agi_handle_command(), ast_agi_register(), ast_agi_unregister(), handle_cli_agi_show(), and write_htmldump().