Sat Aug 6 00:39:39 2011

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>

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 31 of file astmm.h.

#define asprintf ( a,
b,
c...   )     __ast_asprintf(__FILE__, __LINE__, __PRETTY_FUNCTION__, a, b, c)

Definition at line 105 of file astmm.h.

Referenced by aji_act_hook(), aji_create_client(), ast_http_error(), ast_pthread_create_stack(), build_filename(), complete_context_remove_extension(), complete_context_remove_extension_deprecated(), complete_span_helper(), init_acf_query(), and store_config().

#define ast_asprintf ( a,
b,
c...   )     __ast_asprintf(__FILE__, __LINE__, __PRETTY_FUNCTION__, a, b, c)

Definition at line 108 of file astmm.h.

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

Definition at line 69 of file astmm.h.

Referenced by __ao2_link(), __ast_format_register(), __ast_module_user_add(), __ast_pbx_run(), __sip_reliable_xmit(), accept_thread(), action_command(), action_originate(), add_agent(), add_extensionstate_update(), add_features_datastores(), add_realm_authentication(), add_sip_domain(), add_string_pool(), add_to_interfaces(), add_to_load_order(), adjust_frame_for_plc(), aji_handle_message(), ALLOC_COMMENT(), alloc_jb_frame(), alloc_profile(), alloc_smdi_interface(), answer_exec_enable(), ao2_alloc(), append_history_va(), append_mailbox_mapping(), append_mapping(), append_permission(), apply_plc(), ast_add_extension2(), 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_alloc(), ast_channel_datastore_alloc(), ast_channel_register(), ast_channel_start_silence_generator(), ast_config_new(), ast_context_add_ignorepat2(), ast_context_add_include2(), ast_context_add_switch2(), ast_device_state_changed_literal(), ast_devstate_add(), ast_devstate_prov_add(), ast_dial_append(), ast_dial_create(), ast_dnsmgr_get(), ast_dsp_new(), ast_extension_state_add(), ast_frame_header_new(), ast_linear_stream(), 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_application(), ast_register_atexit(), ast_register_file_version(), ast_register_thread(), ast_rtcp_new(), ast_rtp_new_with_bindaddr(), ast_speech_new(), ast_threadstorage_get(), ast_tzset(), ast_udptl_new_with_bindaddr(), ast_var_assign(), ast_variable_new(), astman_append(), build_conf(), build_context(), build_device(), build_mapping(), build_peer(), build_user(), builtin_atxfer(), callerid_feed(), callerid_feed_jp(), callerid_new(), compile_script(), create_followme_number(), create_transaction(), create_trunk_ref(), crypto_init(), deep_copy_peer(), defer_full_frame(), dial_features_duplicate(), dialed_interface_duplicate(), do_monitor(), do_proxy_auth(), dundi_answer_entity(), dundi_answer_query(), dundi_send(), enum_newtoplev(), find_cache(), find_idle_thread(), find_or_create(), find_user_realtime(), findmeexec(), fixed_jb_new(), gen_alloc(), gmtsub(), gtalk_add_candidate(), gtalk_alloc(), gtalk_create_candidates(), handle_add_indication(), handle_command_response(), http_root(), iax2_register(), iax_frame_new(), iax_park(), ind_load_module(), inherit_category(), init_acf_query(), init_logger_chain(), init_manager(), io_context_create(), load_dynamic_module(), local_call(), make_entry(), make_logchannel(), milliwatt_alloc(), mkintf(), moh_add_file(), moh_files_alloc(), mohalloc(), newpvt(), osp_create_provider(), page_exec(), park_space_reserve(), parse_srv(), parse_via(), playtones_alloc(), process_events(), queue_reload_request(), queue_request(), queue_ringing_trunk(), queue_signalling(), realtime_multi_pgsql(), realtime_pgsql(), receive_ademco_contact_id(), register_translator(), req_alloc(), reschedule_precache(), run_agi(), sched_alloc(), sched_context_create(), setup_inheritable_audiohook(), setup_inheritance_datastore(), setup_mixmonitor_ds(), setup_transfer_datastore(), sip_alloc(), sip_park(), sip_refer_allocate(), sip_register(), sip_request_call(), 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(), spawn_dp_lookup(), speech_background(), start_network_thread(), statechange_queue(), store_config(), temp_peer(), tonepair_alloc(), try_calling(), try_firmware(), try_load_key(), and vm_allocate_dh().

