Asterisk - The Open Source Telephony Project
21.4.1
|
Dialplan context include routines. More...
#include "asterisk.h"
#include "asterisk/_private.h"
#include "asterisk/pbx.h"
#include "pbx_private.h"
Go to the source code of this file.
Data Structures | |
struct | ast_include |
ast_include: include= support in extensions.conf More... | |
Functions | |
const char * | ast_get_include_name (const struct ast_include *inc) |
const char * | ast_get_include_registrar (const struct ast_include *inc) |
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) |
int | include_valid (const struct ast_include *inc) |
Dialplan context include routines.
Definition in file pbx_include.c.
struct ast_include* include_alloc | ( | const char * | value, |
const char * | registrar | ||
) |
Allocate and initialize an ast_include.
Definition at line 74 of file pbx_include.c.
References ast_build_timing(), ast_calloc, ast_include::hastime, ast_include::registrar, ast_include::rname, and ast_include::timing.
Referenced by ast_context_add_include2().
void include_free | ( | struct ast_include * | inc | ) |
Free an ast_include and associated data.
Definition at line 106 of file pbx_include.c.
References ast_destroy_timing(), and ast_include::timing.
Referenced by ast_context_add_include2(), and ast_context_remove_include2().