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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/camel/camel-filter-search.h b/camel/camel-filter-search.h
index 1010603b2b..d54c3c03b7 100644
--- a/camel/camel-filter-search.h
+++ b/camel/camel-filter-search.h
@@ -40,8 +40,11 @@ enum {
CAMEL_SEARCH_MATCHED = 1,
};
-int camel_filter_search_match (CamelMimeMessage *message, CamelMessageInfo *info,
- const char *source, const char *expression, CamelException *ex);
+typedef CamelMimeMessage * (*CamelFilterSearchGetMessageFunc) (void *data, CamelException *ex);
+
+int camel_filter_search_match (CamelFilterSearchGetMessageFunc get_message, void *data,
+ CamelMessageInfo *info, const char *source,
+ const char *expression, CamelException *ex);
#ifdef __cplusplus
}