summaryrefslogtreecommitdiffstats
path: root/src/plugins/fts/fts-build-mail.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/plugins/fts/fts-build-mail.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/fts/fts-build-mail.h b/src/plugins/fts/fts-build-mail.h
new file mode 100644
index 0000000..aed4413
--- /dev/null
+++ b/src/plugins/fts/fts-build-mail.h
@@ -0,0 +1,9 @@
+#ifndef FTS_BUILD_MAIL_H
+#define FTS_BUILD_MAIL_H
+
+/* Build indexes for the given mail. Returns 0 on success, -1 on error.
+ The error is set to mail's storage. */
+int fts_build_mail(struct fts_backend_update_context *update_ctx,
+ struct mail *mail);
+
+#endif