]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
plugins: fts - Pass event into fts_indexer_cmd
authorMarco Bettini <marco.bettini@open-xchange.com>
Wed, 27 Jul 2022 14:55:09 +0000 (14:55 +0000)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 8 Aug 2022 07:00:49 +0000 (07:00 +0000)
src/plugins/fts/fts-indexer.c
src/plugins/fts/fts-indexer.h

index ec07d924befa51832105703e26e085bf82e93908..85b1a6b5728b4531f007f2fee671477b4652d88f 100644 (file)
@@ -275,7 +275,7 @@ int fts_indexer_init(struct fts_backend *backend, struct mailbox *box,
 #define INDEXER_HANDSHAKE "VERSION\tindexer-client\t1\t0\n"
 
 int fts_indexer_cmd(struct mail_user *user, const char *cmd,
-                   const char **path_r)
+                   struct event *event ATTR_UNUSED, const char **path_r)
 {
        const char *path;
        int fd;
index 7ccbc7e8017d3eb1632650be6f59290fe2647bac..50ac92a749fc74a801eedc070dc1b2a2c588cecf 100644 (file)
@@ -17,6 +17,6 @@ int fts_indexer_more(struct fts_indexer_context *ctx);
 
 /* Returns fd, which you can either read from or close. */
 int fts_indexer_cmd(struct mail_user *user, const char *cmd,
-                   const char **path_r);
+                   struct event *event, const char **path_r);
 
 #endif