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,
'|')) || (
c = strchr(p,
',')) ) {
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()
Core PBX routines and definitions.
int ast_build_timing(struct ast_timing *i, const char *info_in)
Construct a timing bitmap, for use in time-based conditionals.
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.
void include_free(struct ast_include *inc)
int include_valid(const struct ast_include *inc)
struct ast_include * include_alloc(const char *value, const char *registrar)
const char * include_rname(const struct ast_include *inc)
const char * ast_get_include_name(const struct ast_include *inc)
const char * ast_get_include_registrar(const struct ast_include *inc)
Private include file for pbx.
ast_include: include= support in extensions.conf