aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-filter-search.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-filter-search.h')
-rw-r--r--camel/camel-filter-search.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/camel/camel-filter-search.h b/camel/camel-filter-search.h
index 1482f70539..eb1ad2e47d 100644
--- a/camel/camel-filter-search.h
+++ b/camel/camel-filter-search.h
@@ -34,8 +34,14 @@ extern "C" {
#include <camel/camel-mime-message.h>
#include <camel/camel-folder-summary.h>
-gboolean camel_filter_search_match(CamelMimeMessage *message, CamelMessageInfo *info,
- const char *source, const char *expression, CamelException *ex);
+enum {
+ CAMEL_SEARCH_ERROR = -1,
+ CAMEL_SEARCH_NOMATCH = 0,
+ CAMEL_SEARCH_MATCHED = 1,
+};
+
+int camel_filter_search_match (CamelMimeMessage *message, CamelMessageInfo *info,
+ const char *source, const char *expression, CamelException *ex);
#ifdef __cplusplus
}