File modules/ut/memwrap.c

  $Revision: 1.4 $

Utilities (ut). memwrap.c - memory allocation wrappers. Facilitate easy changing a memory allocation library and provide uniform error codes.
Status: NOT REVUED, TESTED,
Design and implementation by: Marek Bukowy

Included Files


Global Function wr_real_calloc()

er_ret_t wr_real_calloc ( void** ptr, size_t num, size_t size, char* comment, int line )
Calls: wr_alloc_log()modules/ut/memwrap.c
  calloc()
Called by: AC_commit()modules/ac/access_control.c
  CO_set()modules/co/constants.c
  IP_rang_decomp()modules/ip/ip.c
  IP_rang_t2b()modules/ip/ip.c
  MA_to_string()modules/ma/bitmask.c
  QC_create()modules/qc/query_command.c
  QC_environ_new()modules/qc/query_command.c
  QC_fill()modules/qc/query_command.c
  QI_new()modules/qi/query_instructions.c
  RX_asc_node()modules/rx/rx_node.c
  RX_asc_search()modules/rx/rx_search.c
  RX_bin_search()modules/rx/rx_search.c
  TH_run()modules/th/thread.c
  add_property()modules/pr/properties.c
  put_inet_sql()modules/sv/server.c
  put_route_sql()modules/sv/server.c
  rx_creat_node()modules/rx/rx_node.c
  rx_nod_append()modules/rx/rx_search.c
  update_rx_bin()modules/ud/ud_rx.c
  update_rx_inum()modules/ud/ud_rx.c

Global Function wr_real_free()

er_ret_t wr_real_free ( void* ptr, char* comment, int line )
Calls: wr_free_log()modules/ut/memwrap.c
  fprintf(), free()
Called by: AC_commit()modules/ac/access_control.c
  AC_rxwalkhook_print()modules/ac/access_control.c
  AC_rxwalkhook_print_acl()modules/ac/access_control.c
  CO_set()modules/co/constants.c
  CO_to_string()modules/co/constants.c
  IP_rang_t2b()modules/ip/ip.c
  IP_smart_conv()modules/ip/ip.c
  MA_free()modules/ma/bitmask.c
  PW_interact()modules/pw/protocol_whois.c
  QC_environ_free()modules/qc/query_command.c
  QC_environ_to_string()modules/qc/query_command.c
  QC_fill()modules/qc/query_command.c
  QC_free()modules/qc/query_command.c
  QC_query_command_to_string()modules/qc/query_command.c
  QI_free()modules/qi/query_instructions.c
  QI_new()modules/qi/query_instructions.c
  RX_asc_node()modules/rx/rx_node.c
  RX_asc_search()modules/rx/rx_search.c
  RX_bin_node()modules/rx/rx_node.c
  RX_route_node()modules/rx/rx_node.c
  command_execute()modules/pc/protocol_config.c
  command_help()modules/pc/protocol_config.c
  command_sql()modules/pc/protocol_config.c
  insert_radix_serials()modules/qi/query_instructions.c
  instruction_free()modules/qi/query_instructions.c
  log_command()modules/qc/query_command.c
  print_hello_banner()modules/pw/protocol_whois.c
  process_input()modules/pc/protocol_config.c
  purge_properties()modules/pr/properties.c
  put_inet_sql()modules/sv/server.c
  put_route_sql()modules/sv/server.c
  rx_delete_node()modules/rx/rx_node.c
  rx_free_list_element()modules/rx/rx_node.c
  set_const()modules/pc/protocol_config.c
  show_const()modules/pc/protocol_config.c
  write_radix_immediate()modules/qi/query_instructions.c
  write_results()modules/qi/query_instructions.c

Global Function wr_real_malloc()

er_ret_t wr_real_malloc ( void** ptr, size_t size, char* comment, int line )
Calls: wr_alloc_log()modules/ut/memwrap.c
  malloc()
Called by: AC_acc_load()modules/ac/access_control.c
  AC_acl_to_string()modules/ac/access_control.c
  AC_commit()modules/ac/access_control.c
  AC_to_string()modules/ac/access_control.c
  CO_set()modules/co/constants.c
  CO_to_string()modules/co/constants.c
  DF_attributes_to_string()modules/df/defs.c
  DF_sources_list_to_string()modules/df/defs.c
  DF_sources_to_string()modules/df/defs.c
  IP_rang_decomp()modules/ip/ip.c
  IP_smart_conv()modules/ip/ip.c
  PR_get_property()modules/pr/properties.c
  PR_load()modules/pr/properties.c
  PR_set()modules/pr/properties.c
  PR_to_string()modules/pr/properties.c
  QC_environ_to_string()modules/qc/query_command.c
  QC_fill()modules/qc/query_command.c
  QC_query_command_to_string()modules/qc/query_command.c
  RX_bin_node()modules/rx/rx_node.c
  RX_tree_cre()modules/rx/rx_tree.c
  SK_getpeername()modules/sk/socket.c
  SQ_get_column_label()modules/sq/mysql_driver.c
  SQ_get_column_string()modules/sq/mysql_driver.c
  SQ_get_column_strings()modules/sq/mysql_driver.c
  SQ_info_to_string()modules/sq/mysql_driver.c
  SQ_result_to_string()modules/sq/mysql_driver.c
  TH_to_string()modules/th/thread.c
  add_property()modules/pr/properties.c
  authenticate_user()modules/pc/protocol_config.c
  command_execute()modules/pc/protocol_config.c
  command_help()modules/pc/protocol_config.c
  command_sql()modules/pc/protocol_config.c
  create_query()modules/qi/query_instructions.c
  fast_output()modules/qi/query_instructions.c
  filter()modules/qi/query_instructions.c
  set_const()modules/pc/protocol_config.c
  show_boolean()modules/co/constants.c
  show_commands()modules/pc/protocol_config.c
  show_const()modules/pc/protocol_config.c
  show_int()modules/co/constants.c
  show_string()modules/co/constants.c

Global Function wr_real_realloc()

er_ret_t wr_real_realloc ( void** ptr, void* oldptr, size_t size, char* comment, int line )
Calls: wr_alloc_log()modules/ut/memwrap.c
  realloc()

Local Function wr_alloc_log()

static void wr_alloc_log ( void* ptr, int len, char* comment, int line )
Called by: wr_real_calloc()modules/ut/memwrap.c
  wr_real_malloc()modules/ut/memwrap.c
  wr_real_realloc()modules/ut/memwrap.c

Local Function wr_free_log()

static void wr_free_log ( void* ptr, char* comment, int line )
Called by: wr_real_free()modules/ut/memwrap.c