|
Defines |
| #define | SEARCHM_DESCRIPTION_PRE 24 |
| | The number of characters before the matched term.
|
| #define | SEARCHM_DESCRIPTION_POST 24 |
| | The number of characters after the matched term.
|
| #define | SEARCHM_DESCRIPTION_MAX 512 |
| | The maximum number of characters to be in the returned searchm_description tag. Not an absolute value. Searching stops when p_ret becomes greater than this value.
|
| #define | SEARCHM_SEARCH_SUBS 2 |
| | The number of subs in the RE. RE will always contain one SUB.
|
| #define | SEARCHM_DESC_HTML_HILITE_BEGIN "<b><i>" |
| | The HTML info to preceed the highlited text.
|
| #define | SEARCHM_DESC_HTML_HILITE_END "</i></b>" |
| | The HTML info to follow the hilighted text.
|
Functions |
| unsigned int | searchm_desc_trim_begin (const char *desc, unsigned int mpos, int *bStart) |
| unsigned int | searchm_desc_trim_end (const char *desc, unsigned int mpos, int *bEnd) |
| char * | searchm_description_handler (apr_pool_t *pool, apr_pool_t *ptemp, const char *desc, const char **stopword_list, const char **removed_list, p_searchm_termlist_t const p_tl) |
| | create replacement string. p_tl may be a null list.
|
| int | searchm_nextmatch (p_searchm_termlist_t const p_tl, const char *desc, unsigned int *pos, int *i_match, unsigned int *mpos_b) |