#define ast_calloc_cache ( a,
 )     __ast_calloc_cache(a,b,__FILE__, __LINE__, __PRETTY_FUNCTION__)

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

Referenced by __sip_destroy(), action_command(), action_originate(), adjust_frame_for_plc(), aji_find_version(), ast_audiohook_detach_list(), ast_backtrace(), ast_channel_datastore_alloc(), ast_cli_display_match_list(), ast_get_srv(), ast_hint_state_changed(), ast_manager_register2(), ast_netsock_release(), ast_process_pending_reloads(), ast_remove_hint(), ast_unregister_file_version(), ast_unregister_thread(), ast_variables_destroy(), audiohook_inheritance_destroy(), check_extenstate_updates(), clear_extenstate_updates(), clearmarked_extenstate_updates(), cli_complete(), container_destruct(), dahdi_sendtext(), dial_features_destroy(), dialed_interface_destroy(), do_parking_thread(), free_signaling_queue_entry(), free_via(), func_inheritance_write(), handle_dbget(), handle_deferred_full_frames(), handle_request_cancel(), mixmonitor_free(), page_exec(), pbx_load_config(), pgsql_reconnect(), plc_ds_destroy(), process_request_queue(), queue_reload_request(), queue_transfer_destroy(), realtime_multi_pgsql(), realtime_pgsql(), reload_queues(), setup_mixmonitor_ds(), shaun_of_the_dead(), sip_park(), sip_park_thread(), and unload_module().

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

Definition at line 78 of file astmm.h.

Referenced by aji_act_hook(), append_event(), ast_append_ha(), ast_backtrace(), ast_cli_completion_matches(), ast_db_gettree(), ast_duplicate_ha(), ast_frisolate(), ast_io_add(), ast_loader_register(), ast_manager_register2(), ast_pthread_create_stack(), ast_read_textfile(), ast_register_indication(), ast_register_verbose(), ast_safe_string_alloc(), ast_smoother_new(), build_route(), CB_INIT(), chandup(), cli_complete(), complete_queue_add_member(), convert(), dahdi_call(), dahdi_callwait(), dahdi_sendtext(), destroy_trans(), find_user(), handle_commandmatchesarray(), handle_dbget(), html_translate(), iax2_setoption(), ind_load_module(), init_batch(), io_context_create(), jb_new(), load_config(), myrealloc(), pgsql_reconnect(), queue_put(), send_cwcidspill(), socket_receive_file_to_buff(), and xml_translate().

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

Definition at line 90 of file astmm.h.

Referenced by ast_add_profile(), ast_cli_completion_matches(), ast_dynamic_str_thread_build_va(), ast_el_strtoarr(), ast_playtones_start(), CB_ADD(), CB_ADD_LEN(), cli_complete(), do_monitor(), do_parking_thread(), enum_callback(), handle_commandmatchesarray(), handle_dbget(), iax2_trunk_queue(), ind_load_module(), io_grow(), LLB_ADD(), moh_add_file(), myrealloc(), socket_receive_file_to_buff(), and vm_allocate_dh().

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

Definition at line 96 of file astmm.h.

