diff options
author | nobody <nobody@localhost> | 2001-07-21 05:39:10 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2001-07-21 05:39:10 +0800 |
commit | e5b0c9abd7f9a1759ff942ac9d3a1eb53ddbc1b8 (patch) | |
tree | 73e0cf26a0654d0e265dc3951ab83d825af9dd1f /camel/camel-search-private.h | |
parent | 5637adc2c07617b7f5ea206d24cfa073787a4e0d (diff) | |
download | gsoc2013-evolution-METATHEME_0_6_1.tar gsoc2013-evolution-METATHEME_0_6_1.tar.gz gsoc2013-evolution-METATHEME_0_6_1.tar.bz2 gsoc2013-evolution-METATHEME_0_6_1.tar.lz gsoc2013-evolution-METATHEME_0_6_1.tar.xz gsoc2013-evolution-METATHEME_0_6_1.tar.zst gsoc2013-evolution-METATHEME_0_6_1.zip |
This commit was manufactured by cvs2svn to create tagMETATHEME_0_6_1
'METATHEME_0_6_1'.
svn path=/tags/METATHEME_0_6_1/; revision=11288
Diffstat (limited to 'camel/camel-search-private.h')
-rw-r--r-- | camel/camel-search-private.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/camel/camel-search-private.h b/camel/camel-search-private.h deleted file mode 100644 index 78e0eb192e..0000000000 --- a/camel/camel-search-private.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2001 Ximian Inc. - * - * Authors: Michael Zucchi <notzed@ximian.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public License - * as published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#ifndef _CAMEL_SEARCH_PRIVATE_H -#define _CAMEL_SEARCH_PRIVATE_H - -typedef enum { - CAMEL_SEARCH_MATCH_START = 1<<0, - CAMEL_SEARCH_MATCH_END = 1<<1, - CAMEL_SEARCH_MATCH_REGEX = 1<<2, /* disables the first 2 */ - CAMEL_SEARCH_MATCH_ICASE = 1<<3, -} camel_search_flags_t; - -typedef enum { - CAMEL_SEARCH_MATCH_EXACT, - CAMEL_SEARCH_MATCH_CONTAINS, - CAMEL_SEARCH_MATCH_STARTS, - CAMEL_SEARCH_MATCH_ENDS, - CAMEL_SEARCH_MATCH_SOUNDEX, -} camel_search_match_t; - -/* builds a regex that represents a string search */ -int camel_search_build_match_regex(regex_t *pattern, camel_search_flags_t type, int argc, struct _ESExpResult **argv, CamelException *ex); -gboolean camel_search_message_body_contains(CamelDataWrapper *object, regex_t *pattern); - -gboolean camel_search_header_match(const char *value, const char *match, camel_search_match_t how); -gboolean camel_search_header_soundex(const char *header, const char *match); - -#endif /* ! _CAMEL_SEARCH_PRIVATE_H */ |