Asterisk memory usage debugging This file provides headers for MALLOC_DEBUG, a define used for tracking down memory leaks. It should never be #included directly; always use the MALLOC_DEBUG definition in menuselect to activate those functions. More...
#include "asterisk.h"#include <sys/types.h>#include <stdlib.h>#include <string.h>#include <stdio.h>#include <stdarg.h>
Go to the source code of this file.
Defines | |
| #define | __AST_DEBUG_MALLOC |
| #define | _ASTERISK_ASTMM_H |
| #define | asprintf(a, b, c...) __ast_asprintf(__FILE__, __LINE__, __PRETTY_FUNCTION__, a, b, c) |
| #define | ast_asprintf(a, b, c...) __ast_asprintf(__FILE__, __LINE__, __PRETTY_FUNCTION__, a, b, c) |
| #define | ast_calloc(a, b) __ast_calloc(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | ast_calloc_cache(a, b) __ast_calloc_cache(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | ast_free(a) __ast_free(a,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | ast_malloc(a) __ast_malloc(a,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | ast_realloc(a, b) __ast_realloc(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | ast_strdup(a) __ast_strdup(a,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | ast_strndup(a, b) __ast_strndup(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | ast_vasprintf(a, b, c) __ast_vasprintf(a,b,c,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | calloc(a, b) __ast_calloc(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | free(a) __ast_free(a,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | malloc(a) __ast_malloc(a,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | realloc(a, b) __ast_realloc(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | strdup(a) __ast_strdup(a,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | strndup(a, b) __ast_strndup(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define | vasprintf(a, b, c) __ast_vasprintf(a,b,c,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Functions | |
| int | __ast_asprintf (const char *file, int lineno, const char *func, char **strp, const char *format,...) |
| void * | __ast_calloc (size_t nmemb, size_t size, const char *file, int lineno, const char *func) |
| void * | __ast_calloc_cache (size_t nmemb, size_t size, const char *file, int lineno, const char *func) |
| void | __ast_free (void *ptr, const char *file, int lineno, const char *func) |
| void * | __ast_malloc (size_t size, const char *file, int lineno, const char *func) |
| void | __ast_mm_init (void) |
| void * | __ast_realloc (void *ptr, size_t size, const char *file, int lineno, const char *func) |
| char * | __ast_strdup (const char *s, const char *file, int lineno, const char *func) |
| char * | __ast_strndup (const char *s, size_t n, const char *file, int lineno, const char *func) |
| int | __ast_vasprintf (char **strp, const char *format, va_list ap, const char *file, int lineno, const char *func) |
Asterisk memory usage debugging This file provides headers for MALLOC_DEBUG, a define used for tracking down memory leaks. It should never be #included directly; always use the MALLOC_DEBUG definition in menuselect to activate those functions.
Definition in file astmm.h.
| #define __AST_DEBUG_MALLOC |
Definition at line 36 of file astmm.h.
Referenced by _moh_class_malloc().
| #define asprintf | ( | a, | |
| b, | |||
| c... | |||
| ) | __ast_asprintf(__FILE__, __LINE__, __PRETTY_FUNCTION__, a, b, c) |
| #define ast_asprintf | ( | a, | |
| b, | |||
| c... | |||
| ) | __ast_asprintf(__FILE__, __LINE__, __PRETTY_FUNCTION__, a, b, c) |
Definition at line 114 of file astmm.h.
Referenced by xmldoc_get_syntax_fun(), xmldoc_parse_variablelist(), xmldoc_parse_enum(), xmldoc_parse_option(), xmldoc_parse_parameter(), and ast_xmldoc_load_documentation().
| #define ast_calloc | ( | a, | |
| b | |||
| ) | __ast_calloc(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 75 of file astmm.h.
Referenced by ast_duplicate_ha(), ast_append_ha(), ast_aoc_create(), ast_aoc_decode(), ast_aoc_encode(), ast_linear_stream(), ast_lock_path_flock(), ast_safe_fork(), compile_script(), receive_ademco_contact_id(), dial_exec_full(), check_match(), do_directory(), gen_alloc(), make_entry(), alloc_profile(), create_followme_number(), findmeexec(), build_conf(), sla_queue_event_full(), sla_create_station_ref(), sla_create_ringing_station(), sla_ring_station(), create_trunk_ref(), queue_ringing_trunk(), milliwatt_alloc(), message_template_create(), mvm_user_alloc(), create_vmaccount(), timezone_add(), message_template_parse_filebody(), setup_mixmonitor_ds(), launch_monitor_thread(), osp_create_provider(), page_exec(), device_state_cb(), insert_penaltychange(), setup_transfer_datastore(), try_calling(), copy_rules(), reload_queue_rules(), speech_background(), gosub_allocate_frame(), gosub_exec(), find_user_realtime(), vm_allocate_dh(), vm_execmain(), find_or_create(), AST_TEST_DEFINE(), handle_subscribe(), mwi_unsub_event_cb(), mwi_sub_event_cb(), ast_register_file_version(), ast_register_thread(), ast_add_profile(), ast_register_atexit(), internal_ao2_alloc(), internal_ao2_link(), internal_ao2_callback(), ast_audiohook_attach(), audiohook_volume_get(), ast_autochan_setup(), ast_autoservice_start(), softmix_bridge_join(), ast_bridge_new(), ast_bridge_impart(), ast_bridge_features_hook(), callerid_new(), ast_cc_monitor_register(), ast_cc_agent_register(), generic_monitor_devstate_cb(), cc_generic_monitor_request_cc(), dialed_cc_interfaces_duplicate(), extension_monitor_pvt_init(), ast_cc_extension_monitor_add_dialstring(), cc_interfaces_datastore_init(), cc_generic_agent_init(), cc_request_state_change(), cc_recall_ds_duplicate(), ast_setup_cc_recall_datastore(), ast_cc_monitor_failed(), ast_cc_agent_status_response(), ast_cc_build_frame(), ast_cdr_register(), ast_cdr_alloc(), ast_cdr_detach(), load_config(), config_module(), load_values_config(), anti_injection(), add_agent(), bridge_request(), mwi_send_init(), do_monitor(), mkintf(), dahdi_new_pri_nobch_channel(), gtalk_create_candidates(), gtalk_alloc(), gtalk_add_candidate(), gtalk_load_config(), oh323_alloc(), build_alias(), build_user(), build_peer(), external_rtp_create(), iax2_dup_variable_datastore(), find_idle_thread(), queue_signalling(), try_firmware(), ast_iax2_new(), find_tpeer(), authenticate_reply(), iax2_append_register(), spawn_dp_lookup(), iax_park(), defer_full_frame(), acf_iaxvar_write(), socket_process(), start_network_thread(), build_context(), find_cache(), jingle_create_candidates(), jingle_alloc(), jingle_add_candidate(), jingle_load_config(), local_call(), transmit_response(), build_gateway(), get_robin_position(), load_module(), misdn_jb_init(), nbs_alloc(), store_config(), mkif(), sip_epa_register(), sip_cc_agent_init(), sip_cc_monitor_suspend(), append_history_va(), __sip_reliable_xmit(), sip_st_alloc(), sip_refer_allocate(), sip_notify_allocate(), _sip_show_peers(), do_proxy_auth(), sip_park(), sip_prepare_socket(), sip_request_call(), add_sip_domain(), add_realm_authentication(), add_peer_mailboxes(), req_alloc(), skinny_new(), skinny_req_parse(), accept_thread(), config_parse_variables(), config_line(), config_device(), create_client(), alloc_sub(), build_device(), ast_channel_register(), channel_iterator_search(), ast_channel_iterator_all_new(), ast_channel_set_fd(), adjust_frame_for_plc(), apply_plc(), ast_channel_transfer_masquerade(), tonepair_alloc(), ast_channel_start_silence_generator(), ast_var_assign(), handle_verbose(), ast_cli_perms_init(), register_translator(), ALLOC_COMMENT(), ast_variable_new(), ast_include_new(), ast_category_new(), inherit_category(), ast_config_new(), cfmtime_new(), config_cache_attribute(), append_mapping(), ast_data_iterator_init(), __ast_datastore_alloc(), ast_devstate_prov_add(), ast_devstate_changed_literal(), devstate_change_collector_cb(), answer_exec_enable(), ast_dial_create(), ast_dial_append(), ast_dnsmgr_get(), ast_dsp_new(), ast_get_enum(), ast_event_subscribe_new(), ast_event_sub_append_ie_uint(), ast_event_sub_append_ie_bitflags(), ast_event_sub_append_ie_exists(), ast_event_sub_append_ie_str(), ast_event_sub_append_ie_raw(), ast_event_new(), ast_event_dup(), add_publish_event(), add_subscribe_event(), build_event_channel(), dial_features_duplicate(), park_space_reserve(), builtin_atxfer(), add_features_datastores(), process_applicationmap_line(), build_dialplan_useage_ramp(), build_dialplan_useage_spaces(), build_dialplan_useage_context(), action_bridge(), __ast_format_register(), alloc_jb_frame(), fixed_jb_new(), ast_frame_header_new(), ast_framehook_attach(), aes_helper(), setup_inheritance_datastore(), setup_inheritable_audiohook(), func_channel_write_real(), acf_curlopt_write(), enum_query_read(), frame_trace_helper(), shared_write(), get_lock(), acf_odbc_read(), init_acf_query(), pitchshift_helper(), speex_write(), srv_datastore_setup(), volume_write(), dialed_interface_duplicate(), secure_call_store_duplicate(), ast_hashtab_create(), ast_hashtab_dup(), ast_hashtab_insert_immediate_bucket(), ast_hashtab_resize(), ast_hashtab_start_traversal(), ast_hashtab_start_write_traversal(), ast_heap_create(), add_redirect(), iax_frame_new(), iax_process_template(), playtones_alloc(), io_context_create(), ast_module_register(), __ast_module_user_add(), load_dynamic_module(), queue_reload_request(), add_to_load_order(), ast_tzset(), gmtsub(), store_by_locale(), ast_setlocale(), ast_strftime_locale(), make_logchannel(), init_logger_chain(), ast_bt_create(), ast_bt_get_symbols(), action_command(), action_originate(), __init_manager(), _parse(), misdn_cfg_init(), ast_netsock_list_alloc(), ast_netsock_bindaddr(), add_pattern_node(), __ast_pbx_run(), ast_register_application2(), ast_context_find_or_create(), ast_merge_contexts_and_delete(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_add_ignorepat2(), ast_add_extension2_lockopt(), ast_pbx_outgoing_exten(), ast_pbx_outgoing_app(), dundi_answer_entity(), dundi_prop_precache(), dundi_answer_query(), deep_copy_peer(), handle_command_response(), create_transaction(), dundi_send(), reschedule_precache(), dundi_query_read(), append_permission(), build_mapping(), scan_service(), queue_file(), queue_file_create(), add_agi_cmd(), add_to_agi(), add_event_to_list(), caldav_add_event(), startelm(), endelm(), parse_cdata(), icalendar_add_event(), table_config_new(), realtime_ldap_result_to_vars(), substituted(), config_ldap(), update_ldap(), update2_ldap(), find_table(), realtime_pgsql(), realtime_multi_pgsql(), find_table_cb(), try_load_key(), ast_fax_tech_register(), fax_session_new(), receivefax_exec(), sendfax_exec(), spandsp_fax_new(), __ast_http_post_load(), aji_handle_message(), aji_handle_presence(), aji_create_client(), aji_create_buddy(), ast_monitor_start(), moh_files_alloc(), mohalloc(), moh_alloc(), moh_add_file(), initialize_mutehook(), find_transaction(), ast_odbc_find_table(), build_profile(), build_extension(), cops_gate_cmd(), load_pktccops_config(), ast_rtp_new(), ast_rtp_prop_set(), rtp_red_init(), multicast_rtp_new(), smdi_read(), alloc_smdi_interface(), smdi_msg_retrieve_read(), ast_speech_new(), res_srtp_new(), ast_srtp_policy_set_master_key(), ast_sched_thread_create(), sched_context_create(), sched_alloc(), analog_new(), sig_pri_chan_new(), sig_ss7_chan_new(), parse_srv(), ast_srv_lookup(), ast_ssl_init(), tps_task_alloc(), ast_taskprocessor_get(), ast_threadstorage_get(), _ast_register_timing_interface(), ast_timer_open(), newpvt(), ast_udptl_new_with_bindaddr(), add_string_pool(), __ast_calloc_with_stringfields(), create_video_frame(), fbuf_append(), dec_init(), and ast_xmldoc_load_documentation().
| #define ast_calloc_cache | ( | a, | |
| b | |||
| ) | __ast_calloc_cache(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 78 of file astmm.h.
Referenced by ast_frame_header_new(), ast_frdup(), and iax_frame_new().
| #define ast_free | ( | a | ) | __ast_free(a,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 90 of file astmm.h.
Referenced by ast_free_ha(), resolve_first(), ast_aoc_destroy_decoded(), ast_aoc_destroy_encoded(), ast_aoc_test_encode_decode_match(), ast_aoc_manager_event(), aoc_display_decoded_debug(), shaun_of_the_dead(), linear_release(), linear_alloc(), ast_app_group_update(), ast_app_group_discard(), ast_read_textfile(), compile_script(), adsi_prog(), alarmreceiver_exec(), chanlist_free(), dial_exec_full(), do_directory(), exec_exec(), tryexec_exec(), send_eivr_event(), gen_release(), app_exec(), eivr_comm(), socket_receive_file_to_buff(), festival_exec(), free_numbers(), findmeexec(), find_realtime(), unload_module(), destroy_jack_data(), _macro_exec(), build_conf(), meetme_show_cmd(), meetme_cmd(), conf_free(), conf_run(), find_conf_realtime(), run_station(), sla_stop_ringing_trunk(), sla_stop_ringing_station(), sla_handle_dial_state_event(), sla_check_failed_station(), sla_hangup_stations(), sla_check_reload(), sla_thread(), sla_trunk_exec(), destroy_trunk(), destroy_station(), sla_add_trunk_to_station(), milliwatt_release(), message_template_free(), message_template_build(), free_user(), vmaccounts_destroy_list(), find_user_realtime(), sendmail(), free_zone(), timezone_add(), mixmonitor_free(), setup_mixmonitor_ds(), osp_create_provider(), osp_unload(), handle_statechange(), device_state_cb(), init_queue(), insert_penaltychange(), leave_queue(), callattempt_free(), queue_transfer_destroy(), try_calling(), reload_queue_rules(), readfile_exec(), statpost(), rpt_do_stats(), rpt_do_lstats(), send_tone_telemetry(), telem_lookup(), get_wait_interval(), rpt_tele_thread(), rpt_call(), connect_link(), function_autopatchup(), function_remote(), attempt_reconnect(), rpt(), rpt_master(), rpt_exec(), rpt_manager_do_stats(), manager_rpt_status(), speech_processing_sound(), gosub_release_frame(), gosub_free(), gosub_exec(), handle_gosub(), userevent_exec(), populate_defaults(), apply_options_full(), vm_change_password(), make_email_file(), sendpage(), leave_voicemail(), vm_execmain(), mwi_sub_destroy(), handle_unsubscribe(), handle_subscribe(), mwi_unsub_event_cb(), mwi_sub_event_cb(), load_config(), ast_unregister_file_version(), ast_unregister_thread(), ast_el_strtoarr(), ast_cli_display_match_list(), cli_complete(), internal_ao2_ref(), internal_ao2_callback(), ao2_iterator_destroy(), internal_ao2_iterator_next(), container_destruct(), container_destruct_debug(), ast_audiohook_detach_list(), audiohook_volume_destroy(), ast_autochan_destroy(), softmix_bridge_leave(), destroy_bridge(), bridge_channel_thread(), ast_bridge_impart(), ast_bridge_features_cleanup(), callerid_free(), ast_cc_config_params_destroy(), ast_cc_monitor_unregister(), ast_cc_agent_unregister(), generic_monitor_instance_list_destructor(), generic_monitor_devstate_tp_cb(), generic_monitor_devstate_cb(), cc_generic_monitor_request_cc(), cc_generic_monitor_destructor(), cc_extension_monitor_destructor(), cc_monitor_destroy(), dialed_cc_interfaces_destroy(), cc_interfaces_datastore_init(), cc_generic_agent_destructor(), cc_do_state_change(), cc_request_state_change(), cc_recall_ds_destroy(), ast_setup_cc_recall_datastore(), ast_cc_agent_set_interfaces_chanvar(), ast_set_cc_interfaces_chanvar(), cc_monitor_failed(), ast_cc_monitor_failed(), cc_status_response(), ast_cc_agent_status_response(), ast_cc_build_frame(), cc_cli_output_status(), handle_cc_status(), ast_cdr_unregister(), ast_cdr_free(), ast_cdr_discard(), do_batch_backend_process(), free_config(), odbc_log(), odbc_load_module(), pgsql_log(), config_module(), sqlite_log(), load_module(), load_column_config(), load_values_config(), write_cdr(), tds_log(), tds_unload_module(), agent_cleanup(), agent_hangup(), read_agent_config(), login_exec(), bridge_hangup(), bridge_request(), my_callwait(), my_send_callerid(), my_cancel_cidspill(), send_callerid(), dahdi_callwait(), destroy_dahdi_pvt(), dahdi_hangup(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_new(), mwi_thread(), mwi_send_init(), mwi_send_process_buffer(), mwi_send_process_event(), handle_init_event(), do_monitor(), mkintf(), dahdi_new_pri_nobch_channel(), duplicate_pseudo(), dahdi_cc_callback(), dahdi_sendtext(), gtalk_member_destroy(), gtalk_get_local_ip(), gtalk_create_candidates(), gtalk_alloc(), gtalk_free_candidates(), gtalk_free_pvt(), oh323_destroy_alias(), oh323_destroy_user(), oh323_destroy_peer(), cleanup_call_details(), __oh323_destroy(), oh323_digit_begin(), oh323_digit_end(), oh323_answer(), oh323_hangup(), oh323_indicate(), oh323_alloc(), external_rtp_create(), iax2_free_variable_datastore(), find_idle_thread(), free_signaling_queue_entry(), destroy_firmware(), iax2_setoption(), ast_iax2_new(), authenticate_reply(), iax2_append_register(), timing_read(), dp_lookup_thread(), iax_park_thread(), iax_park(), handle_deferred_full_frames(), socket_process(), iax2_process_thread_cleanup(), free_context(), start_network_thread(), delete_users(), find_cache(), jingle_member_destroy(), jingle_create_candidates(), jingle_alloc(), jingle_free_candidates(), jingle_free_pvt(), dump_queue(), retrans_pkt(), mgcp_postrequest(), send_request(), dump_cmd_queues(), handle_response(), find_and_retrans(), mgcpsock_read(), build_gateway(), destroy_endpoint(), destroy_gateway(), free_robin_list(), get_robin_position(), misdn_jb_init(), misdn_jb_destroy(), nbs_destroy(), nbs_alloc(), console_dial(), console_transfer(), store_mixer(), store_config(), mkif(), __unload_module(), cc_epa_destructor(), sip_cc_agent_destructor(), tcptls_packet_destructor(), sip_tcptls_client_args_destructor(), dialog_unlink_all(), append_history_va(), __sip_reliable_xmit(), __sip_ack(), destroy_mailbox(), realtime_peer(), sip_registry_destroy(), sip_subscribe_mwi_destroy(), __sip_destroy(), init_resp(), init_req(), deinit_req(), temp_pvt_cleanup(), free_old_route(), _sip_show_peers(), change_redirecting_information(), handle_response_subscribe(), sip_park_thread(), sip_park(), handle_request_cancel(), clear_sip_domains(), destroy_realm_authentication(), build_peer(), reload_config(), ast_sockaddr_resolve_first_af(), transmit_response(), skinny_hangup(), handle_message(), destroy_session(), skinny_req_parse(), close_client(), unalloc_sub(), rcv_mac_addr(), write_history(), unistim_new(), build_device(), ast_channel_unregister(), ast_channel_iterator_destroy(), channel_iterator_search(), ast_party_name_copy(), ast_party_name_set(), ast_party_name_free(), ast_party_number_copy(), ast_party_number_set(), ast_party_number_free(), ast_party_subaddress_copy(), ast_party_subaddress_set(), ast_party_subaddress_free(), ast_party_id_copy(), ast_party_id_set(), ast_party_id_free(), ast_party_dialed_copy(), ast_party_dialed_set(), ast_party_dialed_free(), ast_channel_destructor(), ast_recvchar(), plc_ds_destroy(), adjust_frame_for_plc(), xfer_ds_destroy(), ast_set_callerid(), tonepair_release(), ast_channel_start_silence_generator(), ast_channel_stop_silence_generator(), ast_connected_line_parse_data(), ast_redirecting_parse_data(), ast_var_delete(), handle_verbose(), handle_commandmatchesarray(), handle_commandcomplete(), destroy_user_perms(), ast_cli_perms_init(), __ast_cli_unregister(), ast_cli_generatornummatches(), __ast_cli_generator(), ast_cli_command_full(), register_translator(), drop_translator(), unregister_translators(), lpc10_destroy(), ast_include_rename(), ast_comment_destroy(), ast_variable_destroy(), ast_destroy_template_list(), ast_category_destroy(), ast_includes_destroy(), ast_config_destroy(), config_text_file_load(), inclfile_destroy(), clear_config_maps(), data_search_destructor(), data_search_generate(), data_result_destructor(), ast_data_add_password(), ast_data_add_str(), ast_data_iterator_end(), data_result_print_cli_node(), data_result_print_cli(), data_provider_print_cli(), data_result_manager_output(), __ast_datastore_alloc(), ast_datastore_free(), ast_db_freetree(), ast_devstate_prov_del(), do_devstate_changes(), destroy_devstate_change(), answer_exec_disable(), music_disable(), handle_call_forward(), ast_dial_destroy(), ast_dnsmgr_release(), ast_dsp_free(), ast_get_enum(), ast_event_ie_val_destroy(), ast_event_sub_append_ie_str(), ast_event_sub_append_ie_raw(), ast_event_sub_destroy(), ast_event_destroy(), dial_features_destroy(), bridge_call_thread(), park_space_reserve(), ast_unregister_feature(), ast_unregister_features(), ast_unregister_groups(), manage_parkinglot(), do_parking_thread(), parked_call_exec(), destroy_dialplan_usage_context(), usage_context_add_spaces(), bridge_exec(), ast_format_unregister(), filestream_destructor(), ast_filehelper(), ast_readfile(), ast_writefile(), release_jb_frame(), fixed_jb_destroy(), ast_smoother_free(), frame_cache_cleanup(), __frame_free(), ast_frisolate(), framehook_detach_and_destroy(), ast_framehook_attach(), ast_framehook_list_destroy(), aes_helper(), audiohook_inheritance_destroy(), func_inheritance_write(), callerid_write(), func_channel_write_real(), config_function_read(), curl_instance_cleanup(), acf_curl_helper(), cut_internal(), acf_cut_exec(), dialgroup_refreshdb(), erds_destroy(), enum_query_read(), datastore_destroy_cb(), hook_destroy_cb(), shared_variable_free(), lock_free(), get_lock(), odbc_datastore_free(), acf_odbc_read(), acf_fetch(), init_acf_query(), free_acf_query(), destroy_callback(), speex_callback(), speex_write(), srds_destroy_cb(), srv_datastore_setup(), clearvar_prefix(), dialed_interface_destroy(), secure_call_store_destroy(), ast_heap_create(), ast_heap_destroy(), ast_http_send(), ast_http_auth(), ast_http_error(), ast_http_uri_unlink_all_with_key(), __ast_http_load(), iax_parse_ies(), iax_frame_free(), iax_provision_free_templates(), playtones_release(), ast_playtones_start(), ast_tone_zone_sound_destructor(), ast_tone_zone_destructor(), reset_tone_zone(), io_context_create(), io_context_destroy(), ast_io_remove(), jb_destroy(), ast_module_unregister(), __ast_module_user_remove(), __ast_module_user_hangup_all(), load_dynamic_module(), ast_process_pending_reloads(), queue_reload_request(), load_resource_list(), load_modules(), inotify_daemon(), ast_strftime_locale(), make_logchannel(), init_logger_chain(), ast_child_verbose(), logger_thread(), ast_log(), ast_bt_destroy(), ast_bt_get_symbols(), ast_unregister_verbose(), purge_events(), handle_updates(), action_status(), action_command(), fast_originate(), action_originate(), ast_manager_unregister(), ast_manager_register2(), generic_http_callback(), auth_http_callback(), __init_manager(), free_channelvars(), _free_msn_list(), _free_port_cfg(), _free_general_cfg(), _parse(), misdn_cfg_destroy(), ast_netsock_destroy(), ast_netsock_release(), ast_netsock_bindaddr(), pbx_destroy(), destroy_pattern_tree(), pbx_retrieve_variable(), exception_store_free(), handle_show_function(), acf_retrieve_docs(), ast_func_read(), ast_str_substitute_variables_full(), __ast_pbx_run(), destroy_exten(), pbx_set_overrideswitch(), ast_context_remove_include2(), ast_context_remove_switch2(), ast_register_application2(), print_app_docs(), ast_unregister_application(), ast_merge_contexts_and_delete(), ast_destroy_timing(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_remove_ignorepat2(), add_priority(), async_wait(), ast_pbx_outgoing_exten(), ast_pbx_run_app(), ast_pbx_outgoing_app(), __ast_internal_context_destroy(), __ast_context_destroy(), pbx_load_config(), dundi_lookup_thread(), dundi_precache_thread(), dundi_query_thread(), dundi_answer_entity(), dundi_prop_precache(), dundi_answer_query(), handle_command_response(), destroy_packets(), process_precache(), dundi_flush(), destroy_packet(), destroy_trans(), dundi_send(), drds_destroy(), destroy_permissions(), destroy_peer(), destroy_map(), lua_read_extensions_file(), lua_reload_extensions(), lua_free_extensions(), free_outgoing(), scan_service(), queue_created_files(), queue_file_write(), scan_thread(), free_agi_cmd(), agi_destroy_commands_cb(), add_agi_cmd(), handle_recvtext(), handle_getvariablefull(), handle_dbget(), ast_agi_unregister(), handle_cli_agi_show(), write_htmldump(), eventlist_destructor(), calendar_event_destructor(), do_notify(), copy_event_data(), calendar_join_attendees(), calendar_write_exec(), fetch_response_reader(), caldav_request(), caldav_write_event(), caldav_get_events_between(), update_caldav(), startelm(), endelm(), ewscal_write_event(), get_ewscal_ids_for(), parse_ewscal_id(), update_ewscal(), parse_cdata(), exchangecal_request(), exchangecal_write_event(), exchangecal_get_events_between(), update_exchangecal(), fetch_icalendar(), table_configs_free(), realtime_ldap_base_ap(), config_ldap(), update_ldap(), update2_ldap(), destroy_table(), realtime_pgsql(), realtime_multi_pgsql(), update2_pgsql(), require_pgsql(), pgsql_reconnect(), free_table(), find_table(), set_var(), unload_config(), cdr_handler(), add_cfg_entry(), config_handler(), get_params(), realtime_handler(), realtime_multi_handler(), realtime_update_handler(), realtime_store_handler(), realtime_destroy_handler(), crypto_load(), destroy_session_details(), ast_fax_tech_unregister(), fax_session_new(), report_fax_status(), sendfax_exec(), cli_fax_show_sessions(), acf_faxopt_read(), spandsp_fax_new(), spandsp_fax_destroy(), __ast_http_post_load(), aji_client_destroy(), aji_buddy_destroy(), aji_message_destroy(), aji_find_version(), aji_act_hook(), aji_handle_presence(), aji_create_client(), ast_monitor_start(), ast_monitor_stop(), mohalloc(), moh_release(), moh_scan_files(), local_ast_moh_cleanup(), func_mute_write(), manager_mutestream(), release_transaction(), odbc_txn_free(), odbc_class_destructor(), destroy_table_cache(), profile_destructor(), phoneprov_callback(), delete_extension(), build_extension(), add_user_extension(), build_user_routes(), pp_each_user_helper(), pp_each_extension_helper(), cops_freemsg(), do_pktccops(), ast_rtp_new(), ast_rtp_destroy(), ast_rtp_prop_set(), multicast_rtp_new(), multicast_rtp_destroy(), ast_smdi_md_message_destroy(), ast_smdi_mwi_message_destroy(), ast_speech_results_free(), ast_speech_new(), ast_speech_destroy(), res_srtp_new(), policy_destructor(), ast_srtp_policy_set_master_key(), ast_srtp_destroy(), ast_say_number_full_ka(), ast_sched_thread_destroy(), sched_context_destroy(), sched_release(), analog_hangup(), analog_delete(), analog_free(), pri_ss_thread(), sig_pri_call(), sig_pri_chan_delete(), sig_ss7_chan_delete(), ast_srv_lookup(), ast_get_srv(), tps_task_free(), tps_taskprocessor_destroy(), ast_tls_read_conf(), ast_unregister_timing_interface(), ast_timer_close(), newpvt(), destroy(), ast_udptl_new_with_bindaddr(), ast_udptl_set_tag(), ast_udptl_destroy(), handle_cli_udptl_set_debug(), dummy_start(), __ast_string_field_init(), __ast_string_field_release_active(), ast_parse_digest(), create_video_frame(), dec_uninit(), xmldoc_string_wrap(), ast_xmldoc_printable(), xmldoc_reverse_helper(), xmldoc_get_syntax_fun(), xmldoc_parse_cmd_enumlist(), xmldoc_get_syntax_cmd(), xmldoc_get_syntax_manager(), xmldoc_parse_para(), xmldoc_parse_variable(), xmldoc_parse_variablelist(), ast_xmldoc_build_seealso(), xmldoc_parse_enum(), xmldoc_parse_option(), xmldoc_parse_parameter(), ast_xmldoc_build_arguments(), xmldoc_build_field(), xmldoc_unload_documentation(), and ast_xmldoc_load_documentation().
| #define ast_malloc | ( | a | ) | __ast_malloc(a,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 84 of file astmm.h.
Referenced by ast_read_textfile(), socket_receive_file_to_buff(), complete_queue_add_member(), donodelog(), statpost(), rpt_do_lstats(), rpt_tele_thread(), rpt_telemetry(), connect_link(), rpt(), rpt_exec(), manager_rpt_status(), find_user(), load_config(), cli_complete(), __ast_cc_config_params_init(), handle_cc_status(), init_batch(), my_callwait(), my_send_callerid(), send_cwcidspill(), dahdi_callwait(), duplicate_pseudo(), dahdi_sendtext(), iax2_setoption(), mgcp_postrequest(), send_request(), load_module(), build_route(), rcv_mac_addr(), write_history(), hid_device_mklist(), ast_connected_line_parse_data(), ast_redirecting_parse_data(), handle_commandmatchesarray(), ast_cli_completion_matches(), ast_data_add_password(), ast_data_add_str(), db_gettree_cb(), ast_event_sub_append_ie_raw(), evt_event_deliver_cb(), ast_writefile(), ast_smoother_new(), ast_frisolate(), config_function_read(), io_context_create(), ast_io_add(), jb_new(), queue_put(), ast_loader_register(), ast_child_verbose(), ast_bt_get_symbols(), ast_register_verbose(), append_event(), _parse(), ast_sockaddr_resolve(), handle_show_function(), print_app_docs(), destroy_trans(), lua_read_extensions_file(), handle_cli_agi_show(), fetch_response_reader(), generate_filenames_string(), aji_find_version(), load_file(), ast_say_number_full_pl(), ast_say_number_full_ka(), ast_pthread_create_stack(), and ast_xmldoc_load_documentation().
| #define ast_realloc | ( | a, | |
| b | |||
| ) | __ast_realloc(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 96 of file astmm.h.
Referenced by socket_receive_file_to_buff(), vm_allocate_dh(), ast_add_profile(), ast_el_strtoarr(), cli_complete(), bridge_array_add(), iax2_trunk_queue(), do_monitor(), hid_device_mklist(), handle_commandmatchesarray(), ast_cli_completion_matches(), enum_callback(), ast_event_append_ie_raw(), manage_parked_call(), dialgroup_refreshdb(), acf_odbc_read(), grow_heap(), iax_frame_new(), ast_playtones_start(), store_tone_zone_ring_cadence(), io_grow(), ast_strftime_locale(), ast_bt_get_symbols(), ldap_loadentry(), update_ldap(), update2_ldap(), get_params(), moh_add_file(), do_pktccops(), fbuf_append(), and xmldoc_reverse_helper().
| #define ast_strdup | ( | a | ) | __ast_strdup(a,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 102 of file astmm.h.
Referenced by do_forward(), load_module(), _macro_exec(), complete_meetmecmd(), conf_run(), find_conf_realtime(), sla_build_trunk(), sla_build_station(), message_template_parse_emailbody(), complete_minivm_show_users(), wait_for_answer(), complete_queue(), complete_queue_add_member(), complete_queue_remove_member(), complete_queue_pause_member(), complete_queue_set_member_penalty(), complete_queue_rule_show(), statpost(), rpt_do_stats(), send_tone_telemetry(), telem_lookup(), get_wait_interval(), rpt_tele_thread(), rpt_call(), connect_link(), function_autopatchup(), function_remote(), attempt_reconnect(), rpt_master(), rpt_manager_do_stats(), speech_processing_sound(), speech_background(), apply_option(), apply_options_full(), find_user(), complete_voicemail_show_users(), mwi_sub_event_cb(), load_config(), ast_complete_source_filename(), ast_add_profile(), handle_show_version_files(), ast_el_strtoarr(), create_new_generic_list(), generic_monitor_devstate_cb(), cc_generic_monitor_request_cc(), cc_device_monitor_init(), ast_cc_monitor_failed(), complete_core_id(), odbc_load_module(), config_module(), load_column_config(), load_values_config(), ast_cel_fabricate_channel_from_event(), complete_agent_logoff_cmd(), autoanswer_complete(), ast_ext_ctx(), cli_console_active(), dahdi_handle_event(), dahdi_new(), gtalk_new(), oh323_digit_begin(), oh323_digit_end(), oh323_answer(), oh323_hangup(), oh323_indicate(), __oh323_new(), complete_iax2_peers(), ast_iax2_new(), complete_iax2_unregister(), register_peer_exten(), spawn_dp_lookup(), jingle_new(), mgcp_new(), mgcp_ss(), get_robin_position(), complete_debug_port(), complete_show_config(), misdn_call(), misdn_new(), cb_events(), oss_new(), store_mixer(), store_config(), phone_new(), sip_new(), get_rdnis(), complete_sip_user(), complete_sipch(), complete_sip_peer(), complete_sip_registered_peer(), complete_sipnotify(), change_redirecting_information(), parse_moved_contact(), sip_prepare_socket(), reload_config(), register_exten(), complete_skinny_devices(), complete_skinny_show_device(), complete_skinny_reset(), complete_skinny_show_line(), skinny_newcall(), skinny_new(), unistim_new(), usbradio_new(), complete_channeltypes(), __ast_channel_alloc_ap(), ast_party_name_copy(), ast_party_name_set(), ast_party_number_copy(), ast_party_number_set(), ast_party_subaddress_copy(), ast_party_subaddress_set(), ast_party_id_copy(), ast_party_id_set(), ast_party_dialed_copy(), ast_party_dialed_set(), ast_set_callerid(), complete_fn(), complete_number(), handle_verbose(), handle_showcalls(), handle_core_set_debug_channel(), ast_cli_complete(), ast_complete_channels(), set_full_cmd(), ast_cli_perms_init(), is_prefix(), __ast_cli_register(), parse_args(), ast_include_new(), ast_include_rename(), ast_category_new(), set_fn(), handle_cli_config_reload(), data_search_generate(), __ast_datastore_alloc(), answer_exec_enable(), music_enable(), ast_dial_append(), handle_call_forward(), enum_callback(), ast_event_sub_append_ie_str(), park_call_full(), manage_parked_call(), parkinglot_activate(), ast_bridge_timelimit(), ast_streamfile(), ast_readfile(), ast_writefile(), ast_frisolate(), party_name_write(), party_number_write(), party_subaddress_write(), party_id_write(), callerid_write(), cli_odbc_read(), cli_odbc_write(), speex_callback(), __ast_http_load(), iax_prov_complete_template(), ast_register_indication(), complete_country(), complete_indications(), ast_module_helper(), add_to_load_order(), ast_logger_register_level(), handle_showmancmd(), handle_showmanager(), __init_manager(), handle_show_function(), ast_extension_state(), ast_extension_state_add(), pbx_set_overrideswitch(), complete_core_show_hint(), complete_show_dialplan_context(), ast_context_find_or_create(), context_merge(), ast_merge_contexts_and_delete(), ast_build_timing(), ast_complete_applications(), split_ec(), pbx_load_config(), complete_peer_helper(), build_mapping(), add_agi_cmd(), ast_agi_register(), write_htmldump(), calendar_write_exec(), handle_show_calendar(), caldav_add_event(), endelm(), icalendar_add_event(), table_config_new(), realtime_ldap_result_to_vars(), update_ldap(), parse_config(), handle_cli_realtime_pgsql_cache(), set_var(), add_cfg_entry(), realtime_multi_handler(), fax_session_new(), fax_session_tab_complete(), __ast_http_post_load(), aji_handle_message(), aji_handle_presence(), complete_ulimit(), ast_monitor_start(), moh_add_file(), load_odbc_config(), handle_cli_odbc_show(), __analog_handle_event(), pri_ss_thread(), sig_pri_party_name_convert(), sig_pri_party_number_convert(), sig_pri_handle_subcmds(), sig_pri_call(), tps_taskprocessor_tab_complete(), ast_taskprocessor_get(), ast_tls_read_conf(), complete_trans_path_choice(), xmldoc_string_wrap(), xmldoc_get_syntax_fun(), xmldoc_parse_cmd_enumlist(), xmldoc_get_syntax_cmd(), xmldoc_get_syntax_manager(), ast_xmldoc_build_seealso(), ast_xmldoc_build_arguments(), xmldoc_build_field(), and ast_xmldoc_load_documentation().
| #define ast_strndup | ( | a, | |
| b | |||
| ) | __ast_strndup(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 108 of file astmm.h.
Referenced by ast_recvtext().
| #define ast_vasprintf | ( | a, | |
| b, | |||
| c | |||
| ) | __ast_vasprintf(a,b,c,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 120 of file astmm.h.
Referenced by ast_cc_monitor_failed(), execute_and_consume(), ast_udptl_set_tag(), and xmldoc_reverse_helper().
| #define calloc | ( | a, | |
| b | |||
| ) | __ast_calloc(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 72 of file astmm.h.
Referenced by yyparse(), ael_token_subst(), npval(), ast_app_group_set_channel(), alloc_expr_node(), stack_init(), misdn_lib_init(), check_macro_returns(), check_switch_expr(), new_prio(), new_exten(), pvalCreateNode(), tdd_new(), and tdd_feed().
| #define free | ( | a | ) | __ast_free(a,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 87 of file astmm.h.
Referenced by get_local_address(), yydestruct(), yyparse(), yyerror(), ast_app_group_set_channel(), path_lock_destroy(), findmeexec(), init_jack_data(), sla_station_exec(), destroy_queue(), free_value(), to_number(), destroy_arglist(), op_func(), ast_yyfree(), ast_expr(), ast_str_expr(), ast_yyerror(), ast_unregister_atexit(), ao2_bt(), ast_autoservice_start(), ast_autoservice_stop(), execute_and_consume(), cli_console_dial(), load_module(), mgcp_prune_realtime_gateway(), do_monitor(), delete_devices(), skinny_reload(), unload_module(), store_config(), ast_channel_destructor(), ast_channel_set_fd(), complete_fn(), add_subscribe_event(), build_event_channel(), publish_event_destroy(), subscribe_event_destroy(), event_channel_destroy(), filestream_destructor(), curlds_free(), acf_curlopt_write(), ast_hashtab_create(), ast_hashtab_dup(), ast_hashtab_destroy(), ast_hashtab_resize(), ast_hashtab_end_traversal(), ast_hashtab_remove_object_internal(), handle_cr(), handle_event_nt(), ast_module_shutdown(), ast_backtrace(), ast_logger_unregister_level(), split_ec(), complete_dialplan_remove_include(), handle_cli_dialplan_remove_extension(), complete_dialplan_remove_extension(), complete_dialplan_add_include(), complete_dialplan_add_ignorepat(), complete_dialplan_remove_ignorepat(), pbx_load_config(), check_pval_item(), linkprio(), destroy_extensions(), gen_prios(), fix_gotos_in_extensions(), destroy_pval_item(), table_config_new(), table_configs_free(), realtime_ldap_result_to_vars(), realtime_ldap(), realtime_multi_ldap(), update_ldap(), moh_class_destructor(), delete_file(), load_file(), cops_sendmsg(), cops_freemsg(), cops_gate_cmd(), do_pktccops(), pktccops_unregister_cmtses(), pktccops_unregister_ippools(), ast_rtp_stop(), ast_smdi_interface_destroy(), destroy_mailbox_mapping(), smdi_msg_datastore_destroy(), sig_pri_cli_show_span(), tdd_feed(), tdd_free(), and ast_threadstorage_get().
| #define malloc | ( | a | ) | __ast_malloc(a,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 81 of file astmm.h.
Referenced by get_local_address(), yyparse(), make_number(), make_str(), to_string(), compose_func_args(), op_tildetilde(), ast_yyalloc(), expr2_token_subst(), init_bc(), misdn_lib_send_event(), linkprio(), gen_prios(), cops_getmsg(), cops_sendmsg(), cops_gate_cmd(), and do_pktccops().
| #define realloc | ( | a, | |
| b | |||
| ) | __ast_realloc(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 93 of file astmm.h.
Referenced by ast_yyrealloc().
| #define strdup | ( | a | ) | __ast_strdup(a,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
Definition at line 99 of file astmm.h.
Referenced by yyparse(), npval(), ast_lock_path_flock(), make_str(), complete_dialplan_remove_include(), complete_dialplan_remove_extension(), complete_dialplan_add_include(), handle_cli_dialplan_add_extension(), complete_dialplan_add_extension(), complete_dialplan_add_ignorepat(), complete_dialplan_remove_ignorepat(), pbx_load_config(), pbx_load_users(), check_macro_returns(), check_switch_expr(), gen_prios(), add_extensions(), fix_gotos_in_extensions(), ast_compile_ael2(), and dummy_start().
| #define strndup | ( | a, | |
| b | |||
| ) | __ast_strndup(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define vasprintf | ( | a, | |
| b, | |||
| c | |||
| ) | __ast_vasprintf(a,b,c,__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| int __ast_asprintf | ( | const char * | file, |
| int | lineno, | ||
| const char * | func, | ||
| char ** | strp, | ||
| const char * | format, | ||
| ... | |||
| ) |
| void* __ast_calloc | ( | size_t | nmemb, |
| size_t | size, | ||
| const char * | file, | ||
| int | lineno, | ||
| const char * | func | ||
| ) |
Referenced by internal_ao2_alloc(), ast_var_assign(), ast_variable_new(), __ast_datastore_alloc(), ast_hashtab_create(), ast_hashtab_dup(), ast_hashtab_insert_immediate_bucket(), ast_hashtab_resize(), ast_hashtab_start_traversal(), ast_hashtab_start_write_traversal(), ast_heap_create(), add_string_pool(), and __ast_calloc_with_stringfields().
| void* __ast_calloc_cache | ( | size_t | nmemb, |
| size_t | size, | ||
| const char * | file, | ||
| int | lineno, | ||
| const char * | func | ||
| ) |
| void __ast_free | ( | void * | ptr, |
| const char * | file, | ||
| int | lineno, | ||
| const char * | func | ||
| ) |
| void* __ast_malloc | ( | size_t | size, |
| const char * | file, | ||
| int | lineno, | ||
| const char * | func | ||
| ) |
Referenced by __ast_cc_config_params_init().
| void __ast_mm_init | ( | void | ) |
Referenced by main().
| void* __ast_realloc | ( | void * | ptr, |
| size_t | size, | ||
| const char * | file, | ||
| int | lineno, | ||
| const char * | func | ||
| ) |
Referenced by grow_heap().
| char* __ast_strdup | ( | const char * | s, |
| const char * | file, | ||
| int | lineno, | ||
| const char * | func | ||
| ) |
| char* __ast_strndup | ( | const char * | s, |
| size_t | n, | ||
| const char * | file, | ||
| int | lineno, | ||
| const char * | func | ||
| ) |
| int __ast_vasprintf | ( | char ** | strp, |
| const char * | format, | ||
| va_list | ap, | ||
| const char * | file, | ||
| int | lineno, | ||
| const char * | func | ||
| ) |