Referenced by __ast_cli_register(), __oh323_new(), _macro_exec(), 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_el_strtoarr(), ast_ext_ctx(), ast_frisolate(), ast_iax2_new(), ast_register_indication(), ast_set_callerid(), ast_streamfile(), autoanswer_complete(), begin_dial(), callerid_write(), complete_agent_logoff_cmd(), complete_iax2_show_peer(), complete_meetmecmd(), complete_peer_helper(), complete_queue(), complete_queue_add_member(), complete_queue_remove_member(), complete_show_dialplan_context(), complete_show_mancmd(), complete_show_version_files(), complete_show_version_files_deprecated(), complete_sip_peer(), complete_sip_user(), complete_sipch(), complete_sipnotify(), complete_skinny_reset(), complete_voicemail_show_users(), dahdi_handle_event(), dahdi_new(), dial_trunk(), do_parking_thread(), features_call(), gtalk_new(), init_manager(), load_config(), local_call(), mgcp_new(), misdn_new(), moh_add_file(), oss_new(), parse_args(), parse_via(), pbx_load_config(), phone_new(), process_my_load_module(), register_peer_exten(), reload_queues(), ring_entry(), sip_new(), skinny_new(), sla_ring_station(), spawn_dp_lookup(), split_ec(), store_config(), store_mixer(), and wait_for_answer().

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

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

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

Definition at line 66 of file astmm.h.

Referenced by _parse(), ast_app_group_set_channel(), build_alias(), build_peer(), build_user(), init_chan_list(), launch_monitor_thread(), load_module(), misdn_cfg_init(), misdn_lib_init(), new_exten(), new_prio(), tdd_feed(), tdd_new(), and yyparse().

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

Definition at line 81 of file astmm.h.

