Asterisk - The Open Source Telephony Project GIT-master-3dae2cf
|
Prototypes for public functions only of internal interest,. More...
Go to the source code of this file.
Functions | |
int | aco_init (void) |
void | ast_autoservice_init (void) |
int | ast_bridging_init (void) |
Initialize the bridging system. More... | |
void | ast_builtins_init (void) |
initialize the _full_cmd string in * each of the builtins. More... | |
int | ast_channels_init (void) |
void | ast_cli_channels_init (void) |
int | ast_cli_perms_init (int reload) |
int | ast_device_state_engine_init (void) |
Initialize the device state engine in separate thread. More... | |
int | ast_dns_system_resolver_init (void) |
Initializes the resolver. More... | |
int | ast_endpoint_init (void) |
Endpoint support initialization. More... | |
int | ast_file_init (void) |
int | ast_local_init (void) |
Initialize the local proxy channel. More... | |
int | ast_msg_init (void) |
void | ast_msg_shutdown (void) |
int | ast_named_locks_init (void) |
int | ast_parking_stasis_init (void) |
initializes the rtp engine arrays More... | |
int | ast_pj_init (void) |
void | ast_process_pending_reloads (void) |
Process reload requests received during startup. More... | |
int | ast_refer_init (void) |
int | ast_rtp_engine_init (void) |
initializes the rtp engine arrays More... | |
int | ast_ssl_init (void) |
void | ast_stun_init (void) |
Initialize the STUN system in Asterisk. More... | |
int | ast_term_init (void) |
int | ast_test_init (void) |
int | ast_timing_init (void) |
int | ast_tps_init (void) |
int | ast_xmldoc_load_documentation (void) |
Load XML documentation. Provided by xmldoc.c. More... | |
int | astdb_init (void) |
int | astobj2_init (void) |
void | clean_time_zones (void) |
void | close_logger (void) |
int | dns_core_init (void) |
void | dnsmgr_start_refresh (void) |
int | init_logger (void) |
void | load_asterisk_conf (void) |
void | load_astmm_phase_1 (void) |
Initialize malloc debug phase 1. More... | |
void | load_astmm_phase_2 (void) |
Initialize malloc debug phase 2. More... | |
int | load_modules (void) |
int | load_pbx (void) |
int | load_pbx_app (void) |
int | load_pbx_builtins (void) |
int | load_pbx_functions_cli (void) |
int | load_pbx_hangup_handler (void) |
int | load_pbx_switch (void) |
int | load_pbx_variables (void) |
void | logger_queue_start (void) |
Start the ast_queue_log() logger. More... | |
int | modules_shutdown (void) |
void | set_asterisk_conf_path (const char *path) |
void | set_socket_path (const char *path) |
void | threadstorage_init (void) |
Prototypes for public functions only of internal interest,.
Definition in file _private.h.
int aco_init | ( | void | ) |
Provided by config_options.c
Definition at line 1428 of file config_options.c.
References aco_deinit(), ARRAY_LEN, ast_cli_register_multiple, ast_log, ast_register_cleanup(), ast_xmldoc_build_documentation(), cli_aco, LOG_ERROR, and xmldocs.
Referenced by asterisk_daemon().
void ast_autoservice_init | ( | void | ) |
Provided by autoservice.c
Definition at line 387 of file autoservice.c.
References as_cond, ast_cond_init, ast_register_cleanup(), autoservice_shutdown(), and NULL.
Referenced by asterisk_daemon().
int ast_bridging_init | ( | void | ) |
Initialize the bridging system.
0 | on success. |
-1 | on error. |
Definition at line 5543 of file bridge.c.
References AO2_ALLOC_OPT_LOCK_MUTEX, AO2_CONTAINER_ALLOC_OPT_DUPS_REPLACE, ao2_container_alloc_rbtree, ao2_container_register(), ARRAY_LEN, ast_bridging_init_basic(), ast_cli_register_multiple, ast_manager_register_xml_core, ast_register_cleanup(), ast_stasis_bridging_init(), bridge_cleanup(), bridge_cli, bridge_manager, bridge_manager_create(), bridge_prnt_obj(), bridge_sort_cmp(), bridges, manager_bridge_tech_list(), manager_bridge_tech_suspend(), manager_bridge_tech_unsuspend(), and NULL.
Referenced by asterisk_daemon().
void ast_builtins_init | ( | void | ) |
initialize the _full_cmd string in * each of the builtins.
Provided by cli.c
Definition at line 2245 of file main/cli.c.
References ARRAY_LEN, ast_cli_register_multiple, ast_register_cleanup(), AST_VECTOR_INIT, cli_cli, cli_shutdown(), and shutdown_commands.
Referenced by asterisk_daemon().
int ast_channels_init | ( | void | ) |
Provided by channel.c
Definition at line 8029 of file channel.c.
References ami_vars, AO2_ALLOC_OPT_LOCK_MUTEX, ao2_container_alloc_hash, ao2_container_register(), ari_vars, ARRAY_LEN, ast_channel_cmp_cb(), ast_channel_hash_cb(), ast_channel_register(), ast_cli_register_multiple, AST_NUM_CHANNEL_BUCKETS, ast_register_cleanup(), AST_RWLIST_HEAD_INIT, ast_stasis_channels_init(), channels, channels_shutdown(), cli_channel, NULL, prnt_channel_key(), and surrogate_tech.
Referenced by asterisk_daemon().
void ast_cli_channels_init | ( | void | ) |
Provided by cli.c
Definition at line 2252 of file main/cli.c.
References ARRAY_LEN, ast_cli_register_multiple, ast_register_cleanup(), cli_channels_cli, and cli_channels_shutdown().
Referenced by asterisk_daemon().
int ast_cli_perms_init | ( | int | reload | ) |
Provided by cli.c
Definition at line 2112 of file main/cli.c.
References ast_calloc, ast_category_browse(), ast_config_destroy(), ast_config_load2(), ast_free, AST_LIST_INSERT_TAIL, AST_LIST_TRAVERSE, ast_log, ast_mutex_trylock, ast_mutex_unlock, AST_RWLIST_INSERT_TAIL, AST_RWLIST_UNLOCK, AST_RWLIST_WRLOCK, ast_strdup, ast_strlen_zero(), ast_variable_browse(), cli_default_perm, cli_perm::command, CONFIG_FLAG_FILEUNCHANGED, CONFIG_STATUS_FILEUNCHANGED, destroy_user_perms(), usergroup_cli_perm::gid, LOG_NOTICE, LOG_WARNING, ast_variable::name, ast_variable::next, NULL, cli_perm::permit, usergroup_cli_perm::perms, perms_config, permsconfiglock, reload(), usergroup_cli_perm::uid, and ast_variable::value.
Referenced by asterisk_daemon(), and handle_cli_reload_permissions().
int ast_device_state_engine_init | ( | void | ) |
Initialize the device state engine in separate thread.
Provided by devicestate.c
Definition at line 618 of file devicestate.c.
References ast_cond_init, ast_log, ast_pthread_create_background, ast_register_cleanup(), change_pending, change_thread, device_state_engine_cleanup(), do_devstate_changes(), LOG_ERROR, and NULL.
Referenced by asterisk_daemon().
int ast_dns_system_resolver_init | ( | void | ) |
Initializes the resolver.
Provided by dns_system_resolver.c
0 | on success |
-1 | on failure |
Definition at line 244 of file dns_system_resolver.c.
References ast_dns_resolver_register(), ast_register_cleanup(), ast_taskprocessor_get(), dns_system_resolver_base, dns_system_resolver_destroy(), DNS_SYSTEM_RESOLVER_FAILURE, DNS_SYSTEM_RESOLVER_SUCCESS, dns_system_resolver_tp, and TPS_REF_DEFAULT.
Referenced by asterisk_daemon().
int ast_endpoint_init | ( | void | ) |
Endpoint support initialization.
Definition at line 496 of file main/endpoints.c.
References AO2_ALLOC_OPT_LOCK_MUTEX, ao2_container_alloc_hash, ast_register_cleanup(), ENDPOINT_BUCKETS, endpoint_cleanup(), endpoints, NULL, TECH_ENDPOINT_BUCKETS, and tech_endpoints.
Referenced by asterisk_daemon().
int ast_file_init | ( | void | ) |
Provided by file.c
Definition at line 2051 of file file.c.
References ARRAY_LEN, ast_cli_register_multiple, ast_format_register_type(), ast_format_unregister_type(), ast_register_cleanup(), cli_file, file_shutdown(), and STASIS_MESSAGE_TYPE_INIT.
Referenced by asterisk_daemon().
int ast_local_init | ( | void | ) |
Initialize the local proxy channel.
0 | on success. |
-1 | on error. |
Definition at line 1139 of file core_local.c.
References AO2_ALLOC_OPT_LOCK_MUTEX, ao2_container_alloc_list, ARRAY_LEN, ast_channel_register(), ast_cli_register_multiple, ast_format_cap_alloc, ast_format_cap_append_by_type(), AST_FORMAT_CAP_FLAG_DEFAULT, ast_local_bridge_type(), ast_local_optimization_begin_type(), ast_local_optimization_end_type(), ast_log, ast_manager_register_xml_core, AST_MEDIA_TYPE_UNKNOWN, ast_register_cleanup(), ast_channel_tech::capabilities, cli_local, EVENT_FLAG_CALL, EVENT_FLAG_SYSTEM, local_shutdown(), local_tech, locals, locals_cmp_cb(), LOG_ERROR, manager_optimize_away(), NULL, and STASIS_MESSAGE_TYPE_INIT.
Referenced by asterisk_daemon().
int ast_msg_init | ( | void | ) |
Provided by message.c
Definition at line 1758 of file main/message.c.
References __ast_custom_function_register(), action_messagesend(), app_msg_send, ast_manager_register_xml_core, ast_msg_handler_register(), ast_register_application2(), ast_register_cleanup(), ast_rwlock_init, ast_taskprocessor_get(), AST_VECTOR_INIT, dialplan_msg_handler, EVENT_FLAG_MESSAGE, message_shutdown(), msg_data_function, msg_function, msg_handlers, msg_handlers_lock, msg_q_tp, msg_send_exec(), msg_techs, msg_techs_lock, NULL, and TPS_REF_DEFAULT.
Referenced by asterisk_daemon().
void ast_msg_shutdown | ( | void | ) |
Provided by message.c
Definition at line 1717 of file main/message.c.
References ast_taskprocessor_unreference(), and msg_q_tp.
Referenced by can_safely_quit().
int ast_named_locks_init | ( | void | ) |
Provided by named_locks.c
Definition at line 52 of file named_locks.c.
References AO2_ALLOC_OPT_LOCK_MUTEX, ao2_container_alloc_hash, ast_register_cleanup(), named_locks, NAMED_LOCKS_BUCKETS, named_locks_shutdown(), and NULL.
Referenced by asterisk_daemon().
int ast_parking_stasis_init | ( | void | ) |
initializes the rtp engine arrays
Definition at line 53 of file parking.c.
References ast_parked_call_type(), ast_register_cleanup(), parking_stasis_cleanup(), parking_topic, STASIS_MESSAGE_TYPE_INIT, and stasis_topic_create().
Referenced by asterisk_daemon().
int ast_pj_init | ( | void | ) |
Provided by libasteriskpj.c
Definition at line 45 of file libasteriskpj.c.
References AST_PJPROJECT_INIT_LOG_LEVEL.
Referenced by asterisk_daemon().
void ast_process_pending_reloads | ( | void | ) |
Process reload requests received during startup.
This function requests that the loader execute the pending reload requests that were queued during server startup.
Definition at line 1566 of file loader.c.
References ast_free, AST_LIST_LOCK, AST_LIST_REMOVE_HEAD, AST_LIST_UNLOCK, ast_log, ast_module_reload(), do_full_reload, item, LOG_NOTICE, modules_loaded, and NULL.
Referenced by asterisk_daemon().
int ast_refer_init | ( | void | ) |
Provided by refer.c
Definition at line 529 of file refer.c.
References ast_register_cleanup(), ast_rwlock_init, AST_VECTOR_INIT, refer_shutdown(), refer_techs, and refer_techs_lock.
Referenced by asterisk_daemon().
int ast_rtp_engine_init | ( | void | ) |
initializes the rtp engine arrays
Definition at line 3840 of file rtp_engine.c.
References add_static_payload(), ast_debug_category_register(), ast_format_adpcm, ast_format_alaw, ast_format_g719, ast_format_g722, ast_format_g723, ast_format_g726, ast_format_g726_aal2, ast_format_g729, ast_format_gsm, ast_format_h261, ast_format_h263, ast_format_h263p, ast_format_h264, ast_format_h265, ast_format_ilbc, ast_format_jpeg, ast_format_lpc10, ast_format_mp4, ast_format_opus, ast_format_png, ast_format_siren14, ast_format_siren7, ast_format_slin, ast_format_slin12, ast_format_slin16, ast_format_slin192, ast_format_slin24, ast_format_slin32, ast_format_slin44, ast_format_slin48, ast_format_slin96, ast_format_speex, ast_format_speex16, ast_format_speex32, ast_format_t140, ast_format_t140_red, ast_format_ulaw, ast_format_vp8, ast_format_vp9, AST_LOG_CATEGORY_DTLS, AST_LOG_CATEGORY_DTLS_PACKET, AST_LOG_CATEGORY_ICE, AST_LOG_CATEGORY_RTCP, AST_LOG_CATEGORY_RTCP_PACKET, AST_LOG_CATEGORY_RTP, AST_LOG_CATEGORY_RTP_PACKET, ast_register_atexit(), ast_register_cleanup(), AST_RTP_CISCO_DTMF, AST_RTP_CN, AST_RTP_DTMF, ast_rtp_rtcp_received_type(), ast_rtp_rtcp_sent_type(), ast_rwlock_init, debug_category_dtls_id, debug_category_dtls_packet_id, debug_category_ice_id, debug_category_rtcp_id, debug_category_rtcp_packet_id, debug_category_rtp_id, debug_category_rtp_packet_id, mime_types_lock, NULL, rtp_engine_atexit(), rtp_engine_shutdown(), rtp_topic, set_next_mime_type(), STASIS_MESSAGE_TYPE_INIT, stasis_topic_create(), and static_RTP_PT_lock.
Referenced by asterisk_daemon().
int ast_ssl_init | ( | void | ) |
Provided by ssl.c
Definition at line 205 of file libasteriskssl.c.
Referenced by asterisk_daemon().
void ast_stun_init | ( | void | ) |
Initialize the STUN system in Asterisk.
Provided by stun.c
Definition at line 576 of file stun.c.
References ast_cli_register_multiple, ast_debug_category_register(), AST_LOG_CATEGORY_STUN, AST_LOG_CATEGORY_STUN_PACKET, ast_register_atexit(), cli_stun, debug_category_stun_id, debug_category_stun_packet_id, and stun_shutdown().
Referenced by asterisk_daemon().
int ast_term_init | ( | void | ) |
Provided by term.c
Definition at line 165 of file term.c.
References ast_opt_console, ast_opt_force_black_background, ast_opt_light_background, ast_opt_no_color, ATTR_RESET, COLOR_BLACK, COLOR_WHITE, end, enddata, ESC, parse_terminfo_file(), quitdata, termpath, and vt100compat.
Referenced by ast_remotecontrol(), asterisk_daemon(), and main().
int ast_test_init | ( | void | ) |
Provided by test.c
Definition at line 1482 of file test.c.
References ARRAY_LEN, ast_cli_register_multiple, ast_register_cleanup(), AST_TEST_REGISTER, STASIS_MESSAGE_TYPE_INIT, and stasis_topic_create().
Referenced by asterisk_daemon().
int ast_timing_init | ( | void | ) |
Provided by timing.c
Definition at line 289 of file timing.c.
References ARRAY_LEN, ast_cli_register_multiple, ast_heap_create, ast_register_cleanup(), cli_timing, timing_holder_cmp(), timing_interfaces, and timing_shutdown().
Referenced by asterisk_daemon().
int ast_tps_init | ( | void | ) |
Provided by taskprocessor.c
Definition at line 368 of file taskprocessor.c.
References AO2_ALLOC_OPT_LOCK_MUTEX, ao2_container_alloc_hash, ao2_ref, ARRAY_LEN, ast_cli_register_multiple, ast_cond_init, ast_log, ast_register_cleanup(), AST_VECTOR_RW_INIT, LOG_ERROR, NULL, taskprocessor_clis, tps_cmp_cb(), tps_hash_cb(), TPS_MAX_BUCKETS, and tps_shutdown().
Referenced by asterisk_daemon().
int ast_xmldoc_load_documentation | ( | void | ) |
Load XML documentation. Provided by xmldoc.c.
1 | on error. |
0 | on success. |
Definition at line 3047 of file xmldoc.c.
References xmldoc_load_documentation().
Referenced by asterisk_daemon().
int astdb_init | ( | void | ) |
Provided by db.c
Definition at line 1256 of file main/db.c.
References ARRAY_LEN, ast_cli_register_multiple, ast_cond_init, ast_manager_register_xml_core, ast_pthread_create_background, ast_register_atexit(), astdb_atexit(), cli_database, db_init(), db_sync_thread(), dbcond, EVENT_FLAG_REPORTING, EVENT_FLAG_SYSTEM, manager_db_tree_get(), manager_dbdel(), manager_dbdeltree(), manager_dbget(), manager_dbput(), NULL, and syncthread.
Referenced by asterisk_daemon().
int astobj2_init | ( | void | ) |
Provided by astobj2.c
Definition at line 1169 of file astobj2.c.
References ARRAY_LEN, ast_cli_register_multiple, ast_config_AST_LOG_DIR, ast_log, ast_opt_ref_debug, ast_register_cleanup(), astobj2_cleanup(), container_init(), LOG_ERROR, NULL, and ref_log.
Referenced by asterisk_daemon().
void clean_time_zones | ( | void | ) |
Provided by localtime.c
Definition at line 1590 of file localtime.c.
References AST_LIST_LOCK, AST_LIST_REMOVE_HEAD, AST_LIST_UNLOCK, state::list, and sstate_free().
Referenced by really_quit().
void close_logger | ( | void | ) |
Provided by logger.c
Definition at line 2245 of file logger.c.
References ARRAY_LEN, ast_cli_unregister_multiple(), ast_cond_signal, ast_custom_function_unregister(), ast_free, AST_LIST_LOCK, AST_LIST_REMOVE_HEAD, AST_LIST_UNLOCK, ast_logger_category_unload(), AST_PTHREADT_NULL, AST_RWLIST_UNLOCK, AST_RWLIST_WRLOCK, callid_group_remove_filters(), cli_logger, close_logger_thread, logchannel::fileptr, logchannel::list, log_group_function, logcond, logger_initialized, logthread, NULL, and qlog.
Referenced by really_quit().
int dns_core_init | ( | void | ) |
Provided by dns_core.c
Definition at line 616 of file dns_core.c.
References ast_register_cleanup(), ast_sched_context_create(), ast_sched_start_thread(), and dns_shutdown().
Referenced by asterisk_daemon().
void dnsmgr_start_refresh | ( | void | ) |
Provided by dnsmgr.c
Definition at line 302 of file dnsmgr.c.
References ast_sched_add_variable(), AST_SCHED_DEL, master_refresh_info, refresh_list(), and refresh_sched.
Referenced by asterisk_daemon().
int init_logger | ( | void | ) |
Provided by logger.c
Definition at line 2202 of file logger.c.
References ARRAY_LEN, ast_cli_register_multiple, ast_cond_destroy, ast_cond_init, ast_config_AST_LOG_DIR, ast_custom_function_register, ast_log(), ast_logger_category_load(), ast_mkdir(), ast_mutex_destroy, ast_mutex_init, ast_pthread_create, AST_RWLIST_UNLOCK, AST_RWLIST_WRLOCK, ast_verb_update(), cli_logger, handle_SIGXFSZ, init_logger_chain(), logmsgs::lock, LOG_ERROR, log_group_function, logcond, logger_initialized, logger_thread(), logthread, and NULL.
Referenced by asterisk_daemon().
void load_asterisk_conf | ( | void | ) |
Definition at line 210 of file options.c.
References _cfg_paths::agi_dir, AST_CACHE_DIR_LEN, ast_clear_flag, ast_config_AST_CONFIG_FILE, ast_config_AST_CTL, ast_config_AST_RUN_DIR, ast_config_AST_SYSTEM_NAME, ast_config_destroy(), ast_config_load2(), ast_copy_string(), ast_defaultlanguage, ast_eid_default, ast_language_is_prefix, AST_LOCK_TYPE_FLOCK, AST_LOCK_TYPE_LOCKFILE, ast_log, AST_MIN_DTMF_DURATION, AST_OPT_FLAG_ALWAYS_FORK, AST_OPT_FLAG_CACHE_MEDIA_FRAMES, AST_OPT_FLAG_CACHE_RECORD_FILES, AST_OPT_FLAG_CONSOLE, AST_OPT_FLAG_DONT_WARN, AST_OPT_FLAG_DUMP_CORE, AST_OPT_FLAG_EXEC_INCLUDES, AST_OPT_FLAG_FORCE_BLACK_BACKGROUND, AST_OPT_FLAG_HIDE_CONSOLE_CONNECT, AST_OPT_FLAG_HIDE_MESSAGING_AMI_EVENTS, AST_OPT_FLAG_HIGH_PRIORITY, AST_OPT_FLAG_INIT_KEYS, AST_OPT_FLAG_LIGHT_BACKGROUND, AST_OPT_FLAG_LOCK_CONFIG_DIR, AST_OPT_FLAG_NO_COLOR, AST_OPT_FLAG_NO_FORK, AST_OPT_FLAG_QUIET, AST_OPT_FLAG_REF_DEBUG, AST_OPT_FLAG_SOUNDS_SEARCH_CUSTOM, AST_OPT_FLAG_STDEXTEN_MACRO, AST_OPT_FLAG_TIMESTAMP, AST_OPT_FLAG_TRANSCODE_VIA_SLIN, AST_OPT_FLAG_TRANSMIT_SILENCE, ast_opt_remote, ast_option_maxcalls, ast_option_maxfiles, ast_option_maxload, ast_option_rtpptdynamic, ast_option_rtpusedynamic, ast_options, ast_parse_arg(), AST_RTP_PT_FIRST_DYNAMIC, ast_set2_flag, ast_set_default_eid(), ast_set_flag, ast_set_lock_type(), ast_str_to_eid(), ast_strlen_zero(), ast_true(), ast_variable_browse(), astman_live_dangerously(), _cfg_paths::cache_dir, cfg_paths, _cfg_paths::config_dir, CONFIG_FLAG_NOREALTIME, CONFIG_STATUS_FILEINVALID, CONFIG_STATUS_FILEMISSING, CONFIG_STATUS_FILEUNCHANGED, _cfg_paths::ctl_file, _cfg_paths::ctl_group, _cfg_paths::ctl_owner, _cfg_paths::ctl_perms, _cfg_paths::data_dir, _cfg_paths::db_path, getloadavg(), hostname, _cfg_paths::key_dir, live_dangerously, _cfg_paths::log_dir, LOG_ERROR, LOG_WARNING, MAX_LANGUAGE, MAXHOSTNAMELEN, _cfg_paths::module_dir, _cfg_paths::monitor_dir, ast_variable::name, ast_variable::next, option_debug, option_dtmfminduration, option_minmemfree, option_trace, option_verbose, PARSE_IN_RANGE, PARSE_UINT32, pbx_live_dangerously(), _cfg_paths::pid_path, record_cache_dir, _cfg_paths::recording_dir, _cfg_paths::run_dir, _cfg_paths::run_group, _cfg_paths::run_user, _cfg_paths::sbin_dir, set_ulimit(), _cfg_paths::socket_path, _cfg_paths::spool_dir, _cfg_paths::system_name, ast_variable::value, and _cfg_paths::var_dir.
Referenced by main().
void load_astmm_phase_1 | ( | void | ) |
Initialize malloc debug phase 1.
Definition at line 1525 of file astmm.c.
Referenced by asterisk_daemon().
void load_astmm_phase_2 | ( | void | ) |
Initialize malloc debug phase 2.
Definition at line 1529 of file astmm.c.
Referenced by asterisk_daemon().
int load_modules | ( | void | ) |
Provided by loader.c
Definition at line 2508 of file loader.c.
References AO2_ALLOC_OPT_LOCK_NOLOCK, ao2_container_alloc_list, ast_copy_string(), ast_debug, AST_DLLIST_LOCK, AST_DLLIST_TRAVERSE, AST_DLLIST_UNLOCK, ast_free, AST_LIST_HEAD_INIT_NOLOCK, AST_LIST_REMOVE_HEAD, AST_LIST_TRAVERSE, ast_log, AST_MODULE_SUPPORT_DEPRECATED, ast_str_append(), ast_str_buffer(), ast_str_create, ast_str_reset(), ast_str_strlen(), ast_strlen_zero(), ast_tvdiff_us(), ast_tvnow(), AST_VECTOR_FREE, AST_VECTOR_GET, AST_VECTOR_INIT, AST_VECTOR_SIZE, ast_verb, ast_xml_find_element(), ast_xml_get_text(), ast_xml_node_get_children(), ast_xml_xpath_get_first_result(), ast_xml_xpath_results_free(), ast_xmldoc_query(), ast_module::declined, done, ast_module::flags, get_name_from_resource(), ast_module::info, load_resource_list(), loader_builtin_init(), loader_config_init(), LOG_ERROR, LOG_NOTICE, LOG_WARNING, NULL, order, ast_module::resource, ast_module::running, startup_error_builder, startup_errors, str, and ast_module_info::support_level.
Referenced by asterisk_daemon().
int load_pbx | ( | void | ) |
Provided by pbx.c
Definition at line 8421 of file pbx.c.
References __ast_custom_function_register(), action_extensionstatelist(), ARRAY_LEN, ast_cli_register_multiple, ast_device_state_message_type(), ast_device_state_topic_all(), ast_manager_register_xml_core, ast_presence_state_message_type(), ast_presence_state_topic_all(), ast_register_cleanup(), ast_verb, device_state_cb(), device_state_sub, EVENT_FLAG_CALL, EVENT_FLAG_CONFIG, EVENT_FLAG_REPORTING, exception_function, manager_show_dialplan(), NULL, pbx_cli, presence_state_cb(), presence_state_sub, stasis_subscribe, stasis_subscription_accept_message_type(), STASIS_SUBSCRIPTION_FILTER_SELECTIVE, stasis_subscription_set_filter(), testtime_function, and unload_pbx().
Referenced by asterisk_daemon().
int load_pbx_app | ( | void | ) |
Provided by pbx_app.c
Definition at line 538 of file pbx_app.c.
References app_cli, ARRAY_LEN, ast_cli_register_multiple, ast_register_cleanup(), and unload_pbx_app().
Referenced by asterisk_daemon().
int load_pbx_builtins | ( | void | ) |
Provided by pbx_builtins.c
Definition at line 1506 of file pbx_builtins.c.
References ARRAY_LEN, ast_log, ast_register_application2(), ast_register_cleanup(), builtins, execute(), LOG_ERROR, name, NULL, unload_pbx_builtins(), and ast_channel::x.
Referenced by asterisk_daemon().
int load_pbx_functions_cli | ( | void | ) |
Provided by pbx_functions.c
Definition at line 733 of file pbx_functions.c.
References acf_cli, ARRAY_LEN, ast_cli_register_multiple, ast_register_cleanup(), and unload_pbx_functions_cli().
Referenced by asterisk_daemon().
int load_pbx_hangup_handler | ( | void | ) |
Provided by pbx_hangup_handler.c
Definition at line 288 of file pbx_hangup_handler.c.
References ARRAY_LEN, ast_cli_register_multiple, ast_register_cleanup(), cli, and unload_pbx_hangup_handler().
Referenced by asterisk_daemon().
int load_pbx_switch | ( | void | ) |
Provided by pbx_switch.c
Definition at line 125 of file pbx_switch.c.
References ARRAY_LEN, ast_cli_register_multiple, ast_register_cleanup(), sw_cli, and unload_pbx_switch().
Referenced by asterisk_daemon().
int load_pbx_variables | ( | void | ) |
Provided by pbx_variables.c
Definition at line 1403 of file pbx_variables.c.
References ARRAY_LEN, ast_cli_register_multiple, ast_register_application2(), ast_register_cleanup(), AST_TEST_REGISTER, NULL, pbx_builtin_setvar(), pbx_builtin_setvar_multiple(), unload_pbx_variables(), and vars_cli.
Referenced by asterisk_daemon().
void logger_queue_start | ( | void | ) |
Start the ast_queue_log() logger.
Provided by logger.c
Definition at line 2186 of file logger.c.
References ast_assert, ast_queue_log(), AST_RWLIST_UNLOCK, AST_RWLIST_WRLOCK, logger_initialized, logger_queue_init(), and queuelog_init.
Referenced by ast_queue_log(), and asterisk_daemon().
int modules_shutdown | ( | void | ) |
Provided by loader.c
Definition at line 1172 of file loader.c.
References ast_debug, AST_DLLIST_EMPTY, AST_DLLIST_LOCK, AST_DLLIST_REMOVE_CURRENT, AST_DLLIST_TRAVERSE, AST_DLLIST_TRAVERSE_BACKWARDS_SAFE_BEGIN, AST_DLLIST_TRAVERSE_BACKWARDS_SAFE_END, AST_DLLIST_UNLOCK, ast_module_unref, ast_verb, ast_module::declined, ast_module::flags, ast_module::info, ast_module::keepuntilshutdown, module_destroy(), ast_module::resource, ast_module::running, ast_module_info::unload, and ast_module::usecount.
Referenced by really_quit().
void set_asterisk_conf_path | ( | const char * | path | ) |
Definition at line 200 of file options.c.
References ast_copy_string(), cfg_paths, and _cfg_paths::config_file.
Referenced by main().
void set_socket_path | ( | const char * | path | ) |
Definition at line 205 of file options.c.
References ast_copy_string(), cfg_paths, and _cfg_paths::socket_path.
Referenced by main().
void threadstorage_init | ( | void | ) |
Provided by threadstorage.c
Definition at line 35 of file threadstorage.c.
Referenced by asterisk_daemon().