78 int valuebufsz = strlen(value) + 1;
82 new_include =
ast_calloc(1,
sizeof(*new_include) + (valuebufsz * 2));
90 p = new_include->
stuff;
91 new_include->
name = p;
94 new_include->
rname = p;
97 if ((c = strchr(p,
',')) ) {
ast_include: include= support in extensions.conf
Asterisk main include file. File version handling, generic pbx functions.
Private include file for pbx.
struct ast_include * include_alloc(const char *value, const char *registrar)
void include_free(struct ast_include *inc)
const char * include_rname(const struct ast_include *inc)
const char * ast_get_include_name(const struct ast_include *inc)
int include_valid(const struct ast_include *inc)
Core PBX routines and definitions.
const char * ast_get_include_registrar(const struct ast_include *inc)
int ast_check_timing(const struct ast_timing *i)
Evaluate a pre-constructed bitmap as to whether the current time falls within the range specified...
int ast_destroy_timing(struct ast_timing *i)
Deallocates memory structures associated with a timing bitmap.
#define ast_calloc(num, len)
A wrapper for calloc()
Prototypes for public functions only of internal interest,.
int ast_build_timing(struct ast_timing *i, const char *info)
Construct a timing bitmap, for use in time-based conditionals.