diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-09-07 10:58:59 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-09-07 10:58:59 +0800 |
commit | 534b71582b08ff42de90a434aa1ce04587b1e0f8 (patch) | |
tree | 0c048dc56f3173b00024ac4de877cfc86e5bd5d3 /filter/filter-message-search.h | |
parent | ff533a0ccfc8c300de8ccd1e195c62325008c6a8 (diff) | |
download | gsoc2013-evolution-534b71582b08ff42de90a434aa1ce04587b1e0f8.tar gsoc2013-evolution-534b71582b08ff42de90a434aa1ce04587b1e0f8.tar.gz gsoc2013-evolution-534b71582b08ff42de90a434aa1ce04587b1e0f8.tar.bz2 gsoc2013-evolution-534b71582b08ff42de90a434aa1ce04587b1e0f8.tar.lz gsoc2013-evolution-534b71582b08ff42de90a434aa1ce04587b1e0f8.tar.xz gsoc2013-evolution-534b71582b08ff42de90a434aa1ce04587b1e0f8.tar.zst gsoc2013-evolution-534b71582b08ff42de90a434aa1ce04587b1e0f8.zip |
Totally rewritten to filter a single message at a time instead of
2000-09-06 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Totally rewritten to filter
a single message at a time instead of filtering a folder.
* filter-message-search.c (filter_message_search): New convenience
function for searching a message.
svn path=/trunk/; revision=5224
Diffstat (limited to 'filter/filter-message-search.h')
-rw-r--r-- | filter/filter-message-search.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/filter/filter-message-search.h b/filter/filter-message-search.h new file mode 100644 index 0000000000..ce9cc57c52 --- /dev/null +++ b/filter/filter-message-search.h @@ -0,0 +1,43 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Authors: Jeffrey Stedfast <fejj@helixcode.com> + * + * Copyright 2000 Helix Code, Inc. (www.helixcode.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. + * + */ + +#ifndef FILTER_MESSAGE_SEARCH_H +#define FILTER_MESSAGE_SEARCH_H + +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus */ + +#include <glib.h> +#include <camel.h> +#include <camel-mime-message.h> +#include <camel-folder-summary.h> + +gboolean filter_message_search (CamelMimeMessage *message, CamelMessageInfo *info, + const char *expression, CamelException *ex); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* ! FILTER_MESSAGE_SEARCH_H */ |