File modules/rx/rx_print.c

  $Revision: 1.13 $

Radix tree (rx). rx_print.c - functions to print a forest/tree/node (mainly for debugging purposes)
Status: NOT REVUED, TESTED, INCOMPLETE
Design and implementation by: Marek Bukowy

Included Files


Preprocessor definitions

#define RX_IMPL

#define RX_IMPL_PRINT


Global Variable rx_srch_mode_text

char* rx_srch_mode_text[]
Included from include/rxroutines.h
Visible in:  modules/rx/rx_print.c
Used in: RX_text_srch_mode()modules/rx/rx_print.c

Global Function RX_text_srch_mode()

const char* RX_text_srch_mode ( rx_srch_mt mode )
Prototyped in: include/rxroutines.h
Called by: RP_asc_search()modules/rp/rp_search.c
  rp_preflist_search()modules/rp/rp_search.c
References Variables: rx_srch_mode_textmodules/rx/rx_print.c

Global Function rx_nod_print()

void rx_nod_print ( rx_node_t* node, char* buf, unsigned maxchar )
Prototyped in: include/rxroutines.h
Calls: IP_pref_b2a()modules/ip/ip.c
  fprintf(), snprintf()
Called by: rx_creat_node()modules/rx/rx_node.c
  rx_stk_print()modules/rx/rx_print.c
  rx_walk_hook_printnode()modules/rx/rx_print.c

Global Function rx_space_printone()

void rx_space_printone ( void* voptr, void* condat )
Calls: IP_pref_b2a()modules/ip/ip.c
  SK_cd_puts(), fprintf(), sprintf(), strlen()

Global Function rx_stk_print()

void rx_stk_print ( rx_nodcpy_t stack[], int stackdepth )
Prototyped in: include/rxroutines.h
Calls: ER_dbg_va()modules/er/er.c
  rx_nod_print()modules/rx/rx_print.c

Global Function rx_tree_print()

er_ret_t rx_tree_print ( sk_conn_st* condat, rx_tree_t* tree )
Prototyped in: include/rxroutines.h
Calls: SK_cd_puts(), rx_walk_tree(), sprintf()
References Functions: rx_walk_hook_printnode()modules/rx/rx_print.c

Global Function rx_walk_hook_printnode()

er_ret_t rx_walk_hook_printnode ( rx_node_t* node, int level, int nodecounter, void* con )
Calls: rx_nod_print()modules/rx/rx_print.c
  SK_cd_puts(), sprintf(), strcat(), strlen()
Used in: rx_tree_print()modules/rx/rx_print.c