24#ifndef _ASTERISK_EXTCONF_H
25#define _ASTERISK_EXTCONF_H
27#if defined(__cplusplus) || defined(c_plusplus)
86 enum ast_xmldoc_src
docsrc;
107 void (*
datad)(
void *);
195 const char *application,
void *
data,
void (*datad)(
void *),
207#ifndef _ASTERISK_PBX_H
223#define AST_PBX_MAX_STACK 128
225#define AST_PBX_MAX_STACK 512
244#define STATUS_NO_CONTEXT 1
245#define STATUS_NO_EXTENSION 2
246#define STATUS_NO_PRIORITY 3
247#define STATUS_NO_LABEL 4
248#define STATUS_SUCCESS 5
258 const char *callerid,
262#if defined(__cplusplus) || defined(c_plusplus)
static const char config[]
#define AST_PBX_MAX_STACK
int localized_context_add_ignorepat2(struct ast_context *con, const char *value, const char *registrar)
int localized_context_add_include2(struct ast_context *con, const char *value, const char *registrar)
struct ast_sw * localized_walk_context_switches(struct ast_context *con, struct ast_sw *sw)
int localized_pbx_builtin_setvar(struct ast_channel *chan, const void *data)
struct ast_context * localized_walk_contexts(struct ast_context *con)
struct ast_include * localized_walk_context_includes(struct ast_context *con, struct ast_include *inc)
struct ast_exten * localized_walk_context_extensions(struct ast_context *con, struct ast_exten *exten)
struct ast_exten * localized_walk_extension_priorities(struct ast_exten *exten, struct ast_exten *priority)
int localized_context_add_switch2(struct ast_context *con, const char *value, const char *data, int eval, const char *registrar)
int localized_context_verify_includes(struct ast_context *con)
struct ast_config * localized_config_load_with_comments(const char *filename)
void localized_merge_contexts_and_delete(struct ast_context **extcontexts, void *tab, const char *registrar)
void localized_context_destroy(struct ast_context *con, const char *registrar)
int localized_add_extension2(struct ast_context *con, int replace, const char *extension, int priority, const char *label, const char *callerid, const char *application, void *data, void(*datad)(void *), const char *registrar)
struct ast_exten * localized_find_extension(struct ast_context *bypass, struct pbx_find_info *q, const char *context, const char *exten, int priority, const char *label, const char *callerid, enum ext_match_t action)
int localized_config_text_file_save(const char *configfile, const struct ast_config *cfg, const char *generator)
void localized_use_conf_dir(void)
int localized_pbx_load_module(void)
struct ast_config * localized_config_load(const char *filename)
void localized_use_local_dir(void)
struct ast_context * localized_context_find_or_create(struct ast_context **extcontexts, void *tab, const char *name, const char *registrar)
struct ast_category * localized_category_get(const struct ast_config *config, const char *category_name)
static int replace(struct ast_channel *chan, const char *cmd, char *data, struct ast_str **buf, ssize_t len)
#define AST_LIST_HEAD_NOLOCK(name, type)
Defines a structure to be used to hold a list of specified type (with no lock).
#define AST_LIST_ENTRY(type)
Declare a forward link structure inside a list entry.
int(* ast_state_cb_type)(const char *context, const char *exten, struct ast_state_cb_info *info, void *data)
Typedef for devicestate and hint callbacks.
ast_extension_states
Extension states.
#define AST_DECLARE_STRING_FIELDS(field_list)
Declare the fields needed in a structure.
#define AST_STRING_FIELD(name)
Declare a string field.
ast_app: A registered application
const ast_string_field description
const ast_string_field synopsis
const ast_string_field seealso
const ast_string_field syntax
const ast_string_field arguments
int(* execute)(struct ast_channel *chan, const char *data)
struct ast_comment * precomments
struct ast_category * next
struct ast_variable * last
struct ast_variable * root
struct ast_comment * sameline
Main Channel structure associated with a channel.
struct ast_category * current
struct ast_category * last
struct ast_category * root
struct ast_category * last_browse
ast_context: An extension context
struct ast_ignorepats ignorepats
struct ast_includes includes
struct ast_context * next
ast_exten: An extension The dialplan is saved as a linked list with each context having it's own link...
struct ast_app * cached_app
struct ast_context * parent
ast_ignorepat: Ignore patterns in dial plan
struct ast_ignorepat * next
ast_include: include= support in extensions.conf
struct ast_include * next
Structure for rwlock and tracking information.
ast_sw: Switch statement in extensions.conf
Structure for variables, used for configurations and for channel variables.
char stuff[0]
Contents of file, name, and value in that order stuffed here.
struct ast_comment * precomments
struct ast_comment * sameline
struct ast_variable * next
structure to hold extensions
char * incstack[AST_PBX_MAX_STACK]
const char * foundcontext