Sat Aug 6 00:39:33 2011

Asterisk developer's documentation


ael_structs.h File Reference

Go to the source code of this file.

Data Structures

struct  ael_extension
struct  ael_priority
struct  parse_io
struct  pval

Defines

#define QUAD_MAX   (0x7fffffffffffffffLL)
#define QUAD_MIN   (-0x7fffffffffffffffLL-1)

Typedefs

typedef pval pval
typedef void * yyscan_t

Enumerations

enum  ael_priority_type {
  AEL_APPCALL, AEL_CONTROL1, AEL_FOR_CONTROL, AEL_IF_CONTROL,
  AEL_IFTIME_CONTROL, AEL_RAND_CONTROL, AEL_LABEL, AEL_RETURN
}
enum  pvaltype {
  PV_WORD, PV_MACRO, PV_CONTEXT, PV_MACRO_CALL,
  PV_APPLICATION_CALL, PV_CASE, PV_PATTERN, PV_DEFAULT,
  PV_CATCH, PV_SWITCHES, PV_ESWITCHES, PV_INCLUDES,
  PV_STATEMENTBLOCK, PV_VARDEC, PV_GOTO, PV_LABEL,
  PV_FOR, PV_WHILE, PV_BREAK, PV_RETURN,
  PV_CONTINUE, PV_IF, PV_IFTIME, PV_RANDOM,
  PV_SWITCH, PV_EXTENSION, PV_IGNOREPAT, PV_GLOBALS
}

Functions

pvalael2_parse (char *fname, int *errs)
void destroy_pval (pval *item)

Variables

char * prev_word


Define Documentation

#define QUAD_MAX   (0x7fffffffffffffffLL)

Definition at line 21 of file ael_structs.h.

#define QUAD_MIN   (-0x7fffffffffffffffLL-1)

Definition at line 18 of file ael_structs.h.


Typedef Documentation

typedef struct pval pval

Definition at line 120 of file ael_structs.h.

typedef void* yyscan_t

Definition at line 141 of file ael_structs.h.


Enumeration Type Documentation

enum ael_priority_type

Enumerator:
AEL_APPCALL 
AEL_CONTROL1 
AEL_FOR_CONTROL 
AEL_IF_CONTROL 
AEL_IFTIME_CONTROL 
AEL_RAND_CONTROL 
AEL_LABEL 
AEL_RETURN 

Definition at line 154 of file ael_structs.h.

enum pvaltype

Enumerator:
PV_WORD 
PV_MACRO 
PV_CONTEXT 
PV_MACRO_CALL 
PV_APPLICATION_CALL 
PV_CASE 
PV_PATTERN 
PV_DEFAULT 
PV_CATCH 
PV_SWITCHES 
PV_ESWITCHES 
PV_INCLUDES 
PV_STATEMENTBLOCK 
PV_VARDEC 
PV_GOTO 
PV_LABEL 
PV_FOR 
PV_WHILE 
PV_BREAK 
PV_RETURN 
PV_CONTINUE 
PV_IF 
PV_IFTIME 
PV_RANDOM 
PV_SWITCH 
PV_EXTENSION 
PV_IGNOREPAT 
PV_GLOBALS 

Definition at line 25 of file ael_structs.h.

00026 {
00027    PV_WORD, /* an ident, string, name, label, etc. A user-supplied string. */ /* 0 */
00028    PV_MACRO,             /* 1 */
00029    PV_CONTEXT,           /* 2 */
00030    PV_MACRO_CALL,        /* 3 */
00031    PV_APPLICATION_CALL,  /* 4 */
00032    PV_CASE,              /* 5 */
00033    PV_PATTERN,           /* 6 */
00034    PV_DEFAULT,           /* 7 */
00035    PV_CATCH,             /* 8 */
00036    PV_SWITCHES,          /* 9 */
00037    PV_ESWITCHES,         /* 10 */
00038    PV_INCLUDES,          /* 11 */
00039    PV_STATEMENTBLOCK,    /* 12 */
00040    PV_VARDEC, /* you know, var=val; */  /* 13 */
00041    PV_GOTO,              /* 14 */
00042    PV_LABEL,             /* 15 */
00043    PV_FOR,               /* 16 */
00044    PV_WHILE,             /* 17 */
00045    PV_BREAK,             /* 18 */
00046    PV_RETURN,            /* 19 */
00047    PV_CONTINUE,          /* 20 */
00048    PV_IF,                /* 21 */
00049    PV_IFTIME,            /* 22 */
00050    PV_RANDOM,            /* 23 */
00051    PV_SWITCH,            /* 24 */
00052    PV_EXTENSION,         /* 25 */
00053    PV_IGNOREPAT,         /* 26 */
00054    PV_GLOBALS,           /* 27 */
00055 
00056 } pvaltype;


Function Documentation

struct pval* ael2_parse ( char *  fname,
int *  errs 
)

Referenced by pbx_load_module().

void destroy_pval ( pval item  ) 

Definition at line 5002 of file pbx_ael.c.

References destroy_pval_item(), and pval::next.

Referenced by destroy_pval_item(), and pbx_load_module().

05003 {
05004    pval *i,*nxt;
05005    
05006    for (i=item; i; i=nxt) {
05007       nxt = i->next;
05008       
05009       destroy_pval_item(i);
05010    }
05011 }


Variable Documentation

char* prev_word


Generated on Sat Aug 6 00:39:33 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7