Referenced by __ast_cli_generator(), __ast_cli_unregister(), __ast_context_destroy(), __ast_module_user_hangup_all(), __ast_module_user_remove(), __ast_pbx_run(), __frame_free(), __login_exec(), __oh323_destroy(), __sip_ack(), __sip_destroy(), __unload_module(), _free_general_cfg(), _free_msn_list(), _free_port_cfg(), _macro_exec(), _parse(), accept_thread(), acf_curl_exec(), add_pri(), adsi_prog(), agent_cleanup(), agent_hangup(), agi_debug_cli(), aji_act_hook(), aji_buddy_destroy(), aji_client_destroy(), aji_create_client(), aji_handle_message(), aji_handle_presence(), alarmreceiver_exec(), answer_exec_disable(), ao2_callback(), ao2_ref(), app_exec(), append_history_va(), append_mailbox_mapping(), ast_app_group_discard(), ast_app_group_set_channel(), ast_app_group_update(), ast_append_ha(), ast_autoservice_start(), ast_autoservice_stop(), ast_backtrace(), ast_bridge_call_thread(), ast_category_destroy(), ast_cdr_discard(), ast_cdr_free(), ast_cdr_unregister(), ast_channel_alloc(), 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_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_destroy_comment(), ast_destroy_template_list(), ast_devstate_del(), ast_devstate_prov_del(), ast_dial_destroy(), ast_dnsmgr_release(), ast_dsp_free(), ast_enum_init(), ast_expr(), ast_extension_state_del(), ast_filehelper(), ast_format_unregister(), ast_free_ha(), ast_frisolate(), ast_httpd_helper_thread(), ast_io_remove(), ast_manager_unregister(), ast_merge_contexts_and_delete(), ast_module_shutdown(), ast_module_unregister(), ast_monitor_change_fname(), ast_monitor_start(), ast_monitor_stop(), ast_netsock_bindaddr(), ast_netsock_destroy(), ast_odbc_request_obj(), ast_pbx_outgoing_app(), ast_pbx_outgoing_exten(), ast_pbx_run_app(), ast_playtones_start(), ast_read_textfile(), ast_readfile(), ast_recvchar(), ast_register_indication(), ast_rtcp_new(), ast_rtp_destroy(), ast_rtp_new_with_bindaddr(), ast_say_number_full_ka(), ast_set_callerid(), ast_smdi_interface_destroy(), ast_smdi_md_message_destroy(), ast_smdi_mwi_message_destroy(), ast_smoother_free(), ast_speech_destroy(), ast_speech_new(), ast_speech_results_free(), ast_udptl_destroy(), ast_udptl_new_with_bindaddr(), ast_unregister_application(), ast_unregister_atexit(), ast_unregister_feature(), ast_unregister_features(), ast_unregister_indication(), ast_unregister_verbose(), ast_var_delete(), ast_writefile(), ast_yyerror(), ast_yyfree(), async_wait(), attempt_reconnect(), build_conf(), build_device(), build_gateway(), callerid_feed(), callerid_feed_jp(), callerid_free(), callerid_write(), cb_events(), cleanup_call_details(), clear_and_free_interfaces(), clear_config_maps(), clear_realm_authentication(), clear_sip_domains(), compile_script(), complete_context_add_ignorepat(), complete_context_add_ignorepat_deprecated(), complete_context_add_include(), complete_context_add_include_deprecated(), complete_context_dont_include_deprecated(), complete_context_remove_extension(), complete_context_remove_extension_deprecated(), complete_context_remove_ignorepat(), complete_context_remove_ignorepat_deprecated(), complete_context_remove_include(), complete_fn_2(), complete_fn_3(), connect_link(), console_dial(), console_dial_deprecated(), console_transfer(), console_transfer_deprecated(), crypto_load(), curl_instance_cleanup(), dahdi_call(), dahdi_callwait(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_new(), dahdi_sendtext(), delete_devices(), delete_users(), destroy(), destroy_dahdi_pvt(), destroy_exten(), destroy_extensions(), destroy_firmware(), destroy_gateway(), destroy_mailbox_mapping(), destroy_map(), destroy_packet(), destroy_packets(), destroy_peer(), destroy_permissions(), destroy_pval_item(), destroy_session(), destroy_station(), destroy_trans(), destroy_trunk(), device_state_thread(), dial_trunk(), do_batch_backend_process(), do_devstate_changes(), do_directory(), do_monitor(), do_parking_thread(), dp_lookup_thread(), 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(), external_rtp_create(), fast_originate(), features_hangup(), features_new(), festival_exec(), filestream_destructor(), find_and_retrans(), find_cache(), find_idle_thread(), find_user_realtime(), findmeexec(), fixed_jb_destroy(), frame_cache_cleanup(), free_acf_query(), free_cid(), free_context(), free_numbers(), free_old_route(), free_outgoing(), free_robin_list(), free_session(), free_user(), free_value(), free_zone(), function_remote(), gen_prios(), gen_release(), get_local_address(), gtalk_alloc(), gtalk_create_candidates(), gtalk_free_candidates(), gtalk_free_pvt(), gtalk_member_destroy(), handle_add_indication(), handle_commandcomplete(), handle_commandmatchesarray(), handle_context_remove_extension(), handle_context_remove_extension_deprecated(), handle_cr(), handle_event_nt(), handle_init_event(), handle_message(), handle_pri_show_span(), handle_recvtext(), handle_response(), hangupcalls(), hanguptree(), http_root(), iax2_process_thread_cleanup(), iax2_register(), iax2_setoption(), iax_frame_free(), iax_park(), iax_park_thread(), iax_provision_reload(), ind_load_module(), init_acf_query(), init_logger_chain(), init_manager(), io_context_create(), io_context_destroy(), jb_destroy(), linear_alloc(), linear_release(), linkprio(), load_config(), load_dynamic_module(), load_module(), local_ast_moh_cleanup(), lpc10_destroy(), make_logchannel(), mgcpsock_read(), milliwatt_release(), misdn_cfg_destroy(), misdn_jb_destroy(), misdn_jb_init(), misdn_request(), mkif(), mkintf(), moh_class_destructor(), moh_release(), moh_scan_files(), mohalloc(), my_unload_module(), nbs_alloc(), nbs_destroy(), newpvt(), odbc_unload_module(), 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_destroy(), pbx_load_config(), playtones_release(), process_precache(), read_agent_config(), read_config(), readfile_exec(), register_translator(), release_chan(), release_chan_early(), release_jb_frame(), reload(), remove_from_interfaces(), retrans_pkt(), ring_entry(), rpt(), rpt_call(), rpt_do_lstats(), rpt_master(), rpt_tele_thread(), sched_context_destroy(), sched_release(), send_callerid(), send_request(), sip_alloc(), sip_destroy_peer(), sip_destroy_user(), sip_register(), sip_registry_destroy(), 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_station_exec(), sla_stop_ringing_station(), sla_stop_ringing_trunk(), sla_thread(), sla_trunk_exec(), smdi_msg_datastore_destroy(), speech_processing_sound(), split_ec(), sqlite_log(), ss_thread(), start_network_thread(), static_callback(), store_mixer(), tdd_feed(), tdd_free(), tds_log(), tds_unload_module(), temp_pvt_cleanup(), timing_read(), to_integer(), tonepair_release(), try_calling(), unload_module(), unregister_translators(), vm_execmain(), wait_for_answer(), and yyparse().

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

Definition at line 75 of file astmm.h.

Referenced by _parse(), aji_create_buddy(), aji_create_client(), aji_find_version(), aji_handle_presence(), anti_injection(), ast_say_number_full_ka(), ast_say_number_full_pl(), ast_yyalloc(), build_gateway(), connect_link(), donodelog(), expr2_token_subst(), external_rtp_create(), features_alloc(), gen_prios(), get_local_address(), iax_process_template(), init_bc(), linkprio(), load_module(), make_integer(), make_str(), mgcp_postrequest(), misdn_jb_init(), misdn_lib_send_event(), mkif(), nbs_alloc(), oh323_alloc(), rpt_do_lstats(), rpt_tele_thread(), rpt_telemetry(), scan_service(), send_request(), stack_init(), static_callback(), to_string(), and transmit_response().

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

Definition at line 87 of file astmm.h.

Referenced by ast_yyrealloc().

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

Definition at line 93 of file astmm.h.

Referenced by __ast_cli_generator(), __oh323_new(), add_extensions(), ast_builtins_init(), ast_module_helper(), ast_monitor_change_fname(), ast_monitor_start(), ast_readfile(), ast_writefile(), attempt_reconnect(), complete_ch_helper(), complete_channeltypes(), complete_channeltypes_deprecated(), complete_context_add_extension(), complete_context_add_extension_deprecated(), complete_context_add_ignorepat(), complete_context_add_ignorepat_deprecated(), complete_context_add_include(), complete_context_add_include_deprecated(), complete_context_dont_include_deprecated(), complete_context_remove_extension(), complete_context_remove_extension_deprecated(), complete_context_remove_ignorepat(), complete_context_remove_ignorepat_deprecated(), complete_context_remove_include(), complete_debug_port(), complete_fn_2(), complete_fn_3(), complete_meetmecmd(), complete_show_application(), complete_show_config(), complete_show_function(), connect_link(), do_directory(), do_parking_thread(), dummy_start(), enum_callback(), fix_gotos_in_extensions(), function_remote(), gen_prios(), handle_context_add_extension(), handle_context_add_extension_deprecated(), handle_uri(), httpstatus_callback(), iax_prov_complete_template(), ind_load_module(), make_str(), odbc_load_module(), oh323_answer(), oh323_digit_begin(), oh323_digit_end(), oh323_hangup(), oh323_indicate(), park_call_full(), pbx_load_config(), pbx_load_users(), read_config(), reload(), rpt_call(), rpt_master(), speech_background(), speech_processing_sound(), static_callback(), tds_load_module(), and yyparse().

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

Definition at line 99 of file astmm.h.

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

Definition at line 111 of file astmm.h.

Referenced by _ast_asprintf(), and agi_debug_cli().


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 Sat Aug 6 00:39:39 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7