77 length =
sizeof(
struct ast_sw);
78 length += strlen(value) + 1;
79 length += strlen(data) + 1;
91 p += strlen(value) + 1;
Asterisk main include file. File version handling, generic pbx functions.
Private include file for pbx.
const char * ast_get_switch_data(const struct ast_sw *sw)
int ast_get_switch_eval(const struct ast_sw *sw)
ast_sw: Switch statement in extensions.conf
const char * ast_get_switch_name(const struct ast_sw *sw)
Core PBX routines and definitions.
struct ast_sw * sw_alloc(const char *value, const char *data, int eval, const char *registrar)
#define AST_LIST_ENTRY(type)
Declare a forward link structure inside a list entry.
#define ast_calloc(num, len)
A wrapper for calloc()
void sw_free(struct ast_sw *sw)
Prototypes for public functions only of internal interest,.
const char * ast_get_switch_registrar(const struct ast_sw *sw)