Wed Oct 28 11:45:50 2009

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.

#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 __ast_channel_alloc_ap(), __ast_format_register(), __ast_module_user_add(), __ast_pbx_run(), __init_manager(), __sip_reliable_xmit(), _parse(), _sip_tcp_helper_thread(), accept_thread(), 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_realm_authentication(), add_redirect(), add_sip_domain(), add_string_pool(), add_to_agi(), add_to_interfaces(), add_to_load_order(), 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(), ao2_alloc(), ao2_link(), append_history_va(), append_mailbox_mapping(), append_mapping(), append_permission(), ast_add_extension2_lockopt(), ast_add_hint_nolock(), ast_add_profile(), ast_audiohook_attach(), ast_autoservice_start(), ast_backtrace(), ast_category_new(), ast_cdr_alloc(), ast_cdr_detach(), ast_cdr_register(), ast_channel_datastore_alloc(), ast_channel_register(), ast_channel_set_fd(), ast_channel_start_silence_generator(), 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_dup_and_cache(), ast_event_new(), ast_event_queue(), ast_event_subscribe(), ast_extension_state_add(), 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_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_request_obj(), 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_speech_new(), ast_ssl_init(), ast_strftime(), ast_threadstorage_get(), ast_tzset(), ast_udptl_new_with_bindaddr(), ast_var_assign(), ast_variable_new(), ast_verbose(), authenticate_reply(), build_alias(), build_conf(), build_context(), build_device(), build_gateway(), build_mapping(), build_peer(), build_profile(), build_user(), builtin_atxfer(), callerid_new(), check_match(), compile_script(), conf_run(), config_cache_attribute(), config_ldap(), config_module(), 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(), 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_newtoplev(), enum_query_read(), external_rtp_create(), fbuf_append(), features_alloc(), find_cache(), find_idle_thread(), find_or_create(), find_tpeer(), find_user_realtime(), findmeexec(), fixed_jb_new(), function_ilink(), 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_cli_indication_add(), handle_cli_rpt_lstats(), handle_command_response(), handle_verbose(), iax2_append_register(), iax2_dup_variable_datastore(), iax_frame_new(), iax_park(), iax_process_template(), ind_load_module(), 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_odbc_config(), load_values_config(), local_alloc(), 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_sub_event_cb(), nbs_alloc(), newpvt(), oh323_alloc(), osp_create_provider(), page_exec(), park_space_reserve(), parse_srv(), pbx_builtin_raise_exception(), pgsql_log(), phoneprov_callback(), playtones_alloc(), proxy_allocate(), 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(), reload_queue_rules(), req_alloc(), reschedule_precache(), rpt_exec(), rpt_telemetry(), 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(), 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(), spawn_dp_lookup(), speech_background(), start_network_thread(), statechange_queue(), store_config(), substituted(), table_config_new(), temp_peer(), timezone_add(), tonepair_alloc(), transmit_response(), try_calling(), try_firmware(), try_load_key(), update_ldap(), 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_http_load(), __ast_internal_context_destroy(), __ast_module_user_hangup_all(), __ast_module_user_remove(), __ast_pbx_run(), __ast_string_field_init(), __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_tcp_helper_thread(), acf_curl_exec(), acf_fetch(), acf_odbc_read(), action_command(), action_originate(), add_agi_cmd(), add_cfg_entry(), add_pattern_node(), add_peer_mailboxes(), add_pri_lockopt(), adsi_prog(), 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_app_group_discard(), ast_app_group_update(), ast_append_ha(), ast_audiohook_detach_list(), ast_backtrace(), ast_bridge_call_thread(), ast_category_destroy(), ast_cdr_discard(), ast_cdr_free(), ast_cdr_unregister(), ast_channel_datastore_free(), ast_channel_free(), ast_channel_start_silence_generator(), ast_channel_stop_silence_generator(), ast_channel_unregister(), ast_cli_command(), ast_cli_display_match_list(), ast_cli_generatornummatches(), ast_config_destroy(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_remove_ignorepat2(), ast_context_remove_include2(), ast_context_remove_switch2(), ast_db_freetree(), 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_ref_destroy(), ast_event_sub_destroy(), ast_event_subscribe(), ast_extension_state_del(), ast_filehelper(), ast_format_unregister(), ast_free_ha(), ast_frisolate(), ast_get_enum(), ast_get_srv(), 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_odbc_request_obj(), 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_indication(), ast_remove_hint(), ast_rtcp_new(), ast_rtp_destroy(), ast_rtp_new_with_bindaddr(), ast_say_number_full_ka(), 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_udptl_destroy(), ast_udptl_new_with_bindaddr(), ast_unregister_application(), ast_unregister_feature(), ast_unregister_features(), ast_unregister_file_version(), ast_unregister_groups(), ast_unregister_indication(), ast_unregister_thread(), ast_unregister_verbose(), ast_var_delete(), ast_variables_destroy(), ast_verbose(), ast_writefile(), async_wait(), attempt_reconnect(), audiohook_inheritance_destroy(), authenticate_reply(), build_conf(), build_device(), build_gateway(), build_peer(), build_profile(), build_user(), callerid_free(), callerid_write(), cb_events(), cleanup_call_details(), clear_and_free_interfaces(), clear_config_maps(), clear_realm_authentication(), clear_sip_domains(), clearvar_prefix(), cli_complete(), close_client(), compile_script(), conf_free(), conf_run(), config_curl(), config_handler(), config_module(), config_text_file_load(), console_dial(), console_transfer(), container_destruct(), create_video_frame(), crypto_load(), curl_instance_cleanup(), dahdi_call(), dahdi_callwait(), dahdi_handle_dtmfup(), dahdi_handle_event(), dahdi_hangup(), dahdi_sendtext(), dec_uninit(), delete_devices(), delete_user(), delete_users(), destroy(), destroy_all_channels(), destroy_curl(), destroy_endpoint(), destroy_exten(), destroy_firmware(), destroy_gateway(), destroy_jack_data(), destroy_mailbox(), destroy_map(), destroy_packet(), destroy_packets(), destroy_peer(), destroy_permissions(), destroy_pgsql(), destroy_session(), destroy_station(), destroy_trans(), destroy_trunk(), device_state_thread(), dial_exec_full(), dial_features_destroy(), dial_trunk(), dialed_interface_destroy(), dialgroup_refreshdb(), dialog_cleanup_and_destroy(), 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(), features_hangup(), features_new(), festival_exec(), file_read(), find_and_retrans(), find_cache(), find_idle_thread(), 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_user(), free_zone(), func_inheritance_write(), function_ilink(), gen_release(), get_lock(), get_params(), get_robin_position(), 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_indication_add(), handle_cli_rpt_lstats(), 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_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(), ind_load_module(), init_acf_query(), init_logger_chain(), init_queue(), 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_rpt_vars(), load_values_config(), local_ast_moh_cleanup(), local_pvt_destroy(), lock_free(), logger_thread(), login_exec(), lpc10_destroy(), lua_free_extensions(), lua_read_extensions_file(), lua_reload_extensions(), make_logchannel(), 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_sub_destroy(), mwi_thread(), nbs_alloc(), nbs_destroy(), newpvt(), odbc_datastore_free(), odbc_load_module(), odbc_log(), 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(), park_space_reserve(), pbx_builtin_raise_exception(), pbx_destroy(), pgsql_log(), pgsql_reconnect(), phoneprov_callback(), playtones_release(), private_enum_init(), process_precache(), process_request_queue(), 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(), reload(), reload_config(), reload_queue_rules(), reload_queues(), remove_from_interfaces(), retrans_pkt(), ring_entry(), rpt(), rpt_call(), rpt_tele_thread(), sched_context_destroy(), sched_release(), send_callerid(), send_request(), set_var(), setup_mixmonitor_ds(), shared_variable_free(), sip_alloc(), sip_destroy_peer(), sip_destroy_user(), sip_park(), sip_prepare_socket(), sip_register(), sip_registry_destroy(), skinny_hangup(), skinny_req_parse(), sla_add_trunk_to_station(), sla_build_station(), sla_build_trunk(), sla_check_failed_station(), 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(), speech_processing_sound(), sqlite3_log(), sqlite_log(), ss_thread(), start_network_thread(), store_config(), store_curl(), store_mixer(), store_pgsql(), substitute_escapes(), tds_log(), tds_unload_module(), temp_pvt_cleanup(), timezone_add(), timing_read(), tonepair_release(), transmit_response(), try_calling(), unalloc_sub(), unistim_new(), unload_config(), unload_module(), unregister_translators(), update_curl(), userevent_exec(), vm_execmain(), vmaccounts_destroy_list(), wait_for_answer(), and write_history().

