diff options
author | Not Zed <NotZed@Ximian.com> | 2002-05-21 10:54:05 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-05-21 10:54:05 +0800 |
commit | e32a24e30ba3558de1ccf54b2f2aa0c348f07b65 (patch) | |
tree | fbd985d74c9d20593d09e8be7cbf1e53ab87d985 /mail/e-searching-tokenizer.h | |
parent | 8435ad3d2db7d4cb0cbed199cd58ef0a5e0ae366 (diff) | |
download | gsoc2013-evolution-e32a24e30ba3558de1ccf54b2f2aa0c348f07b65.tar gsoc2013-evolution-e32a24e30ba3558de1ccf54b2f2aa0c348f07b65.tar.gz gsoc2013-evolution-e32a24e30ba3558de1ccf54b2f2aa0c348f07b65.tar.bz2 gsoc2013-evolution-e32a24e30ba3558de1ccf54b2f2aa0c348f07b65.tar.lz gsoc2013-evolution-e32a24e30ba3558de1ccf54b2f2aa0c348f07b65.tar.xz gsoc2013-evolution-e32a24e30ba3558de1ccf54b2f2aa0c348f07b65.tar.zst gsoc2013-evolution-e32a24e30ba3558de1ccf54b2f2aa0c348f07b65.zip |
New functions to add additional search strings one at a time. Maybe it
2002-05-18 Not Zed <NotZed@Ximian.com>
* e-searching-tokenizer.c
(e_searching_tokenizer_add_primary_search_string):
(e_searching_tokenizer_add_secondary_search_string): New functions
to add additional search strings one at a time. Maybe it should
just split the word itself?
(all): Basically, entirely rewritten. Now implements the
Aho-Corasick multiple pattern search algorithm and handles
multiple search strings and only ever has to decode any utf8
character once, etc etc.
svn path=/trunk/; revision=16961
Diffstat (limited to 'mail/e-searching-tokenizer.h')
-rw-r--r-- | mail/e-searching-tokenizer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/e-searching-tokenizer.h b/mail/e-searching-tokenizer.h index d3dd7647f4..1af48d619b 100644 --- a/mail/e-searching-tokenizer.h +++ b/mail/e-searching-tokenizer.h @@ -60,9 +60,11 @@ HTMLTokenizer *e_searching_tokenizer_new (void); /* For now, just a simple API */ void e_searching_tokenizer_set_primary_search_string (ESearchingTokenizer *, const gchar *); +void e_searching_tokenizer_add_primary_search_string (ESearchingTokenizer *, const gchar *); void e_searching_tokenizer_set_primary_case_sensitivity (ESearchingTokenizer *, gboolean is_case_sensitive); void e_searching_tokenizer_set_secondary_search_string (ESearchingTokenizer *, const gchar *); +void e_searching_tokenizer_add_secondary_search_string (ESearchingTokenizer *st, const gchar *search_str); void e_searching_tokenizer_set_secondary_case_sensitivity (ESearchingTokenizer *, gboolean is_case_sensitive); |