Asterisk - The Open Source Telephony Project
18.5.0
|
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.
const char* ast_get_include_name | ( | const struct ast_include * | inc | ) |
Definition at line 50 of file pbx_include.c.
References ast_include::name, and NULL.
Referenced by ast_context_add_include2(), ast_context_remove_include2(), complete_dialplan_remove_include(), context_merge_incls_swits_igps_other_registrars(), find_matching_priority(), handle_cli_dialplan_save(), lookup_ci(), manager_show_dialplan_helper(), and show_dialplan_helper().
const char* ast_get_include_registrar | ( | const struct ast_include * | inc | ) |
Definition at line 60 of file pbx_include.c.
References NULL, and ast_include::registrar.
Referenced by __ast_context_destroy(), ast_context_remove_include2(), context_merge_incls_swits_igps_other_registrars(), handle_cli_dialplan_save(), manager_show_dialplan_helper(), and show_dialplan_helper().
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, c, ast_include::hastime, ast_include::name, NULL, ast_include::registrar, ast_include::rname, ast_include::stuff, 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(), ast_free, and ast_include::timing.
Referenced by __ast_context_destroy(), __ast_internal_context_destroy(), ast_context_add_include2(), and ast_context_remove_include2().
const char* include_rname | ( | const struct ast_include * | inc | ) |
Definition at line 55 of file pbx_include.c.
References NULL, and ast_include::rname.
Referenced by ast_context_verify_includes(), and pbx_find_extension().
int include_valid | ( | const struct ast_include * | inc | ) |
Definition at line 65 of file pbx_include.c.
References ast_check_timing(), ast_include::hastime, and ast_include::timing.
Referenced by pbx_find_extension().