File modules/rp/rp_search.c

  $Revision: 1.4 $

Radix payload (rp) - user level functions for storing data in radix trees
rp_search = search the loaded radix trees using an ascii key
Status: NOT REVIEWED, TESTED
Design and implementation by: Marek Bukowy

Included Files


Global Function RP_asc_search()

 search 
er_ret_t RP_asc_search ( rx_srch_mt search_mode, int par_a, int par_b, char* key, int reg_id, rp_attr_t attr, GList** anslist, int max_count )
rx_srch_mt search_mode
&nbs;
int par_a
&nbs;
int par_b
&nbs;
char* key
search term: (string) prefix/range/IP
int reg_id
&nbs;
rp_attr_t attr
extra tree id (within the same reg/spc/fam
GList** anslist
answers go here, please
int max_count
max # of answers. RX_ALLANS == unlimited
Prototyped in: include/rp.h
Calls: ER_dbg_va()modules/er/er.c
  IP_pref_b2_space()modules/ip/ip.c
  IP_smart_conv()modules/ip/ip.c
  NOERR()modules/er/er.c
  RP_attr2fam()modules/rp/rp_convert.c
  RP_tree_get(), TH_acquire_read_lock(), TH_release_read_lock(), fprintf(), g_list_first(), g_list_length(), rx_asc_make_preflist(), rx_asc_process_datlist(), rx_preflist_search(), wr_real_clear_list()
Called by: QI_execute()modules/qi/query_instructions.c