Wed Apr 6 11:29:53 2011

Asterisk developer's documentation


astmm.h File Reference

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 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)


Detailed Description

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 Documentation

#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)

Definition at line 111 of file astmm.h.

Referenced by aji_act_hook(), aji_create_client(), ast_pthread_create_stack(), build_filename(), build_peer(), complete_dialplan_remove_extension(), complete_span_helper(), dial_exec_full(), handle_gosub(), init_acf_query(), store_config(), and yyparse().

#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_enum(), xmldoc_parse_option(), xmldoc_parse_parameter(), and xmldoc_parse_variablelist().

#define ast_calloc ( a,
 )     __ast_calloc(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 75 of file astmm.h.

Referenced by __ast_calloc_with_stringfields(), __ast_datastore_alloc(), __ast_format_register(), __ast_http_post_load(), __ast_module_user_add(), __ast_pbx_run(), __sip_reliable_xmit(), _ast_register_timing_interface(), _parse(), _sip_show_peers(), accept_thread(), acf_curlopt_write(), acf_iaxvar_write(), acf_odbc_read(), action_bridge(), action_command(), action_originate(), add_agent(), add_agi_cmd(), add_event_to_list(), add_features_datastores(), add_pattern_node(), add_peer_mailboxes(), add_publish_event(), add_realm_authentication(), add_redirect(), add_sip_domain(), add_string_pool(), add_subscribe_event(), add_to_agi(), add_to_load_order(), adjust_frame_for_plc(), aes_helper(), aji_create_buddy(), aji_create_client(), aji_handle_message(), aji_handle_presence(), ALLOC_COMMENT(), alloc_jb_frame(), alloc_profile(), alloc_smdi_interface(), alloc_sub(), analog_new(), answer_exec_enable(), anti_injection(), append_history_va(), append_mapping(), append_permission(), apply_plc(), ast_add_extension2_lockopt(), ast_add_profile(), ast_aoc_create(), ast_aoc_decode(), ast_aoc_encode(), ast_append_ha(), ast_audiohook_attach(), ast_autochan_setup(), ast_autoservice_start(), ast_bridge_features_hook(), ast_bridge_impart(), ast_bridge_new(), ast_bt_create(), ast_bt_get_symbols(), ast_category_new(), ast_cc_agent_register(), ast_cc_agent_status_response(), ast_cc_build_frame(), ast_cc_extension_monitor_add_dialstring(), ast_cc_monitor_failed(), ast_cc_monitor_register(), ast_cdr_alloc(), ast_cdr_detach(), ast_cdr_register(), ast_channel_iterator_all_new(), ast_channel_register(), ast_channel_set_fd(), ast_channel_start_silence_generator(), ast_channel_transfer_masquerade(), ast_cli_perms_init(), ast_config_new(), ast_context_add_ignorepat2(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_find_or_create(), ast_data_iterator_init(), ast_devstate_changed_literal(), ast_devstate_prov_add(), ast_dial_append(), ast_dial_create(), ast_dnsmgr_get(), ast_dsp_new(), ast_duplicate_ha(), ast_event_dup(), ast_event_new(), ast_event_sub_append_ie_bitflags(), ast_event_sub_append_ie_exists(), ast_event_sub_append_ie_raw(), ast_event_sub_append_ie_str(), ast_event_sub_append_ie_uint(), ast_event_subscribe_new(), ast_extension_state_add(), ast_fax_tech_register(), ast_frame_header_new(), ast_framehook_attach(), ast_get_enum(), 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(), ast_iax2_new(), ast_include_new(), ast_linear_stream(), ast_lock_path_flock(), ast_merge_contexts_and_delete(), ast_module_register(), ast_monitor_start(), ast_netsock_bindaddr(), ast_netsock_list_alloc(), ast_odbc_find_table(), ast_pbx_outgoing_app(), ast_pbx_outgoing_exten(), ast_register_application2(), ast_register_atexit(), ast_register_file_version(), ast_register_thread(), ast_rtp_new(), ast_rtp_prop_set(), ast_sched_thread_create(), ast_setlocale(), ast_setup_cc_recall_datastore(), ast_speech_new(), ast_srtp_policy_set_master_key(), ast_srv_lookup(), ast_ssl_init(), ast_strftime_locale(), ast_taskprocessor_get(), AST_TEST_DEFINE(), ast_threadstorage_get(), ast_timer_open(), ast_tzset(), ast_udptl_new_with_bindaddr(), ast_var_assign(), ast_variable_new(), audiohook_volume_get(), authenticate_reply(), board_setup(), bridge_request(), build_alias(), build_conf(), build_context(), build_device(), build_event_channel(), build_extension(), build_mapping(), build_peer(), build_profile(), build_user(), builtin_atxfer(), caldav_add_event(), callerid_new(), cc_generic_agent_init(), cc_generic_monitor_request_cc(), cc_interfaces_datastore_init(), cc_recall_ds_duplicate(), cc_request_state_change(), channel_iterator_search(), check_match(), compile_script(), config_cache_attribute(), config_device(), config_ldap(), config_line(), config_module(), config_parse_variables(), config_text_file_load(), cops_gate_cmd(), copy_rules(), create_client(), create_followme_number(), create_transaction(), create_trunk_ref(), create_video_frame(), create_vmaccount(), dahdi_r2_get_link(), dec_init(), deep_copy_peer(), defer_full_frame(), device_state_cb(), devstate_change_collector_cb(), dial_exec_full(), dial_features_duplicate(), dialed_cc_interfaces_duplicate(), dialed_interface_duplicate(), do_directory(), do_monitor(), do_proxy_auth(), dundi_answer_entity(), dundi_answer_query(), dundi_query_read(), dundi_send(), endelm(), enum_query_read(), extension_monitor_pvt_init(), external_rtp_create(), fax_session_new(), fbuf_append(), find_cache(), find_idle_thread(), find_or_create(), find_table(), find_tpeer(), find_transaction(), find_user_realtime(), findmeexec(), fixed_jb_new(), frame_trace_helper(), func_channel_write_real(), gen_alloc(), generic_monitor_devstate_cb(), get_lock(), gmtsub(), gosub_allocate_frame(), gosub_exec(), gtalk_add_candidate(), gtalk_alloc(), gtalk_create_candidates(), gui_init(), handle_command_response(), handle_subscribe(), handle_verbose(), iax2_append_register(), iax2_dup_variable_datastore(), iax_frame_new(), iax_park(), iax_process_template(), icalendar_add_event(), inherit_category(), init_acf_query(), init_logger_chain(), initialize_mutehook(), insert_penaltychange(), internal_ao2_alloc(), internal_ao2_callback(), internal_ao2_link(), io_context_create(), jingle_add_candidate(), jingle_alloc(), jingle_create_candidates(), keypad_cfg_read(), launch_monitor_thread(), load_config(), load_dynamic_module(), load_module(), load_values_config(), local_call(), make_entry(), make_logchannel(), message_template_create(), message_template_parse_filebody(), milliwatt_alloc(), misdn_cfg_init(), mkif(), moh_add_file(), moh_alloc(), moh_files_alloc(), mohalloc(), multicast_rtp_new(), mvm_user_alloc(), mwi_send_init(), mwi_sub_event_cb(), mwi_unsub_event_cb(), nbs_alloc(), newpvt(), oh323_alloc(), osp_create_provider(), page_exec(), park_space_reserve(), parse_cdata(), parse_srv(), pitchshift_helper(), playtones_alloc(), queue_file(), queue_file_create(), queue_reload_request(), queue_request(), queue_ringing_trunk(), queue_signalling(), realtime_ldap_result_to_vars(), realtime_multi_pgsql(), realtime_pgsql(), receive_ademco_contact_id(), receivefax_exec(), register_translator(), reload_queue_rules(), req_alloc(), res_srtp_new(), reschedule_precache(), rtp_red_init(), scan_service(), sched_alloc(), sched_context_create(), secure_call_store_duplicate(), sendfax_exec(), setup_inheritable_audiohook(), setup_inheritance_datastore(), setup_mixmonitor_ds(), setup_transfer_datastore(), shared_write(), sig_pri_chan_new(), sig_ss7_chan_new(), sip_cc_agent_init(), sip_cc_monitor_suspend(), sip_epa_register(), sip_notify_allocate(), sip_park(), sip_prepare_socket(), sip_refer_allocate(), sip_request_call(), sip_st_alloc(), skinny_new(), skinny_req_parse(), sla_create_ringing_station(), sla_create_station_ref(), sla_queue_event_full(), sla_ring_station(), smdi_msg_retrieve_read(), smdi_read(), socket_process(), softmix_bridge_join(), spandsp_fax_new(), spawn_dp_lookup(), speech_background(), speex_write(), srv_datastore_setup(), start_network_thread(), startelm(), store_by_locale(), store_config(), substituted(), table_config_new(), timezone_add(), tonepair_alloc(), tps_task_alloc(), transmit_response(), try_firmware(), try_load_key(), update2_ldap(), update_ldap(), vm_allocate_dh(), vm_execmain(), and volume_write().

#define ast_calloc_cache ( a,
 )     __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 (  )     __ast_free(a,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 90 of file astmm.h.

Referenced by __ast_cli_generator(), __ast_cli_unregister(), __ast_context_destroy(), __ast_datastore_alloc(), __ast_http_load(), __ast_http_post_load(), __ast_internal_context_destroy(), __ast_module_user_hangup_all(), __ast_module_user_remove(), __ast_pbx_run(), __ast_string_field_init(), __ast_string_field_release_active(), __frame_free(), __init_manager(), __oh323_destroy(), __sip_ack(), __sip_destroy(), __sip_reliable_xmit(), __unload_module(), _free_general_cfg(), _free_msn_list(), _free_port_cfg(), _macro_exec(), _parse(), _sip_show_peers(), acf_curl_helper(), acf_cut_exec(), acf_faxopt_read(), acf_fetch(), acf_retrieve_docs(), action_command(), action_originate(), action_status(), add_agi_cmd(), add_cfg_entry(), add_user_extension(), adjust_frame_for_plc(), adsi_prog(), aes_helper(), agent_cleanup(), agent_hangup(), agi_destroy_commands_cb(), aji_act_hook(), aji_buddy_destroy(), aji_client_destroy(), aji_create_client(), aji_find_version(), aji_handle_presence(), aji_message_destroy(), alarmreceiver_exec(), analog_delete(), analog_free(), analog_hangup(), answer_exec_disable(), ao2_iterator_destroy(), aoc_display_decoded_debug(), app_exec(), append_history_va(), ast_agi_unregister(), ast_aoc_destroy_decoded(), ast_aoc_destroy_encoded(), ast_aoc_manager_event(), ast_aoc_test_encode_decode_match(), ast_app_group_discard(), ast_app_group_update(), ast_audiohook_detach_list(), ast_autochan_destroy(), ast_bridge_features_cleanup(), ast_bridge_impart(), ast_bt_destroy(), ast_category_destroy(), ast_cc_agent_set_interfaces_chanvar(), ast_cc_agent_status_response(), ast_cc_agent_unregister(), ast_cc_build_frame(), ast_cc_config_params_destroy(), ast_cc_monitor_failed(), ast_cc_monitor_unregister(), ast_cdr_discard(), ast_cdr_free(), ast_cdr_unregister(), ast_channel_destructor(), ast_channel_iterator_destroy(), ast_channel_start_silence_generator(), ast_channel_stop_silence_generator(), ast_channel_unregister(), ast_child_verbose(), ast_cli_command_full(), ast_cli_display_match_list(), ast_cli_generatornummatches(), ast_cli_perms_init(), ast_comment_destroy(), ast_config_destroy(), ast_connected_line_parse_data(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_remove_ignorepat2(), ast_context_remove_include2(), ast_context_remove_switch2(), ast_data_add_password(), ast_data_add_str(), ast_data_iterator_end(), ast_datastore_free(), ast_db_freetree(), ast_destroy_timing(), ast_devstate_prov_del(), ast_dial_destroy(), ast_dnsmgr_release(), ast_dsp_free(), ast_el_strtoarr(), ast_event_destroy(), ast_event_ie_val_destroy(), ast_event_sub_append_ie_raw(), ast_event_sub_append_ie_str(), ast_event_sub_destroy(), ast_extension_state_del(), ast_fax_tech_unregister(), ast_filehelper(), ast_format_unregister(), ast_framehook_attach(), ast_framehook_list_destroy(), ast_free_ha(), ast_frisolate(), ast_func_read(), ast_get_enum(), ast_get_srv(), ast_heap_create(), ast_heap_destroy(), ast_http_auth(), ast_http_error(), ast_http_send(), ast_http_uri_unlink_all_with_key(), ast_iax2_new(), ast_io_remove(), ast_load_realtime(), ast_log(), ast_manager_register2(), ast_manager_unregister(), ast_merge_contexts_and_delete(), ast_module_unregister(), ast_monitor_start(), ast_monitor_stop(), ast_netsock_bindaddr(), ast_netsock_destroy(), ast_netsock_release(), ast_parse_digest(), ast_party_dialed_copy(), ast_party_dialed_free(), ast_party_dialed_set(), ast_party_id_copy(), ast_party_id_free(), ast_party_id_set(), ast_party_name_copy(), ast_party_name_free(), ast_party_name_set(), ast_party_number_copy(), ast_party_number_free(), ast_party_number_set(), ast_party_subaddress_copy(), ast_party_subaddress_free(), ast_party_subaddress_set(), ast_pbx_outgoing_app(), ast_pbx_outgoing_exten(), ast_pbx_run_app(), ast_playtones_start(), ast_process_pending_reloads(), ast_read_textfile(), ast_readfile(), ast_recvchar(), ast_redirecting_parse_data(), ast_register_application2(), ast_remove_hint(), ast_rtp_destroy(), ast_rtp_new(), ast_rtp_prop_set(), ast_say_number_full_ka(), ast_sched_thread_destroy(), ast_set_callerid(), ast_set_cc_interfaces_chanvar(), ast_setup_cc_recall_datastore(), ast_smdi_md_message_destroy(), ast_smdi_mwi_message_destroy(), ast_smoother_free(), ast_sockaddr_resolve_first_af(), ast_speech_destroy(), ast_speech_new(), ast_speech_results_free(), ast_srtp_destroy(), ast_srtp_policy_set_master_key(), ast_srv_lookup(), ast_str_substitute_variables_full(), ast_strftime_locale(), ast_timer_close(), ast_tls_read_conf(), ast_tone_zone_destructor(), ast_tone_zone_sound_destructor(), ast_udptl_destroy(), ast_udptl_new_with_bindaddr(), ast_udptl_set_tag(), ast_unregister_application(), ast_unregister_feature(), ast_unregister_features(), ast_unregister_file_version(), ast_unregister_groups(), ast_unregister_thread(), ast_unregister_timing_interface(), ast_unregister_verbose(), ast_var_delete(), ast_variables_destroy(), ast_writefile(), ast_xmldoc_build_arguments(), ast_xmldoc_build_seealso(), ast_xmldoc_printable(), async_wait(), attempt_reconnect(), audiohook_inheritance_destroy(), audiohook_volume_destroy(), authenticate_reply(), board_setup(), bridge_call_thread(), bridge_channel_thread(), bridge_exec(), bridge_hangup(), bridge_request(), build_conf(), build_device(), build_extension(), build_peer(), build_user_routes(), caldav_get_events_between(), caldav_request(), caldav_write_event(), calendar_event_destructor(), calendar_join_attendees(), callattempt_free(), callerid_free(), callerid_write(), cc_cli_output_status(), cc_do_state_change(), cc_epa_destructor(), cc_extension_monitor_destructor(), cc_generic_agent_destructor(), cc_generic_monitor_destructor(), cc_generic_monitor_request_cc(), cc_interfaces_datastore_init(), cc_monitor_destroy(), cc_monitor_failed(), cc_recall_ds_destroy(), cc_request_state_change(), cc_status_response(), cdr_handler(), change_redirecting_information(), chanlist_free(), channel_iterator_search(), cleanup_call_details(), cleanup_sdl(), clear_config_maps(), clear_realm_authentication(), clear_sip_domains(), clearvar_prefix(), cli_complete(), cli_fax_show_sessions(), close_client(), compile_script(), conf_run(), config_function_read(), config_handler(), config_ldap(), config_module(), config_text_file_load(), connect_link(), console_dial(), console_transfer(), container_destruct(), container_destruct_debug(), cops_freemsg(), copy_event_data(), create_video_frame(), crypto_load(), curl_instance_cleanup(), cut_internal(), dahdi_callwait(), dahdi_cc_callback(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_new(), dahdi_r2_destroy_links(), dahdi_r2_get_link(), dahdi_sendtext(), data_provider_print_cli(), data_result_destructor(), data_result_manager_output(), data_result_print_cli(), data_result_print_cli_node(), data_search_destructor(), data_search_generate(), datastore_destroy_cb(), dec_uninit(), deinit_req(), delete_board(), delete_extension(), delete_users(), destroy(), destroy_bridge(), destroy_callback(), destroy_dahdi_pvt(), destroy_devstate_change(), destroy_exten(), destroy_firmware(), destroy_gateway(), destroy_jack_data(), destroy_mailbox(), destroy_map(), destroy_packet(), destroy_packets(), destroy_pattern_tree(), destroy_peer(), destroy_permissions(), destroy_session(), destroy_session_details(), destroy_station(), destroy_table(), destroy_table_cache(), destroy_trans(), destroy_trunk(), destroy_user_perms(), device_state_cb(), dial_exec_full(), dial_features_destroy(), dialed_cc_interfaces_destroy(), dialed_interface_destroy(), dialgroup_refreshdb(), dialog_unlink_all(), do_batch_backend_process(), do_devstate_changes(), do_directory(), do_monitor(), do_notify(), do_parking_thread(), do_pktccops(), dp_lookup_thread(), drds_destroy(), drop_translator(), dummy_start(), dump_cmd_queues(), dump_queue(), dundi_answer_entity(), dundi_answer_query(), dundi_flush(), dundi_lookup_thread(), dundi_precache_thread(), dundi_query_thread(), dundi_send(), duplicate_pseudo(), eivr_comm(), endelm(), enum_query_read(), erds_destroy(), eventlist_destructor(), ewscal_write_event(), exception_store_free(), exchangecal_get_events_between(), exchangecal_request(), exchangecal_write_event(), exec_exec(), external_rtp_create(), fast_originate(), fax_session_new(), festival_exec(), fetch_icalendar(), fetch_response_reader(), filestream_destructor(), find_and_retrans(), find_cache(), find_idle_thread(), find_realtime(), find_user_realtime(), findmeexec(), fixed_jb_destroy(), frame_cache_cleanup(), framehook_detach_and_destroy(), free_acf_query(), free_agi_cmd(), free_channelvars(), free_config(), free_context(), free_numbers(), free_old_route(), free_outgoing(), free_robin_list(), free_signaling_queue_entry(), free_table(), free_user(), free_zone(), func_channel_write_real(), func_inheritance_write(), func_mute_write(), function_autopatchup(), function_remote(), gen_release(), generic_monitor_devstate_cb(), generic_monitor_devstate_tp_cb(), generic_monitor_instance_list_destructor(), get_ewscal_ids_for(), get_lock(), get_params(), get_wait_interval(), gosub_exec(), gosub_free(), gosub_release_frame(), gtalk_alloc(), gtalk_create_candidates(), gtalk_free_candidates(), gtalk_free_pvt(), gtalk_get_local_ip(), gtalk_member_destroy(), gui_init(), handle_call_forward(), handle_cc_status(), handle_cli_agi_show(), handle_cli_udptl_set_debug(), handle_commandcomplete(), handle_commandmatchesarray(), handle_dbget(), handle_deferred_full_frames(), handle_getvariablefull(), handle_gosub(), handle_init_event(), handle_message(), handle_recvtext(), handle_request_cancel(), handle_response(), handle_response_subscribe(), handle_show_function(), handle_statechange(), handle_subscribe(), handle_unsubscribe(), handle_updates(), handle_verbose(), hook_destroy_cb(), iax2_append_register(), iax2_free_variable_datastore(), iax2_process_thread_cleanup(), iax2_setoption(), iax_frame_free(), iax_park(), iax_park_thread(), iax_parse_ies(), iax_provision_free_templates(), init_acf_query(), init_logger_chain(), init_queue(), init_req(), init_resp(), inotify_daemon(), insert_penaltychange(), internal_ao2_callback(), internal_ao2_ref(), io_context_create(), io_context_destroy(), jb_destroy(), jingle_alloc(), jingle_create_candidates(), jingle_free_candidates(), jingle_free_pvt(), jingle_member_destroy(), leave_queue(), leave_voicemail(), linear_alloc(), linear_release(), load_column_config(), load_config(), load_dynamic_module(), load_module(), load_resource_list(), load_values_config(), local_ast_moh_cleanup(), lock_free(), logger_thread(), login_exec(), lpc10_destroy(), lua_free_extensions(), lua_read_extensions_file(), lua_reload_extensions(), make_email_file(), make_logchannel(), manager_mutestream(), manager_rpt_status(), meetme_cmd(), meetme_show_cmd(), message_template_build(), message_template_free(), mgcp_postrequest(), mgcpsock_read(), milliwatt_release(), misdn_cfg_destroy(), misdn_jb_destroy(), misdn_jb_init(), mixmonitor_free(), mkif(), moh_release(), moh_scan_files(), mohalloc(), multicast_rtp_destroy(), multicast_rtp_new(), music_disable(), mwi_send_init(), mwi_send_process_buffer(), mwi_send_process_event(), mwi_sub_destroy(), mwi_sub_event_cb(), mwi_unsub_event_cb(), my_callwait(), my_cancel_cidspill(), my_send_callerid(), nbs_alloc(), nbs_destroy(), newpvt(), odbc_class_destructor(), odbc_datastore_free(), odbc_load_module(), odbc_log(), odbc_txn_free(), oh323_alloc(), oh323_answer(), oh323_destroy_alias(), oh323_destroy_peer(), oh323_destroy_user(), oh323_digit_begin(), oh323_digit_end(), oh323_hangup(), oh323_indicate(), osp_unload(), park_exec_full(), park_space_reserve(), parse_cdata(), parse_ewscal_id(), pbx_destroy(), pbx_load_config(), pbx_retrieve_variable(), pbx_set_overrideswitch(), pgsql_log(), pgsql_reconnect(), phoneprov_callback(), playtones_release(), plc_ds_destroy(), policy_destructor(), pp_each_extension_helper(), pp_each_user_helper(), pri_ss_thread(), print_app_docs(), process_precache(), process_request_queue(), profile_destructor(), purge_events(), queue_file_write(), queue_reload_request(), queue_transfer_destroy(), rcv_mac_addr(), read_agent_config(), readfile_exec(), realtime_destroy_handler(), realtime_handler(), realtime_ldap_base_ap(), realtime_multi_handler(), realtime_multi_pgsql(), realtime_peer(), realtime_pgsql(), realtime_store_handler(), realtime_update_handler(), register_translator(), release_jb_frame(), release_transaction(), reload_config(), reload_queue_rules(), report_fax_status(), require_pgsql(), res_srtp_new(), reset_tone_zone(), resolve_first(), retrans_pkt(), rpt(), rpt_call(), rpt_do_lstats(), rpt_do_stats(), rpt_exec(), rpt_manager_do_stats(), rpt_master(), rpt_tele_thread(), run_station(), scan_service(), scan_thread(), sched_context_destroy(), sched_release(), secure_call_store_destroy(), send_callerid(), send_request(), send_tone_telemetry(), sendfax_exec(), sendmail(), sendpage(), set_var(), setup_mixmonitor_ds(), shared_variable_free(), sig_pri_call(), sig_pri_chan_delete(), sig_pri_set_subaddress(), sig_ss7_chan_delete(), sip_cc_agent_destructor(), sip_park(), sip_park_thread(), sip_registry_destroy(), sip_subscribe_mwi_destroy(), sip_tcptls_client_args_destructor(), skinny_hangup(), skinny_req_parse(), sla_add_trunk_to_station(), sla_check_failed_station(), sla_check_reload(), sla_handle_dial_state_event(), sla_hangup_stations(), sla_stop_ringing_station(), sla_stop_ringing_trunk(), sla_thread(), sla_trunk_exec(), socket_process(), socket_receive_file_to_buff(), softmix_bridge_leave(), spandsp_fax_destroy(), spandsp_fax_new(), speech_processing_sound(), speex_callback(), speex_write(), sqlite_log(), srds_destroy_cb(), srv_datastore_setup(), start_network_thread(), startelm(), statpost(), store_mixer(), table_configs_free(), tcptls_packet_destructor(), tds_log(), tds_unload_module(), telem_lookup(), temp_pvt_cleanup(), timezone_add(), timing_read(), tonepair_release(), tps_task_free(), tps_taskprocessor_destroy(), transmit_response(), tryexec_exec(), unalloc_sub(), unistim_new(), unload_config(), unload_module(), unregister_translators(), update2_ldap(), update2_pgsql(), update_caldav(), update_ewscal(), update_exchangecal(), update_ldap(), userevent_exec(), vm_change_password(), vm_execmain(), vmaccounts_destroy_list(), write_cdr(), write_history(), write_htmldump(), xfer_ds_destroy(), xmldoc_build_field(), xmldoc_get_syntax_cmd(), xmldoc_get_syntax_fun(), xmldoc_get_syntax_manager(), xmldoc_parse_cmd_enumlist(), xmldoc_parse_enum(), xmldoc_parse_option(), xmldoc_parse_para(), xmldoc_parse_parameter(), xmldoc_parse_variable(), xmldoc_parse_variablelist(), xmldoc_reverse_helper(), and xmldoc_string_wrap().

#define ast_malloc (  )     __ast_malloc(a,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 84 of file astmm.h.

Referenced by __ast_cc_config_params_init(), _parse(), aji_find_version(), append_event(), ast_bt_get_symbols(), ast_child_verbose(), ast_cli_completion_matches(), ast_connected_line_parse_data(), ast_data_add_password(), ast_data_add_str(), ast_db_gettree(), ast_event_sub_append_ie_raw(), ast_frisolate(), ast_io_add(), ast_loader_register(), ast_pthread_create_stack(), ast_read_textfile(), ast_redirecting_parse_data(), ast_register_verbose(), ast_say_number_full_ka(), ast_say_number_full_pl(), ast_smoother_new(), ast_sockaddr_resolve(), ast_writefile(), build_route(), cli_complete(), complete_queue_add_member(), config_function_read(), connect_link(), dahdi_callwait(), dahdi_sendtext(), destroy_trans(), donodelog(), duplicate_pseudo(), evt_event_deliver_cb(), fetch_response_reader(), find_user(), generate_filenames_string(), handle_cc_status(), handle_cli_agi_show(), handle_commandmatchesarray(), handle_show_function(), hid_device_mklist(), iax2_setoption(), init_batch(), io_context_create(), jb_new(), load_config(), load_file(), load_module(), lua_read_extensions_file(), manager_rpt_status(), mgcp_postrequest(), misdn_jb_init(), my_callwait(), my_send_callerid(), print_app_docs(), queue_put(), rcv_mac_addr(), rpt(), rpt_do_lstats(), rpt_exec(), rpt_tele_thread(), rpt_telemetry(), send_cwcidspill(), send_request(), sig_pri_set_subaddress(), socket_receive_file_to_buff(), statpost(), and write_history().

#define ast_realloc ( a,
 )     __ast_realloc(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 96 of file astmm.h.

Referenced by ast_add_profile(), ast_cli_completion_matches(), ast_el_strtoarr(), ast_event_append_ie_raw(), ast_playtones_start(), ast_strftime_locale(), bridge_array_add(), cli_complete(), dahdi_r2_get_link(), dialgroup_refreshdb(), do_monitor(), do_pktccops(), enum_callback(), fbuf_append(), get_params(), grow_heap(), handle_commandmatchesarray(), hid_device_mklist(), iax2_trunk_queue(), iax_frame_new(), io_grow(), keypad_cfg_read(), ldap_loadentry(), manage_parkinglot(), moh_add_file(), socket_receive_file_to_buff(), store_tone_zone_ring_cadence(), update2_ldap(), update_ldap(), vm_allocate_dh(), and xmldoc_reverse_helper().

#define ast_strdup (  )     __ast_strdup(a,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 102 of file astmm.h.

Referenced by __analog_handle_event(), __ast_channel_alloc_ap(), __ast_cli_register(), __ast_datastore_alloc(), __ast_http_load(), __ast_http_post_load(), __init_manager(), __oh323_new(), _macro_exec(), add_agi_cmd(), add_cfg_entry(), add_to_load_order(), aji_handle_message(), aji_handle_presence(), answer_exec_enable(), ast_add_profile(), ast_agi_register(), ast_bridge_timelimit(), ast_build_timing(), ast_cc_monitor_failed(), ast_cel_fabricate_channel_from_event(), ast_cli_complete(), ast_cli_perms_init(), ast_complete_applications(), ast_complete_channels(), ast_complete_source_filename(), ast_context_find_or_create(), ast_dial_append(), ast_el_strtoarr(), ast_event_sub_append_ie_str(), ast_ext_ctx(), ast_extension_state(), ast_extension_state_add(), ast_frisolate(), ast_iax2_new(), ast_include_new(), ast_logger_register_level(), ast_merge_contexts_and_delete(), ast_module_helper(), ast_monitor_start(), ast_party_dialed_copy(), ast_party_dialed_set(), ast_party_id_copy(), ast_party_id_set(), 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_readfile(), ast_register_indication(), ast_set_callerid(), ast_streamfile(), ast_taskprocessor_get(), ast_tls_read_conf(), ast_writefile(), ast_xmldoc_build_arguments(), ast_xmldoc_build_seealso(), attempt_reconnect(), autoanswer_complete(), build_mapping(), caldav_add_event(), calendar_write_exec(), callerid_write(), cb_events(), cc_device_monitor_init(), cc_generic_monitor_request_cc(), change_redirecting_information(), cli_console_active(), cli_odbc_read(), cli_odbc_write(), complete_agent_logoff_cmd(), complete_channeltypes(), complete_core_id(), complete_core_show_hint(), complete_country(), complete_debug_port(), complete_fn(), complete_iax2_peers(), complete_iax2_unregister(), complete_indications(), complete_meetmecmd(), complete_minivm_show_users(), complete_number(), complete_peer_helper(), complete_queue(), complete_queue_add_member(), complete_queue_pause_member(), complete_queue_remove_member(), complete_queue_rule_show(), complete_queue_set_member_penalty(), complete_show_config(), complete_show_dialplan_context(), complete_sip_peer(), complete_sip_registered_peer(), complete_sip_user(), complete_sipch(), complete_sipnotify(), complete_skinny_devices(), complete_skinny_reset(), complete_skinny_show_device(), complete_skinny_show_line(), complete_trans_path_choice(), complete_ulimit(), complete_voicemail_show_users(), conf_run(), config_module(), connect_link(), context_merge(), create_new_generic_list(), dahdi_handle_event(), dahdi_new(), data_search_generate(), do_forward(), endelm(), enum_callback(), fax_session_new(), fax_session_tab_complete(), function_autopatchup(), function_remote(), generic_monitor_devstate_cb(), get_rdnis(), get_wait_interval(), gtalk_new(), handle_call_forward(), handle_cli_config_reload(), handle_cli_odbc_show(), handle_cli_realtime_pgsql_cache(), handle_core_set_debug_channel(), handle_show_calendar(), handle_show_function(), handle_show_version_files(), handle_showcalls(), handle_showmanager(), handle_showmancmd(), handle_verbose(), iax_prov_complete_template(), icalendar_add_event(), is_prefix(), jingle_new(), load_column_config(), load_config(), load_module(), load_values_config(), manage_parkinglot(), message_template_parse_emailbody(), mgcp_new(), mgcp_ss(), misdn_call(), misdn_new(), moh_add_file(), music_enable(), mwi_sub_event_cb(), odbc_load_module(), oh323_answer(), oh323_digit_begin(), oh323_digit_end(), oh323_hangup(), oh323_indicate(), oss_new(), park_call_full(), parse_args(), parse_config(), parse_moved_contact(), party_id_write(), party_name_write(), party_number_write(), party_subaddress_write(), pbx_load_config(), pbx_set_overrideswitch(), phone_new(), pri_ss_thread(), realtime_ldap_result_to_vars(), realtime_multi_handler(), register_exten(), register_peer_exten(), rpt_call(), rpt_do_stats(), rpt_manager_do_stats(), rpt_master(), rpt_tele_thread(), send_tone_telemetry(), set_fn(), set_full_cmd(), set_var(), sig_pri_call(), sig_pri_handle_subcmds(), sig_pri_party_name_convert(), sig_pri_party_number_convert(), sig_pri_set_subaddress(), sip_new(), sip_prepare_socket(), skinny_new(), skinny_newcall(), spawn_dp_lookup(), speech_background(), speech_processing_sound(), speex_callback(), split_ec(), statpost(), store_config(), store_mixer(), table_config_new(), telem_lookup(), tps_taskprocessor_tab_complete(), unistim_new(), update_ldap(), usbradio_new(), write_htmldump(), xmldoc_build_field(), xmldoc_get_syntax_cmd(), xmldoc_get_syntax_fun(), xmldoc_get_syntax_manager(), xmldoc_parse_cmd_enumlist(), and xmldoc_string_wrap().

#define ast_strndup ( a,
 )     __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,
 )     __ast_vasprintf(a,b,c,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 120 of file astmm.h.

Referenced by ast_cc_monitor_failed(), ast_udptl_set_tag(), execute_and_consume(), and xmldoc_reverse_helper().

#define calloc ( a,
 )     __ast_calloc(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 72 of file astmm.h.

Referenced by ael_token_subst(), alloc_expr_node(), ast_app_group_set_channel(), check_macro_returns(), misdn_lib_init(), new_exten(), new_prio(), npval(), pvalCreateNode(), stack_init(), tdd_feed(), tdd_new(), and yyparse().

#define free (  )     __ast_free(a,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 87 of file astmm.h.

Referenced by acf_curlopt_write(), add_subscribe_event(), ao2_bt(), ast_app_group_set_channel(), ast_autoservice_start(), ast_autoservice_stop(), ast_backtrace(), ast_category_destroy(), ast_channel_destructor(), ast_channel_set_fd(), ast_destroy_template_list(), ast_expr(), ast_hashtab_create(), ast_hashtab_destroy(), ast_hashtab_dup(), ast_hashtab_end_traversal(), ast_hashtab_remove_object_internal(), ast_hashtab_resize(), ast_include_rename(), ast_includes_destroy(), ast_logger_unregister_level(), ast_module_shutdown(), ast_rtp_stop(), ast_smdi_interface_destroy(), ast_str_expr(), ast_threadstorage_get(), ast_unregister_atexit(), ast_yyerror(), ast_yyfree(), build_event_channel(), check_pval_item(), cli_console_dial(), complete_dialplan_add_ignorepat(), complete_dialplan_add_include(), complete_dialplan_remove_extension(), complete_dialplan_remove_ignorepat(), complete_dialplan_remove_include(), complete_fn(), cops_freemsg(), cops_gate_cmd(), cops_sendmsg(), curlds_free(), delete_devices(), delete_file(), destroy_arglist(), destroy_extensions(), destroy_mailbox_mapping(), destroy_pval_item(), destroy_queue(), do_monitor(), do_pktccops(), event_channel_destroy(), execute_and_consume(), filestream_destructor(), findmeexec(), free_value(), gen_prios(), get_local_address(), handle_cli_dialplan_remove_extension(), handle_cr(), handle_event_nt(), inclfile_destroy(), init_jack_data(), linkprio(), load_file(), load_module(), manage_parkinglot(), moh_class_destructor(), op_func(), park_space_reserve(), path_lock_destroy(), pktccops_unregister_cmtses(), pktccops_unregister_ippools(), publish_event_destroy(), realtime_ldap(), realtime_ldap_result_to_vars(), realtime_multi_ldap(), sig_pri_cli_show_span(), skinny_reload(), sla_station_exec(), smdi_msg_datastore_destroy(), split_ec(), store_config(), subscribe_event_destroy(), table_config_new(), table_configs_free(), tdd_feed(), tdd_free(), to_number(), unload_module(), update_ldap(), yydestruct(), yyerror(), and yyparse().

#define malloc (  )     __ast_malloc(a,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 81 of file astmm.h.

Referenced by ast_yyalloc(), compose_func_args(), cops_gate_cmd(), cops_getmsg(), cops_sendmsg(), do_pktccops(), expr2_token_subst(), gen_prios(), get_local_address(), init_bc(), linkprio(), make_number(), make_str(), misdn_lib_send_event(), op_tildetilde(), to_string(), and yyparse().

#define realloc ( a,
 )     __ast_realloc(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 93 of file astmm.h.

Referenced by ast_yyrealloc().

#define strdup (  )     __ast_strdup(a,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 99 of file astmm.h.

Referenced by add_extensions(), ast_category_new(), ast_include_rename(), ast_lock_path_flock(), build_parkinglot(), check_macro_returns(), complete_dialplan_add_extension(), complete_dialplan_add_ignorepat(), complete_dialplan_add_include(), complete_dialplan_remove_extension(), complete_dialplan_remove_ignorepat(), complete_dialplan_remove_include(), dummy_start(), fix_gotos_in_extensions(), gen_prios(), handle_cli_dialplan_add_extension(), make_str(), npval(), pbx_load_users(), and yyparse().

#define strndup ( a,
 )     __ast_strndup(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 105 of file astmm.h.

#define vasprintf ( a,
b,
 )     __ast_vasprintf(a,b,c,__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 117 of file astmm.h.

Referenced by _ast_asprintf().


Function Documentation

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 __ast_calloc_with_stringfields(), __ast_datastore_alloc(), add_string_pool(), 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(), ast_var_assign(), ast_variable_new(), and internal_ao2_alloc().

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 
)


Generated on Wed Apr 6 11:29:53 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7