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

struct 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

struct ast_switch* next [read]

NULL

Definition at line 57 of file pbx.h.

char* name

Name of the switch

Definition at line 59 of file pbx.h.

char* description

Description of the switch

Definition at line 61 of file pbx.h.

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)


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

Generated on Wed Oct 28 17:01:07 2009 for Asterisk by  doxygen 1.5.6