Thu Oct 11 06:47:59 2012

Asterisk developer's documentation


astmm.h File Reference

Asterisk memory usage debugging. More...

#include "asterisk.h"
#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdarg.h>

Include dependency graph for astmm.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.

Definition in file astmm.h.


Define Documentation

#define __AST_DEBUG_MALLOC

Definition at line 33 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 111 of file astmm.h.

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

Definition at line 72 of file astmm.h.

Referenced by __ao2_alloc(), __ao2_link(), __ast_channel_alloc_ap(), __ast_datastore_alloc(), __ast_format_register(), __ast_http_post_load(), __ast_module_user_add(), __ast_pbx_run(), __ast_verbose_ap(), __init_manager(), __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_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(), answer_exec_enable(), anti_injection(), append_history_va(), append_mailbox_mapping(), append_mapping(), append_permission(), apply_plc(), ast_add_extension2_lockopt(), ast_add_profile(), ast_audiohook_attach(), ast_autoservice_start(), ast_bridge_features_hook(), ast_bridge_impart(), ast_bridge_new(), ast_category_new(), ast_cdr_alloc(), ast_cdr_detach(), ast_cdr_register(), ast_channel_register(), ast_channel_set_fd(), ast_channel_start_silence_generator(), 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_devstate_changed_literal(), ast_devstate_prov_add(), ast_dial_append(), ast_dial_create(), ast_dnsmgr_get(), ast_dsp_new(), ast_event_dup(), ast_event_new(), 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_frame_header_new(), 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_log(), ast_manager_register2(), 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_rtcp_new(), ast_rtp_new_with_bindaddr(), ast_safe_fork(), ast_sched_thread_create(), ast_speech_new(), ast_ssl_init(), ast_strftime(), ast_taskprocessor_get(), ast_threadstorage_get(), ast_timer_open(), ast_tzset(), ast_udptl_new_with_bindaddr(), ast_var_assign(), ast_variable_new(), audiohook_volume_get(), authenticate_reply(), bridge_request(), build_alias(), build_conf(), build_context(), build_device(), build_event_channel(), build_extension(), build_gateway(), build_mapping(), build_peer(), build_profile(), build_user(), builtin_atxfer(), callerid_new(), check_match(), compile_script(), config_cache_attribute(), config_device(), config_ldap(), config_line(), config_module(), config_parse_variables(), config_text_file_load(), copy_rules(), create_client(), create_followme_number(), create_transaction(), create_trunk_ref(), create_video_frame(), create_vmaccount(), dec_init(), deep_copy_peer(), defer_full_frame(), device_state_cb(), devstate_change_collector_cb(), dial_exec_full(), dial_features_duplicate(), dialed_interface_duplicate(), do_directory(), do_monitor(), do_proxy_auth(), dundi_answer_entity(), dundi_answer_query(), dundi_prop_precache(), dundi_query_read(), dundi_send(), enum_query_read(), external_rtp_create(), fbuf_append(), find_cache(), find_idle_thread(), find_or_create(), find_table(), find_table_cb(), find_tpeer(), find_transaction(), find_user_realtime(), findmeexec(), fixed_jb_new(), gen_alloc(), generic_http_callback(), get_lock(), get_robin_position(), gmtsub(), gosub_allocate_frame(), gosub_exec(), gtalk_add_candidate(), gtalk_alloc(), gtalk_create_candidates(), gtalk_load_config(), handle_command_response(), handle_subscribe(), handle_verbose(), iax2_append_register(), iax2_dup_variable_datastore(), iax_frame_new(), iax_park(), iax_process_template(), inherit_category(), init_acf_query(), init_chan_list(), init_logger_chain(), insert_penaltychange(), io_context_create(), jack_data_alloc(), jingle_add_candidate(), jingle_alloc(), jingle_create_candidates(), jingle_load_config(), launch_monitor_thread(), load_config(), load_module(), load_values_config(), local_call(), make_entry(), make_logchannel(), message_template_create(), message_template_parse_filebody(), milliwatt_alloc(), misdn_cfg_init(), mkif(), mkintf(), moh_add_file(), moh_alloc(), moh_files_alloc(), mohalloc(), 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_srv(), parse_via(), pbx_builtin_raise_exception(), phoneprov_callback(), playtones_alloc(), queue_reload_request(), queue_request(), queue_ringing_trunk(), queue_signalling(), realtime_ldap_result_to_vars(), realtime_multi_pgsql(), realtime_pgsql(), receive_ademco_contact_id(), register_group(), register_group_feature(), register_translator(), reload_queue_rules(), req_alloc(), reschedule_precache(), rtp_red_init(), scan_service(), sched_alloc(), sched_context_create(), session_do(), setup_inheritable_audiohook(), setup_inheritance_datastore(), setup_mixmonitor_ds(), setup_transfer_datastore(), shared_write(), sip_park(), sip_prepare_socket(), sip_refer_allocate(), sip_register(), sip_request_call(), sip_st_alloc(), sip_subscribe_mwi(), skinny_new(), skinny_req_parse(), sla_build_station(), sla_build_trunk(), 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(), spawn_dp_lookup(), speech_background(), speex_write(), start_network_thread(), store_config(), substituted(), table_config_new(), timezone_add(), tonepair_alloc(), tps_task_alloc(), transmit_response(), try_calling(), 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 75 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 87 of file astmm.h.

