50 const char *ast_get_include_name(
const struct ast_include *inc)
52 return inc ? inc->name : NULL;
55 const char *include_rname(
const struct ast_include *inc)
57 return inc ? inc->
rname : NULL;
60 const char *ast_get_include_registrar(
const struct ast_include *inc)
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,
',')) ) {
ast_include: include= support in extensions.conf
Asterisk main include file. File version handling, generic pbx functions.
int ast_build_timing(struct ast_timing *i, const char *info_in)
Construct a timing bitmap, for use in time-based conditionals.
Private include file for pbx.
struct ast_include * include_alloc(const char *value, const char *registrar)
void include_free(struct ast_include *inc)
Core PBX routines and definitions.
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,.