#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_http_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(), ast_add_profile(), ast_channel_datastore_alloc(), ast_cli_complete(), ast_complete_channels(), ast_context_find_or_create(), ast_dial_append(), ast_el_strtoarr(), ast_event_subscribe(), ast_ext_ctx(), ast_frisolate(), ast_iax2_new(), ast_include_new(), ast_module_helper(), ast_monitor_start(), ast_readfile(), ast_register_indication(), ast_set_callerid(), ast_streamfile(), ast_writefile(), attempt_reconnect(), autoanswer_complete(), begin_dial_channel(), build_mapping(), callerid_write(), cli_console_active(), complete_agent_logoff_cmd(), complete_channeltypes(), complete_core_show_hint(), complete_debug_port(), complete_fn(), complete_iax2_show_peer(), complete_iax2_unregister(), complete_meetmecmd(), complete_minivm_show_users(), 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(), config_module(), context_merge(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), dial_trunk(), do_forward(), do_parking_thread(), enum_callback(), features_call(), function_ilink(), get_robin_position(), gtalk_new(), handle_call_forward(), handle_cli_odbc_show(), handle_core_set_debug_channel(), handle_link_data(), handle_show_application(), handle_show_function(), handle_show_version_files(), handle_showcalls(), handle_showmanager(), handle_showmancmd(), handle_uri(), iax_prov_complete_template(), ind_load_module(), is_prefix(), jingle_new(), load_column_config(), load_config(), load_module(), load_odbc_config(), load_rpt_vars(), load_values_config(), local_call(), message_template_parse_emailbody(), mgcp_new(), misdn_new(), moh_add_file(), music_enable(), odbc_load_module(), oh323_answer(), oh323_digit_begin(), oh323_digit_end(), oh323_hangup(), oh323_indicate(), oss_new(), park_call_full(), parse_args(), parse_config(), pbx_load_config(), phone_new(), read_config(), realtime_ldap_result_to_vars(), realtime_multi_handler(), register_exten(), register_peer_exten(), reload(), reload_config(), reload_queues(), ring_entry(), rpt_call(), rpt_master(), send_link_dtmf(), set_fn(), set_full_cmd(), set_var(), sip_new(), skinny_new(), sla_build_station(), sla_build_trunk(), sla_ring_station(), spawn_dp_lookup(), speech_background(), speech_processing_sound(), split_ec(), static_callback(), store_config(), store_mixer(), substitute_escapes(), table_config_new(), unistim_new(), 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 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(), 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_comments(), 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_smdi_interface_destroy(), ast_threadstorage_get(), ast_unregister_atexit(), ast_yyerror(), ast_yyfree(), 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(), delete_file(), delete_user(), destroy_arglist(), destroy_callback(), destroy_dahdi_pvt(), destroy_mailbox_mapping(), destroy_pattern_tree(), destroy_queue(), do_monitor(), execute_and_consume(), filestream_destructor(), free_value(), handle_cli_dialplan_remove_extension(), handle_cr(), handle_event_nt(), inclfile_destroy(), init_jack_data(), load_file(), load_module(), mkintf(), moh_class_destructor(), op_func(), path_lock_destroy(), pbx_load_config(), profile_destructor(), realtime_ldap(), realtime_ldap_result_to_vars(), realtime_multi_ldap(), reload(), sip_park_thread(), sla_station_exec(), smdi_msg_datastore_destroy(), split_ec(), table_config_new(), table_configs_free(), tdd_feed(), tdd_free(), to_number(), try_calling(), update_ldap(), 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 
)

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 Oct 28 11:45:50 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6