Referenced by __ast_channel_alloc_ap(), __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_verbose_ap(), __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_exec(), acf_fetch(), acf_odbc_read(), acf_retrieve_docs(), action_command(), action_originate(), action_status(), add_agi_cmd(), add_cfg_entry(), add_pattern_node(), add_pri_lockopt(), 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_find_version(), aji_handle_message(), aji_handle_presence(), alarmreceiver_exec(), answer_exec_disable(), app_exec(), append_history_va(), ast_agi_unregister(), ast_app_group_discard(), ast_app_group_update(), ast_append_ha(), ast_audiohook_detach_list(), ast_bridge_features_cleanup(), ast_bridge_impart(), ast_category_destroy(), ast_cdr_discard(), ast_cdr_free(), ast_cdr_unregister(), ast_channel_free(), 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_context_add_include2(), ast_context_add_switch2(), ast_context_remove_ignorepat2(), ast_context_remove_include2(), ast_context_remove_switch2(), 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_filehelper(), ast_format_unregister(), ast_free_ha(), ast_frisolate(), ast_get_enum(), ast_get_srv(), ast_heap_create(), ast_heap_destroy(), 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_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_register_application2(), ast_rtcp_new(), ast_rtp_destroy(), ast_rtp_new_with_bindaddr(), ast_say_number_full_ka(), ast_sched_thread_destroy(), ast_set_callerid(), ast_smdi_md_message_destroy(), ast_smdi_mwi_message_destroy(), ast_smoother_free(), ast_speech_destroy(), ast_speech_new(), ast_speech_results_free(), ast_strftime(), ast_timer_close(), 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(), async_wait(), attempt_reconnect(), audiohook_inheritance_destroy(), audiohook_volume_destroy(), authenticate_reply(), bridge_call_thread(), bridge_channel_thread(), bridge_hangup(), bridge_request(), build_conf(), build_device(), build_extension(), build_gateway(), build_peer(), build_profile(), callerid_free(), callerid_write(), cb_events(), cdr_handler(), cleanup_call_details(), clear_config_maps(), clear_realm_authentication(), clear_sip_domains(), clearvar_prefix(), cli_complete(), close_client(), compile_script(), conf_free(), config_curl(), config_function_read(), config_handler(), config_module(), config_text_file_load(), connect_link(), console_dial(), console_transfer(), container_destruct(), container_destruct_debug(), create_video_frame(), crypto_load(), curl_instance_cleanup(), dahdi_call(), dahdi_callwait(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_sendtext(), dec_uninit(), deinit_req(), delete_extension(), delete_users(), destroy(), destroy_bridge(), destroy_callback(), destroy_curl(), destroy_dahdi_pvt(), destroy_devstate_change(), destroy_endpoint(), destroy_exten(), destroy_firmware(), destroy_gateway(), destroy_jack_data(), destroy_mailbox(), destroy_map(), destroy_packet(), destroy_packets(), destroy_peer(), destroy_permissions(), destroy_session(), destroy_station(), destroy_table(), destroy_table_cache(), destroy_trans(), destroy_trunk(), destroy_user_perms(), device_state_cb(), dial_exec_full(), dial_features_destroy(), dial_trunk(), dialed_interface_destroy(), dialgroup_refreshdb(), dialog_unlink_all(), do_batch_backend_process(), do_devstate_changes(), do_directory(), do_monitor(), do_parking_thread(), 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_prop_precache(), dundi_query_thread(), dundi_send(), eivr_comm(), enum_query_read(), erds_destroy(), exception_store_free(), external_rtp_create(), fast_originate(), festival_exec(), file_read(), filestream_destructor(), find_and_retrans(), find_cache(), find_conf_realtime(), find_idle_thread(), find_realtime(), find_table(), find_user_realtime(), findmeexec(), fixed_jb_destroy(), frame_cache_cleanup(), free_acf_query(), free_agi_cmd(), free_cid(), free_config(), free_context(), free_numbers(), free_old_route(), free_outgoing(), free_robin_list(), free_session(), free_signaling_queue_entry(), free_table(), free_user(), free_via(), free_zone(), func_inheritance_write(), function_autopatchup(), function_remote(), gen_release(), get_lock(), get_params(), get_robin_position(), get_wait_interval(), gosub_exec(), gosub_free(), gosub_release_frame(), gtalk_alloc(), gtalk_create_candidates(), gtalk_free_candidates(), gtalk_free_pvt(), gtalk_member_destroy(), handle_call_forward(), handle_cli_agi_show(), handle_command_response(), handle_commandcomplete(), handle_commandmatchesarray(), handle_dbget(), handle_deferred_full_frames(), 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(), hangupcalls(), hanguptree(), httpd_helper_thread(), 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(), insert_penaltychange(), io_context_create(), io_context_destroy(), jack_data_alloc(), 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_module(), load_modules(), 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_logchannel(), 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(), misdn_request(), mixmonitor_free(), mkif(), moh_release(), moh_scan_files(), mohalloc(), music_disable(), mwi_send_init(), mwi_send_process_buffer(), mwi_send_process_event(), mwi_sub_destroy(), mwi_sub_event_cb(), mwi_thread(), mwi_unsub_event_cb(), nbs_alloc(), nbs_destroy(), newpvt(), notify_daemon(), 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_create_provider(), osp_unload(), park_exec_full(), park_space_reserve(), pbx_builtin_raise_exception(), pbx_destroy(), pbx_load_config(), pbx_set_overrideswitch(), pgsql_log(), pgsql_reconnect(), phoneprov_callback(), playtones_release(), plc_ds_destroy(), pp_each_extension_exec(), print_app_docs(), process_precache(), process_request_queue(), profile_destructor(), purge_events(), queue_reload_request(), queue_transfer_destroy(), rcv_mac_addr(), read_agent_config(), read_config(), readfile_exec(), realtime_curl(), realtime_destroy_handler(), realtime_handler(), realtime_ldap_base_ap(), realtime_multi_curl(), realtime_multi_handler(), realtime_multi_pgsql(), realtime_pgsql(), realtime_store_handler(), realtime_update_handler(), register_group(), register_group_feature(), register_translator(), release_chan(), release_chan_early(), release_jb_frame(), release_transaction(), reload_config(), reload_queue_rules(), require_pgsql(), reset_tone_zone(), retrans_pkt(), ring_entry(), rpt(), rpt_call(), rpt_do_lstats(), rpt_do_stats(), rpt_exec(), rpt_manager_do_stats(), rpt_master(), rpt_tele_thread(), run_station(), scan_service(), sched_context_destroy(), sched_release(), send_callerid(), send_eivr_event(), send_request(), send_tone_telemetry(), set_var(), setup_mixmonitor_ds(), shared_variable_free(), shaun_of_the_dead(), sip_park(), sip_park_thread(), sip_register(), sip_registry_destroy(), sip_subscribe_mwi(), sip_subscribe_mwi_destroy(), sip_tcptls_client_args_destructor(), skinny_hangup(), skinny_req_parse(), sla_add_trunk_to_station(), sla_build_station(), sla_build_trunk(), sla_check_failed_station(), sla_check_reload(), sla_handle_dial_state_event(), sla_hangup_stations(), sla_ring_station(), sla_stop_ringing_station(), sla_stop_ringing_trunk(), sla_thread(), sla_trunk_exec(), socket_process(), socket_receive_file_to_buff(), softmix_bridge_leave(), speech_processing_sound(), speex_callback(), speex_write(), sqlite_log(), ss_thread(), start_network_thread(), statpost(), store_config(), store_curl(), store_mixer(), 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(), try_calling(), unalloc_sub(), unistim_new(), unload_config(), unload_module(), unregister_translators(), update2_curl(), update2_ldap(), update2_pgsql(), update_curl(), userevent_exec(), vm_execmain(), vmaccounts_destroy_list(), wait_for_answer(), write_cdr(), write_history(), and write_htmldump().

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

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

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

Definition at line 99 of file astmm.h.

Referenced by __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_pattern_node(), add_peer_mailboxes(), add_to_load_order(), aji_handle_message(), aji_handle_presence(), answer_exec_enable(), apply_options_full(), ast_add_profile(), ast_agi_register(), ast_build_timing(), ast_cli_complete(), ast_cli_perms_init(), 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_merge_contexts_and_delete(), ast_module_helper(), ast_monitor_start(), ast_readfile(), ast_register_indication(), ast_set_callerid(), ast_streamfile(), ast_taskprocessor_get(), ast_writefile(), attempt_reconnect(), autoanswer_complete(), begin_dial_channel(), build_mapping(), callerid_write(), cli_console_active(), cli_odbc_read(), cli_odbc_write(), complete_agent_logoff_cmd(), complete_channeltypes(), 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_ulimit(), complete_voicemail_show_users(), conf_run(), config_module(), connect_link(), context_merge(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), dial_trunk(), do_forward(), do_timelimit(), enum_callback(), find_conf_realtime(), function_autopatchup(), function_remote(), get_robin_position(), 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_application(), handle_show_function(), handle_show_version_files(), handle_showcalls(), handle_showmanager(), handle_showmancmd(), handle_uri(), handle_verbose(), http_post_callback(), iax_prov_complete_template(), is_prefix(), jingle_new(), load_column_config(), load_config(), load_module(), load_odbc_config(), load_values_config(), local_call(), manage_parkinglot(), message_template_parse_emailbody(), mgcp_new(), 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_via(), pbx_load_config(), pbx_set_overrideswitch(), phone_new(), read_config(), realtime_ldap_result_to_vars(), realtime_multi_handler(), register_exten(), register_peer_exten(), reload_config(), ring_entry(), rpt_call(), rpt_do_stats(), rpt_manager_do_stats(), rpt_master(), rpt_tele_thread(), send_tone_telemetry(), set_fn(), set_full_cmd(), set_var(), sip_new(), sip_prepare_socket(), skinny_new(), sla_build_station(), sla_build_trunk(), sla_ring_station(), spawn_dp_lookup(), speech_background(), speech_processing_sound(), speex_callback(), split_ec(), static_callback(), statpost(), store_config(), store_mixer(), table_config_new(), telem_lookup(), tps_taskprocessor_tab_complete(), unistim_new(), update_ldap(), usbradio_new(), and wait_for_answer().

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

Definition at line 105 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 117 of file astmm.h.

Referenced by ast_udptl_set_tag(), and execute_and_consume().

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

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

Definition at line 84 of file astmm.h.

Referenced by __ao2_callback(), __ao2_ref(), acf_curlopt_write(), add_subscribe_event(), append_mailbox_mapping(), ast_app_group_set_channel(), ast_autoservice_start(), ast_autoservice_stop(), ast_backtrace(), ast_category_destroy(), ast_channel_free(), 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_module_shutdown(), ast_rtp_stop(), ast_smdi_interface_destroy(), 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(), config_ldap(), curlds_free(), delete_devices(), delete_file(), destroy_arglist(), destroy_callback(), destroy_dahdi_pvt(), destroy_extensions(), destroy_mailbox_mapping(), destroy_pattern_tree(), destroy_pval_item(), destroy_queue(), event_channel_destroy(), execute_and_consume(), filestream_destructor(), findmeexec(), fix_gotos_in_extensions(), free_value(), gen_prios(), handle_cli_dialplan_remove_extension(), handle_cr(), handle_event_nt(), inclfile_destroy(), init_jack_data(), linkprio(), load_file(), load_module(), manage_parkinglot(), mkintf(), moh_class_destructor(), op_func(), park_space_reserve(), path_lock_destroy(), pbx_load_config(), publish_event_destroy(), realtime_ldap(), realtime_ldap_result_to_vars(), realtime_multi_ldap(), reload(), 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(), try_calling(), unload_module(), update2_ldap(), update_ldap(), yydestruct(), yyerror(), and yyparse().

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

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

Definition at line 90 of file astmm.h.

Referenced by ast_yyrealloc().

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

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

Definition at line 102 of file astmm.h.

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

Definition at line 114 of file astmm.h.

Referenced by _ast_asprintf(), and 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 
)

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   ) 

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 Thu Oct 11 06:47:59 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6