Mon Mar 20 08:26:05 2006

Asterisk developer's documentation


Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

ast_app_option Struct Reference

A structure to hold the description of an application 'option'. More...

#include <app.h>


Data Fields

unsigned int arg_index
 The index of the entry in the arguments array that should be used for this option's argument.
unsigned int flag
 The flag bit that represents this option.


Detailed Description

A structure to hold the description of an application 'option'.

Application 'options' are single-character flags that can be supplied to the application to affect its behavior; they can also optionally accept arguments enclosed in parenthesis.

These structures are used by the ast_app_parse_options function, uses this data to fill in a flags structure (to indicate which options were supplied) and array of argument pointers (for those options that had arguments supplied).

Definition at line 249 of file app.h.


Field Documentation

unsigned int arg_index
 

The index of the entry in the arguments array that should be used for this option's argument.

Definition at line 254 of file app.h.

Referenced by ast_app_parse_options().

unsigned int flag
 

The flag bit that represents this option.

Definition at line 251 of file app.h.


The documentation for this struct was generated from the following file:
Generated on Mon Mar 20 08:26:05 2006 for Asterisk - the Open Source PBX by  doxygen 1.3.9.1