File modules/ut/memwrap.c

  $Revision: 1.3 $

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

er_ret_t wr_calloc ( void** ptr, size_t num, size_t size )
Calls: calloc()
Called by: IP_rang_decomp()modules/ip/ip.c
  IP_rang_t2b()modules/ip/ip.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
  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

Global Function wr_free()

er_ret_t wr_free ( void* ptr )
Calls: free()
Called by: AC_rxwalkhook_print()modules/ac/access_control.c
  AC_rxwalkhook_print_acl()modules/ac/access_control.c
  IP_rang_t2b()modules/ip/ip.c
  IP_smart_conv()modules/ip/ip.c
  MA_free()modules/ma/bitmask.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
  insert_radix_serials()modules/qi/query_instructions.c
  rx_free_list_element()modules/rx/rx_node.c
  write_radix_immediate()modules/qi/query_instructions.c

Global Function wr_malloc()

er_ret_t wr_malloc ( void** ptr, size_t size )
Calls: 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
  IP_rang_decomp()modules/ip/ip.c
  IP_smart_conv()modules/ip/ip.c
  RX_bin_node()modules/rx/rx_node.c
  RX_tree_cre()modules/rx/rx_tree.c

Global Function wr_realloc()

er_ret_t wr_realloc ( void** ptr, void* oldptr, size_t size )
Calls: realloc()