Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
agi_command Struct Reference

Data Fields

const char *const cmda [AST_MAX_CMD_LEN]
 
const int dead
 
enum ast_doc_src docsrc
 
int(*const handler )(struct ast_channel *chan, AGI *agi, int argc, const char *const argv[])
 
struct {
   struct agi_command *   next
 
list
 
struct ast_modulemod
 
const char *const seealso
 
const char *const summary
 
const char *const syntax
 
const char *const usage
 

Detailed Description

Definition at line 42 of file agi.h.

Field Documentation

const char* const cmda[AST_MAX_CMD_LEN]

Null terminated list of the words of the command

Definition at line 43 of file agi.h.

const int dead

Does this application run dead

Definition at line 52 of file agi.h.

enum ast_doc_src docsrc

Where the documentation come from.

Definition at line 58 of file agi.h.

int(* const handler) (struct ast_channel *chan, AGI *agi, int argc, const char *const argv[])

Handler for the command (channel, AGI state, # of arguments, argument list). Returns RESULT_SHOWUSAGE for improper arguments

Definition at line 46 of file agi.h.

struct { ... } list

Linked list pointer

struct ast_module* mod

Pointer to module that registered the agi command

Definition at line 60 of file agi.h.

const char* const seealso

See also content

Definition at line 56 of file agi.h.

const char* const summary

Summary of the command (< 60 characters)

Definition at line 48 of file agi.h.

const char* const syntax

AGI command syntax description

Definition at line 54 of file agi.h.

const char* const usage

Detailed usage information

Definition at line 50 of file agi.h.


The documentation for this struct was generated from the following file: