Asterisk - The Open Source Telephony Project
21.4.1
|
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 | |
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. | |
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 ast_cli_register_multiple, ast_register_cleanup(), and ast_xmldoc_build_documentation().
void ast_autoservice_init | ( | void | ) |
Provided by autoservice.c
Definition at line 380 of file autoservice.c.
References ast_register_cleanup().
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(), ast_bridging_init_basic(), ast_cli_register_multiple, ast_manager_register_xml_core, ast_register_cleanup(), and bridge_manager.
void ast_builtins_init | ( | void | ) |
initialize the _full_cmd string in * each of the builtins.
Provided by cli.c
Definition at line 2238 of file main/cli.c.
References ast_cli_register_multiple, ast_register_cleanup(), and AST_VECTOR_INIT.
int ast_channels_init | ( | void | ) |
Provided by channel.c
Definition at line 8007 of file channel.c.
References AO2_ALLOC_OPT_LOCK_MUTEX, ao2_container_alloc_hash, ao2_container_register(), ast_channel_register(), ast_cli_register_multiple, AST_NUM_CHANNEL_BUCKETS, ast_register_cleanup(), AST_RWLIST_HEAD_INIT, and ast_stasis_channels_init().
void ast_cli_channels_init | ( | void | ) |
Provided by cli.c
Definition at line 2245 of file main/cli.c.
References ast_cli_register_multiple, and ast_register_cleanup().
int ast_cli_perms_init | ( | int | reload | ) |
Provided by cli.c
Definition at line 2105 of file main/cli.c.
References ast_calloc, ast_category_browse(), ast_config_destroy(), ast_config_load2(), AST_LIST_INSERT_TAIL, AST_LIST_TRAVERSE, AST_RWLIST_UNLOCK, AST_RWLIST_WRLOCK, ast_strdup, cli_default_perm, cli_perm::command, CONFIG_FLAG_FILEUNCHANGED, destroy_user_perms(), usergroup_cli_perm::gid, ast_variable::name, ast_variable::next, cli_perm::permit, usergroup_cli_perm::perms, perms_config, permsconfiglock, usergroup_cli_perm::uid, and ast_variable::value.
Referenced by 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_register_cleanup(), change_pending, change_thread, and do_devstate_changes().
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_destroy(), DNS_SYSTEM_RESOLVER_FAILURE, DNS_SYSTEM_RESOLVER_SUCCESS, and TPS_REF_DEFAULT.
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, and TECH_ENDPOINT_BUCKETS.
int ast_file_init | ( | void | ) |
Provided by file.c
Definition at line 2051 of file file.c.
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, 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_manager_register_xml_core, ast_register_cleanup(), ast_channel_tech::capabilities, and STASIS_MESSAGE_TYPE_INIT.
int ast_msg_init | ( | void | ) |
Provided by message.c
Definition at line 1758 of file main/message.c.
References __ast_custom_function_register(), ast_manager_register_xml_core, ast_msg_handler_register(), ast_register_application2(), ast_register_cleanup(), ast_rwlock_init, ast_taskprocessor_get(), AST_VECTOR_INIT, msg_handlers, msg_handlers_lock, msg_techs, and TPS_REF_DEFAULT.
void ast_msg_shutdown | ( | void | ) |
Provided by message.c
Definition at line 1717 of file main/message.c.
References ast_taskprocessor_unreference().
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, and ast_register_cleanup().
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(), STASIS_MESSAGE_TYPE_INIT, and stasis_topic_create().
int ast_pj_init | ( | void | ) |
Provided by libasteriskpj.c
Definition at line 45 of file libasteriskpj.c.
References AST_PJPROJECT_INIT_LOG_LEVEL.
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_LIST_LOCK, AST_LIST_REMOVE_HEAD, AST_LIST_UNLOCK, and ast_module_reload().
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, and refer_techs.
int ast_ssl_init | ( | void | ) |
Provided by ssl.c
Definition at line 130 of file libasteriskssl.c.
References ast_calloc, and ast_debug.
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, and ast_register_atexit().
int ast_term_init | ( | void | ) |
int ast_test_init | ( | void | ) |
Provided by test.c
Definition at line 1482 of file test.c.
References ast_cli_register_multiple, ast_register_cleanup(), STASIS_MESSAGE_TYPE_INIT, and stasis_topic_create().
int ast_timing_init | ( | void | ) |
Provided by timing.c
Definition at line 289 of file timing.c.
References ast_cli_register_multiple, ast_heap_create, and ast_register_cleanup().
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, ast_cli_register_multiple, ast_register_cleanup(), AST_VECTOR_RW_INIT, tps_cmp_cb(), and tps_hash_cb().
int ast_xmldoc_load_documentation | ( | void | ) |
int astdb_init | ( | void | ) |
Provided by db.c
Definition at line 1228 of file main/db.c.
References ast_cli_register_multiple, ast_manager_register_xml_core, ast_register_atexit(), and db_sync_thread().
int astobj2_init | ( | void | ) |
Provided by astobj2.c
Definition at line 1169 of file astobj2.c.
References ast_cli_register_multiple, and ast_register_cleanup().
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, and AST_LIST_UNLOCK.
Referenced by really_quit().
void close_logger | ( | void | ) |
Provided by logger.c
Definition at line 2245 of file logger.c.
References ast_cli_unregister_multiple(), ast_custom_function_unregister(), AST_LIST_LOCK, AST_LIST_REMOVE_HEAD, AST_LIST_UNLOCK, AST_RWLIST_UNLOCK, AST_RWLIST_WRLOCK, logchannel::fileptr, and logchannel::list.
Referenced by really_quit().
int dns_core_init | ( | void | ) |
Provided by dns_core.c
Definition at line 614 of file dns_core.c.
References ast_register_cleanup(), ast_sched_context_create(), and ast_sched_start_thread().
void dnsmgr_start_refresh | ( | void | ) |
Provided by dnsmgr.c
Definition at line 302 of file dnsmgr.c.
References ast_sched_add_variable(), and AST_SCHED_DEL.
int init_logger | ( | void | ) |
Provided by logger.c
Definition at line 2202 of file logger.c.
References ast_cli_register_multiple, ast_custom_function_register, ast_log(), ast_mkdir(), AST_RWLIST_UNLOCK, AST_RWLIST_WRLOCK, ast_verb_update(), init_logger_chain(), and logger_thread().
void load_astmm_phase_1 | ( | void | ) |
Initialize malloc debug phase 1.
Definition at line 1525 of file main/astmm.c.
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_LIST_HEAD_INIT_NOLOCK, AST_LIST_REMOVE_HEAD, AST_LIST_TRAVERSE, ast_str_append(), ast_str_buffer(), ast_str_create, ast_str_reset(), ast_str_strlen(), ast_tvdiff_us(), ast_tvnow(), AST_VECTOR_FREE, AST_VECTOR_GET, AST_VECTOR_INIT, AST_VECTOR_SIZE, 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, load_resource_list(), ast_module::running, startup_errors, and ast_module_info::support_level.
int load_pbx | ( | void | ) |
Provided by pbx.c
Definition at line 8421 of file pbx.c.
References __ast_custom_function_register(), 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(), manager_show_dialplan(), stasis_subscription_accept_message_type(), STASIS_SUBSCRIPTION_FILTER_SELECTIVE, and stasis_subscription_set_filter().
int load_pbx_app | ( | void | ) |
Provided by pbx_app.c
Definition at line 538 of file pbx_app.c.
References ast_cli_register_multiple, and ast_register_cleanup().
int load_pbx_builtins | ( | void | ) |
Provided by pbx_builtins.c
Definition at line 1506 of file pbx_builtins.c.
References ast_register_application2(), ast_register_cleanup(), execute(), and ast_channel::name.
int load_pbx_functions_cli | ( | void | ) |
Provided by pbx_functions.c
Definition at line 733 of file pbx_functions.c.
References ast_cli_register_multiple, and ast_register_cleanup().
int load_pbx_hangup_handler | ( | void | ) |
Provided by pbx_hangup_handler.c
Definition at line 288 of file pbx_hangup_handler.c.
References ast_cli_register_multiple, and ast_register_cleanup().
int load_pbx_switch | ( | void | ) |
Provided by pbx_switch.c
Definition at line 125 of file pbx_switch.c.
References ast_cli_register_multiple, and ast_register_cleanup().
int load_pbx_variables | ( | void | ) |
Provided by pbx_variables.c
Definition at line 1403 of file pbx_variables.c.
References ast_cli_register_multiple, ast_register_application2(), ast_register_cleanup(), pbx_builtin_setvar(), and pbx_builtin_setvar_multiple().
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_RWLIST_UNLOCK, and AST_RWLIST_WRLOCK.
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_module::declined, ast_module::keepuntilshutdown, ast_module::running, ast_module_info::unload, and ast_module::usecount.
Referenced by really_quit().
void threadstorage_init | ( | void | ) |