Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

ast_switch Struct Reference

Data structure associated with an asterisk switch. More...

#include <pbx.h>

Collaboration diagram for ast_switch:

Collaboration graph
[legend]

Data Fields

ast_switchnext
char * name
char * description
int(* exists )(struct ast_channel *chan, char *context, char *exten, int priority, char *callerid, char *data)
int(* canmatch )(struct ast_channel *chan, char *context, char *exten, int priority, char *callerid, char *data)
int(* exec )(struct ast_channel *chan, char *context, char *exten, int priority, char *callerid, int newstack, char *data)
int(* matchmore )(struct ast_channel *chan, char *context, char *exten, int priority, char *callerid, char *data)

Detailed Description

Data structure associated with an asterisk switch.

Definition at line 55 of file pbx.h.


Field Documentation

int(* canmatch)(struct ast_channel *chan, char *context, char *exten, int priority, char *callerid, char *data)
 

char* description
 

Description of the switch

Definition at line 61 of file pbx.h.

int(* exec)(struct ast_channel *chan, char *context, char *exten, int priority, char *callerid, int newstack, char *data)
 

int(* exists)(struct ast_channel *chan, char *context, char *exten, int priority, char *callerid, char *data)
 

int(* matchmore)(struct ast_channel *chan, char *context, char *exten, int priority, char *callerid, char *data)
 

char* name
 

Name of the switch

Definition at line 59 of file pbx.h.

Referenced by ast_register_switch().

struct ast_switch* next
 

NULL

Definition at line 57 of file pbx.h.

Referenced by ast_register_switch(), and ast_unregister_switch().


The documentation for this struct was generated from the following file:
Generated on Sat Jun 12 16:41:56 2004 for Asterisk by doxygen 1.3.7