Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

Termslist

Termlist items. Functions, structures, defined, etc. associated with term lists. More...

Data Structures

struct  searchm_termitem
 An element in searchm_termlist. More...

struct  searchm_termlist
 A terms list. More...


Functions

apr_status_t searchm_termlist_create (p_searchm_metalist_t const p_ml, const char *mn, int bUseNull, p_searchm_termlist_t const p_tl, int *bResult, apr_pool_t *p)
void searchm_termlist_destroy (p_searchm_termlist_t const p_tl, apr_pool_t *p)

Detailed Description

Termlist items. Functions, structures, defined, etc. associated with term lists.


Function Documentation

searchm_termlist_create p_searchm_metalist_t const  p_ml,
const char *  mn,
int  bUseNull,
p_searchm_termlist_t const  p_tl,
int *  bResult,
apr_pool_t *  p
[static]
 

Parameters:
p_ml IN:metalist
mn IN:metaname (may be null) if metaname not in list, then error.
bUseNull IN: (if mn is NOT null, use metaname==NULL in list if mn!=NULL) if no metaname NULL in list, then ignore.
p_tl IN:terms list
bResult OUT: 0 metanames found, list created. The termlist is non-null. 0 metanames not found, list not created, termlist is null. 1 processing error.
p The memory pool. if bUseNull and metaname, and neither is in list, return error. if neither metaname has any nodes, return error. (should never happen..) Normally used as: "swishdefault",1 "swishother",0
Returns:
APR_SUCCESS

SEARCHM_INTERNAL_SERVER_ERROR

searchm_termlist_destroy p_searchm_termlist_t const  p_tl,
apr_pool_t *  p
[static]
 

Parameters:
p_tl term list.
p Memory pool.
Returns:
void Frees all data associated with term list Frees the RE data.


Generated on Wed Mar 30 09:40:29 2005 for Mod_Searchm by doxygen 1.3.6