Asterisk - The Open Source Telephony Project GIT-master-d856a3e
|
Configuration unit tests. More...
#include "asterisk.h"
#include <math.h>
#include <sys/stat.h>
#include "asterisk/config.h"
#include "asterisk/module.h"
#include "asterisk/test.h"
#include "asterisk/paths.h"
#include "asterisk/config_options.h"
#include "asterisk/netsock2.h"
#include "asterisk/acl.h"
#include "asterisk/app.h"
#include "asterisk/pbx.h"
#include "asterisk/frame.h"
#include "asterisk/utils.h"
#include "asterisk/logger.h"
#include "asterisk/format_cap.h"
Go to the source code of this file.
Data Structures | |
struct | association |
struct | pair |
struct | test_config |
struct | test_item |
Macros | |
#define | ACL_CONFIG_DENY "0.0.0.0/0" |
#define | ACL_CONFIG_PERMIT "1.2.3.4/32" |
#define | ACL_DEFAULT NULL |
#define | BOOL_CONFIG "true" |
#define | BOOL_DEFAULT "false" |
#define | BOOLFLAG1 1 << 0 |
#define | BOOLFLAG1_CONFIG "true" |
#define | BOOLFLAG1_DEFAULT "false" |
#define | BOOLFLAG2 1 << 1 |
#define | BOOLFLAG2_CONFIG "false" |
#define | BOOLFLAG2_DEFAULT "false" |
#define | BOOLFLAG3 1 << 2 |
#define | BOOLFLAG3_CONFIG "true" |
#define | BOOLFLAG3_DEFAULT "false" |
#define | CODEC_CONFIG "!all,ulaw,g729" |
#define | CODEC_DEFAULT "!all,alaw" |
#define | CONFIG_FILE "test_config.conf" |
#define | CONFIG_INCLUDE_FILE "test_config_include.conf" |
#define | CUSTOM_CONFIG "yes" |
#define | CUSTOM_DEFAULT "no" |
#define | DEFAULTVAL 42 |
#define | DOUBLE_CONFIG "0.1" |
#define | DOUBLE_DEFAULT "1.1" |
#define | EPSILON 0.001 |
#define | INT_CONFIG "-1" |
#define | INT_DEFAULT "-2" |
#define | NOT_EQUAL_FAIL(field, format) |
#define | SOCKADDR_CONFIG "1.2.3.4:1234" |
#define | SOCKADDR_DEFAULT "4.3.2.1:4321" |
#define | STR_CONFIG "test" |
#define | STR_DEFAULT "default" |
#define | TEST_PARSE(input, should_succeed, expected_result, flags, result, ...) |
#define | TIMELEN_CONFIG "1" |
#define | TIMELEN_DEFAULT "2" |
#define | TOOBIG_I32 "2147483649" |
#define | TOOBIG_U32 "4294967297" |
#define | TOOSMALL_I32 "-2147483649" |
#define | TOOSMALL_U32 "-4294967297" |
#define | UINT_CONFIG "1" |
#define | UINT_DEFAULT "2" |
Enumerations | |
enum | { EXPECT_FAIL = 0 , EXPECT_SUCCEED } |
Functions | |
static void | __reg_module (void) |
static void | __unreg_module (void) |
static | AO2_GLOBAL_OBJ_STATIC (global_obj) |
struct ast_module * | AST_MODULE_SELF_SYM (void) |
AST_TEST_DEFINE (ast_parse_arg_test) | |
AST_TEST_DEFINE (config_basic_ops) | |
AST_TEST_DEFINE (config_dialplan_function) | |
AST_TEST_DEFINE (config_filtered_ops) | |
AST_TEST_DEFINE (config_hook) | |
AST_TEST_DEFINE (config_options_test) | |
AST_TEST_DEFINE (config_save) | |
AST_TEST_DEFINE (config_template_ops) | |
AST_TEST_DEFINE (copy_config) | |
AST_TEST_DEFINE (variable_list_from_string) | |
AST_TEST_DEFINE (variable_list_join_replace) | |
AST_TEST_DEFINE (variable_lists_match) | |
static struct ast_config * | build_cfg (void) |
Build ast_config struct from above definitions. More... | |
CONFIG_INFO_TEST (cfg_info, global_obj, test_config_alloc,.files=ACO_FILES(&config_test_conf),) | |
static int | customopt_handler (const struct aco_option *opt, struct ast_variable *var, void *obj) |
static void | delete_config_file (void) |
Delete config file created by write_config_file. More... | |
static int | hook_cb (struct ast_config *cfg) |
static int | load_module (void) |
static void * | test_config_alloc (void) |
static void | test_config_destructor (void *obj) |
static int | test_config_validity (struct ast_config *cfg) |
Tests that the contents of an ast_config is what is expected. More... | |
static void * | test_item_alloc (const char *cat) |
static int | test_item_cmp (void *obj, void *arg, int flags) |
static void | test_item_destructor (void *obj) |
static void * | test_item_find (struct ao2_container *container, const char *cat) |
static int | unload_module (void) |
static int | write_config_file (void) |
Write the config file to disk. More... | |
Variables | |
static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_LOAD_ORDER , .description = "Config test module" , .key = "This paragraph is copyright (c) 2006 by Digium, Inc. \In order for your module to load, it must return this \key via a function called \"key\". Any code which \includes this paragraph must be licensed under the GNU \General Public License version 2 or later (at your \option). In addition to Digium's general reservations \of rights, Digium expressly reserves the right to \allow other parties to license this paragraph under \different terms. Any use of Digium, Inc. trademarks or \logos (including \"Asterisk\" or \"Digium\") without \express written permission of Digium, Inc. is prohibited.\n" , .buildopt_sum = AST_BUILDOPT_SUM, .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_DEFAULT, .support_level = AST_MODULE_SUPPORT_CORE, } |
static const struct ast_module_info * | ast_module_info = &__mod_info |
const char | cat1 [] = "Capitals" |
const char | cat1varname1 [] = "Germany" |
const char | cat1varname2 [] = "China" |
const char | cat1varname3 [] = "Canada" |
const char | cat1varvalue1 [] = "Berlin" |
const char | cat1varvalue2 [] = "Beijing" |
const char | cat1varvalue3 [] = "Ottawa" |
const char | cat2 [] = "Protagonists" |
const char | cat2varname1 [] = "1984" |
const char | cat2varname2 [] = "Green Eggs And Ham" |
const char | cat2varname3 [] = "The Kalevala" |
const char | cat2varvalue1 [] = "Winston Smith" |
const char | cat2varvalue2 [] = "Sam I Am" |
const char | cat2varvalue3 [] = "Vainamoinen" |
struct association | categories [] |
struct aco_file | config_test_conf |
static struct aco_type | global |
static struct aco_type | global_defaults |
static int | hook_config_sane |
static int | hook_run |
static struct aco_type | item |
static const char * | item_blacklist [] |
Configuration unit tests.
Definition in file test_config.c.
#define ACL_CONFIG_DENY "0.0.0.0/0" |
#define ACL_CONFIG_PERMIT "1.2.3.4/32" |
#define ACL_DEFAULT NULL |
#define BOOL_CONFIG "true" |
#define BOOL_DEFAULT "false" |
#define BOOLFLAG1 1 << 0 |
#define BOOLFLAG1_CONFIG "true" |
#define BOOLFLAG1_DEFAULT "false" |
#define BOOLFLAG2 1 << 1 |
#define BOOLFLAG2_CONFIG "false" |
#define BOOLFLAG2_DEFAULT "false" |
#define BOOLFLAG3 1 << 2 |
#define BOOLFLAG3_CONFIG "true" |
#define BOOLFLAG3_DEFAULT "false" |
#define CODEC_CONFIG "!all,ulaw,g729" |
#define CODEC_DEFAULT "!all,alaw" |
#define CONFIG_FILE "test_config.conf" |
Definition at line 51 of file test_config.c.
#define CONFIG_INCLUDE_FILE "test_config_include.conf" |
Definition at line 52 of file test_config.c.
#define CUSTOM_CONFIG "yes" |
#define CUSTOM_DEFAULT "no" |
#define DEFAULTVAL 42 |
Definition at line 1056 of file test_config.c.
#define DOUBLE_CONFIG "0.1" |
#define DOUBLE_DEFAULT "1.1" |
#define EPSILON 0.001 |
Definition at line 1057 of file test_config.c.
#define INT_CONFIG "-1" |
#define INT_DEFAULT "-2" |
#define NOT_EQUAL_FAIL | ( | field, | |
format | |||
) |
#define SOCKADDR_CONFIG "1.2.3.4:1234" |
#define SOCKADDR_DEFAULT "4.3.2.1:4321" |
#define STR_CONFIG "test" |
#define STR_DEFAULT "default" |
Definition at line 1059 of file test_config.c.
#define TIMELEN_CONFIG "1" |
#define TIMELEN_DEFAULT "2" |
#define TOOBIG_I32 "2147483649" |
Definition at line 1052 of file test_config.c.
#define TOOBIG_U32 "4294967297" |
Definition at line 1054 of file test_config.c.
#define TOOSMALL_I32 "-2147483649" |
Definition at line 1053 of file test_config.c.
#define TOOSMALL_U32 "-4294967297" |
Definition at line 1055 of file test_config.c.
#define UINT_CONFIG "1" |
#define UINT_DEFAULT "2" |
anonymous enum |
Enumerator | |
---|---|
EXPECT_FAIL | |
EXPECT_SUCCEED |
Definition at line 1047 of file test_config.c.
|
static |
Definition at line 2009 of file test_config.c.
|
static |
Definition at line 2009 of file test_config.c.
|
static |
struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 2009 of file test_config.c.
AST_TEST_DEFINE | ( | ast_parse_arg_test | ) |
Definition at line 1098 of file test_config.c.
References AST_TEST_NOT_RUN, AST_TEST_PASS, DEFAULTVAL, EXPECT_FAIL, EXPECT_SUCCEED, sip_to_pjsip::info(), PARSE_DEFAULT, PARSE_DOUBLE, PARSE_IN_RANGE, PARSE_INT32, PARSE_OUT_RANGE, PARSE_TIMELEN, PARSE_UINT32, TEST_EXECUTE, TEST_INIT, TEST_PARSE, TIMELEN_HOURS, TIMELEN_MILLISECONDS, TIMELEN_MINUTES, TOOBIG_I32, TOOBIG_U32, TOOSMALL_I32, and TOOSMALL_U32.
AST_TEST_DEFINE | ( | config_basic_ops | ) |
Definition at line 232 of file test_config.c.
References ast_category_append(), ast_category_browse(), ast_category_browse_filtered(), ast_category_delete(), ast_category_get(), ast_category_get_name(), ast_category_insert(), ast_category_new(), ast_config_destroy(), ast_config_new(), AST_TEST_FAIL, AST_TEST_NOT_RUN, AST_TEST_PASS, ast_test_status_update, ast_variable_append(), ast_variable_browse(), ast_variable_find_in_list(), ast_variable_find_last_in_list(), ast_variable_list_append_hint(), ast_variable_new, ast_variable_retrieve(), sip_to_pjsip::info(), NULL, out, TEST_EXECUTE, TEST_INIT, and var.
AST_TEST_DEFINE | ( | config_dialplan_function | ) |
Definition at line 1686 of file test_config.c.
References ast_config_AST_CONFIG_DIR, ast_free, ast_func_read2(), ast_str_buffer(), ast_str_create, ast_str_reset(), AST_TEST_FAIL, AST_TEST_NOT_RUN, AST_TEST_PASS, ast_test_status_update, buf, config_file, CONFIG_FILE, delete_config_file(), sip_to_pjsip::info(), NULL, out, PATH_MAX, TEST_EXECUTE, and TEST_INIT.
AST_TEST_DEFINE | ( | config_filtered_ops | ) |
Definition at line 565 of file test_config.c.
References ast_category_append(), ast_category_browse_filtered(), ast_category_delete(), ast_category_empty(), ast_category_get(), ast_category_get_name(), ast_category_new(), ast_config_destroy(), ast_config_new(), AST_TEST_FAIL, AST_TEST_NOT_RUN, AST_TEST_PASS, ast_test_status_update, ast_variable_find(), ast_variable_insert(), ast_variable_new, sip_to_pjsip::info(), NULL, out, TEST_EXECUTE, TEST_INIT, and value.
AST_TEST_DEFINE | ( | config_hook | ) |
Definition at line 956 of file test_config.c.
References ast_config_destroy(), ast_config_hook_register(), ast_config_hook_unregister(), ast_config_load, ast_config_load2(), AST_MODULE, AST_TEST_FAIL, AST_TEST_NOT_RUN, AST_TEST_PASS, ast_test_status_update, CONFIG_FILE, CONFIG_FLAG_FILEUNCHANGED, CONFIG_STATUS_FILEUNCHANGED, delete_config_file(), hook_cb(), hook_config_sane, hook_run, sip_to_pjsip::info(), out, TEST_EXECUTE, TEST_INIT, and write_config_file().
AST_TEST_DEFINE | ( | config_options_test | ) |
Definition at line 1482 of file test_config.c.
References ACL_CONFIG_DENY, ACL_CONFIG_PERMIT, ACL_DEFAULT, test_item::aclopt, ACO_EXACT, aco_info_destroy(), aco_info_init(), aco_option_register, aco_option_register_custom, aco_option_register_deprecated(), aco_process_config(), ACO_PROCESS_ERROR, ao2_cleanup, ao2_find, ao2_global_obj_ref, ao2_global_obj_release, ast_append_ha(), ast_apply_ha(), ast_format_cap_alloc, AST_FORMAT_CAP_FLAG_DEFAULT, ast_format_cap_get_names(), ast_format_cap_identical(), AST_FORMAT_CAP_NAMES_LEN, ast_format_cap_update_by_allow_disallow(), ast_free_ha(), ast_parse_arg(), ast_set2_flag, ast_sockaddr_cmp(), ast_sockaddr_parse(), ast_str_alloca, ast_string_field_free_memory, ast_string_field_init, ast_string_field_set, AST_TEST_FAIL, AST_TEST_NOT_RUN, AST_TEST_PASS, ast_test_status_update, ast_true(), BOOL_CONFIG, BOOL_DEFAULT, BOOLFLAG1, BOOLFLAG1_CONFIG, BOOLFLAG1_DEFAULT, BOOLFLAG2, BOOLFLAG2_CONFIG, BOOLFLAG2_DEFAULT, BOOLFLAG3, BOOLFLAG3_CONFIG, BOOLFLAG3_DEFAULT, test_item::boolopt, CODEC_CONFIG, CODEC_DEFAULT, test_item::codeccapopt, config_test_conf, configs, CUSTOM_CONFIG, CUSTOM_DEFAULT, test_item::customopt, customopt_handler(), DOUBLE_CONFIG, DOUBLE_DEFAULT, test_item::doubleopt, error(), test_item::flags, FLDSET, sip_to_pjsip::info(), INT_CONFIG, INT_DEFAULT, test_item::intopt, item, NOT_EQUAL_FAIL, NULL, OBJ_KEY, OPT_ACL_T, OPT_BOOL_T, OPT_BOOLFLAG_T, OPT_CODEC_T, OPT_DOUBLE_T, OPT_INT_T, OPT_SOCKADDR_T, OPT_STRINGFIELD_T, OPT_TIMELEN_T, OPT_UINT_T, PARSE_ADDR, PARSE_DOUBLE, PARSE_INT32, PARSE_PORT_FORBID, PARSE_TIMELEN, PARSE_UINT32, RAII_VAR, SOCKADDR_CONFIG, SOCKADDR_DEFAULT, test_item::sockaddropt, STR_CONFIG, STR_DEFAULT, STRFLDSET, test_item::stropt, TEST_EXECUTE, TEST_INIT, TIMELEN_CONFIG, TIMELEN_DEFAULT, TIMELEN_HOURS, TIMELEN_MILLISECONDS, TIMELEN_MINUTES, TIMELEN_SECONDS, test_item::timelenopt1, test_item::timelenopt2, test_item::timelenopt3, test_item::timelenopt4, aco_file::types, UINT_CONFIG, UINT_DEFAULT, and test_item::uintopt.
AST_TEST_DEFINE | ( | config_save | ) |
Definition at line 885 of file test_config.c.
References ast_config_AST_CONFIG_DIR, ast_config_destroy(), ast_config_load, ast_config_text_file_save(), ast_include_new(), AST_TEST_FAIL, AST_TEST_NOT_RUN, AST_TEST_PASS, ast_test_status_update, CONFIG_FILE, config_filename, CONFIG_INCLUDE_FILE, sip_to_pjsip::info(), NULL, out, PATH_MAX, TEST_EXECUTE, TEST_INIT, and write_config_file().
AST_TEST_DEFINE | ( | config_template_ops | ) |
Definition at line 707 of file test_config.c.
References ast_category_append(), ast_category_browse_filtered(), ast_category_get_name(), ast_category_new(), ast_category_new_template(), ast_config_destroy(), ast_config_new(), AST_TEST_FAIL, AST_TEST_NOT_RUN, AST_TEST_PASS, ast_test_status_update, ast_variable_find(), ast_variable_insert(), ast_variable_new, sip_to_pjsip::info(), NULL, out, TEST_EXECUTE, TEST_INIT, and value.
AST_TEST_DEFINE | ( | copy_config | ) |
Definition at line 192 of file test_config.c.
References ast_config_copy(), ast_config_destroy(), AST_TEST_FAIL, AST_TEST_NOT_RUN, AST_TEST_PASS, build_cfg(), copy(), sip_to_pjsip::info(), NULL, out, test_config_validity(), TEST_EXECUTE, and TEST_INIT.
AST_TEST_DEFINE | ( | variable_list_from_string | ) |
Definition at line 1947 of file test_config.c.
References ast_free, ast_str_buffer(), AST_TEST_NOT_RUN, AST_TEST_PASS, ast_variable_list_from_quoted_string(), ast_variable_list_join(), ast_variables_destroy(), sip_to_pjsip::info(), NULL, RAII_VAR, str, TEST_EXECUTE, and TEST_INIT.
AST_TEST_DEFINE | ( | variable_list_join_replace | ) |
Definition at line 1896 of file test_config.c.
References ast_free, AST_MAX_USER_FIELD, ast_str_buffer(), ast_str_create, AST_TEST_NOT_RUN, AST_TEST_PASS, ast_variable_list_append, ast_variable_list_join(), ast_variable_list_replace_variable(), ast_variable_new, ast_variables_destroy(), sip_to_pjsip::info(), NULL, RAII_VAR, str, TEST_EXECUTE, and TEST_INIT.
AST_TEST_DEFINE | ( | variable_lists_match | ) |
Definition at line 1836 of file test_config.c.
References AST_TEST_NOT_RUN, AST_TEST_PASS, ast_variable_list_append, ast_variable_lists_match(), ast_variable_new, ast_variables_destroy(), sip_to_pjsip::info(), NULL, RAII_VAR, TEST_EXECUTE, TEST_INIT, and var.
|
static |
Build ast_config struct from above definitions.
NULL | Failed to build the config |
non-NULL | An ast_config struct populated with data |
Definition at line 115 of file test_config.c.
References ARRAY_LEN, ast_category_append(), ast_category_new(), ast_config_destroy(), ast_config_new(), ast_variable_append(), ast_variable_new, categories, association::category, pair::name, NULL, pair::val, var, and association::vars.
Referenced by AST_TEST_DEFINE().
CONFIG_INFO_TEST | ( | cfg_info | , |
global_obj | , | ||
test_config_alloc | , | ||
. | files = ACO_FILES(&config_test_conf) |
||
) |
|
static |
Definition at line 1433 of file test_config.c.
References ast_true(), item, and var.
Referenced by AST_TEST_DEFINE().
|
static |
Delete config file created by write_config_file.
Definition at line 856 of file test_config.c.
References ast_config_AST_CONFIG_DIR, CONFIG_FILE, and PATH_MAX.
Referenced by AST_TEST_DEFINE().
|
static |
Definition at line 875 of file test_config.c.
References ast_config_destroy(), hook_config_sane, hook_run, and test_config_validity().
Referenced by ast_bridge_move_hook(), ast_bridge_talk_detector_hook(), ast_config_hook_register(), and AST_TEST_DEFINE().
|
static |
Definition at line 1992 of file test_config.c.
References AST_MODULE_LOAD_SUCCESS, and AST_TEST_REGISTER.
|
static |
Definition at line 1407 of file test_config.c.
References ao2_alloc, AO2_ALLOC_OPT_LOCK_MUTEX, ao2_cleanup, ao2_container_alloc_list, error(), test_config::global, test_config::global_defaults, test_config::items, NULL, test_config_destructor(), test_item_alloc(), and test_item_cmp().
|
static |
Definition at line 1400 of file test_config.c.
References ao2_cleanup, test_config::global, test_config::global_defaults, and test_config::items.
Referenced by test_config_alloc().
|
static |
Tests that the contents of an ast_config is what is expected.
cfg | Config to test |
-1 | Failed to pass a test |
0 | Config passes checks |
Definition at line 164 of file test_config.c.
References ARRAY_LEN, ast_category_browse(), ast_log, ast_variable_browse(), categories, LOG_ERROR, pair::name, NULL, pair::val, var, and association::vars.
Referenced by AST_TEST_DEFINE(), and hook_cb().
|
static |
Definition at line 1383 of file test_config.c.
References ao2_alloc, ao2_ref, ast_format_cap_alloc, AST_FORMAT_CAP_FLAG_DEFAULT, ast_string_field_init, ast_string_field_set, item, name, NULL, and test_item_destructor().
Referenced by test_config_alloc().
|
static |
Definition at line 1367 of file test_config.c.
References CMP_MATCH, CMP_STOP, test_item::flags, match(), test_item::name, and OBJ_KEY.
Referenced by test_config_alloc().
|
static |
Definition at line 1373 of file test_config.c.
References ao2_cleanup, ast_free_ha(), ast_string_field_free_memory, and item.
Referenced by test_item_alloc().
|
static |
Definition at line 1428 of file test_config.c.
|
static |
Definition at line 1975 of file test_config.c.
References AST_TEST_UNREGISTER.
|
static |
Write the config file to disk.
This is necessary for testing config hooks since they are only triggered when a config is read from its intended storage medium
Definition at line 825 of file test_config.c.
References ARRAY_LEN, ast_config_AST_CONFIG_DIR, categories, config_file, CONFIG_FILE, name, and PATH_MAX.
Referenced by AST_TEST_DEFINE().
|
static |
Definition at line 2009 of file test_config.c.
|
static |
Definition at line 2009 of file test_config.c.
const char cat1[] = "Capitals" |
Definition at line 68 of file test_config.c.
const char cat1varname1[] = "Germany" |
Definition at line 69 of file test_config.c.
const char cat1varname2[] = "China" |
Definition at line 71 of file test_config.c.
const char cat1varname3[] = "Canada" |
Definition at line 73 of file test_config.c.
const char cat1varvalue1[] = "Berlin" |
Definition at line 70 of file test_config.c.
const char cat1varvalue2[] = "Beijing" |
Definition at line 72 of file test_config.c.
const char cat1varvalue3[] = "Ottawa" |
Definition at line 74 of file test_config.c.
const char cat2[] = "Protagonists" |
Definition at line 76 of file test_config.c.
const char cat2varname1[] = "1984" |
Definition at line 77 of file test_config.c.
const char cat2varname2[] = "Green Eggs And Ham" |
Definition at line 79 of file test_config.c.
const char cat2varname3[] = "The Kalevala" |
Definition at line 81 of file test_config.c.
const char cat2varvalue1[] = "Winston Smith" |
Definition at line 78 of file test_config.c.
const char cat2varvalue2[] = "Sam I Am" |
Definition at line 80 of file test_config.c.
const char cat2varvalue3[] = "Vainamoinen" |
Definition at line 82 of file test_config.c.
struct association categories[] |
struct aco_file config_test_conf |
Definition at line 1472 of file test_config.c.
Referenced by AST_TEST_DEFINE().
|
static |
Definition at line 1445 of file test_config.c.
Referenced by custom_bitfield_handler(), custom_nameserver_handler(), general_handler(), global_bitfield_handler(), pbx_builtin_setvar(), pickup_handler(), skel_global_config_destructor(), unbound_global_config_destructor(), and xfer_handler().
|
static |
Definition at line 1451 of file test_config.c.
|
static |
Definition at line 873 of file test_config.c.
Referenced by AST_TEST_DEFINE(), and hook_cb().
|
static |
Definition at line 867 of file test_config.c.
Referenced by AST_TEST_DEFINE(), and hook_cb().
|
static |
Definition at line 1463 of file test_config.c.
Referenced by ael2_semantic_check(), agent_function_read(), application_tuple_cmp(), applicationmap_handler(), applicationmap_item_alloc(), ast_applicationmap_item_destructor(), ast_context_find(), ast_get_chan_applicationmap(), ast_get_feature(), ast_process_pending_reloads(), AST_TEST_DEFINE(), ast_variable_list_from_quoted_string(), ast_xml_doc_item_alloc(), ast_xml_doc_item_hash(), ast_xmldoc_build_documentation(), ast_xmldoc_regenerate_doc_item(), build_cli_notify(), build_config_docs(), check_break(), check_continue(), check_goto(), check_label(), check_match(), check_pval(), check_pval_item(), check_switch_expr(), cli_show_module_options(), cli_show_module_type(), cli_show_module_types(), cli_show_modules(), conf_free(), conf_run(), container_to_json_array(), contains_switch(), customopt_handler(), destroy_pval(), destroy_pval_item(), do_directory(), featuregroup_handler(), featuregroup_item_destructor(), find_context(), find_context_locked(), find_pval_goto_item(), find_pval_gotos(), find_switch_item(), get_goto_target(), handle_manager_show_event(), handle_manager_show_events(), hsearch(), in_context(), in_macro(), item_in_vector(), list_item_handler(), load_config(), match_pval(), match_pval_item(), named_acl_find_realtime(), notify_option_handler(), print_applicationmap(), print_featuregroup(), print_pval(), print_pval_list(), queue_reload_request(), resource_event_handler(), search_directory_sub(), select_entry(), select_item_menu(), select_item_seq(), setup_dynamic_feature(), test_item_alloc(), test_item_destructor(), tlist_add_head(), tlist_del_item(), traverse_pval_item_template(), traverse_pval_template(), type_in_list(), xmldoc_build_documentation_item(), xmpp_client_unsubscribe_user(), xmpp_component_service_discovery_get_hook(), xmpp_component_service_discovery_items_hook(), xmpp_pubsub_build_publish_skeleton(), xmpp_pubsub_delete_node_list(), xmpp_pubsub_handle_event(), xmpp_pubsub_receive_node_list(), and xmpp_roster_hook().
|
static |
Definition at line 1457 of file test_config.c.