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