summaryrefslogtreecommitdiffstats
path: root/mbox.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2018-12-15 14:49:55 -0800
committerKevin McCarthy <kevin@8t8.us>2018-12-17 13:29:58 -0800
commit09dd4a5d7b69dc688c4a7f3c07b74b66bea7315f (patch)
treed8597cab78a1b9130044778a42a82e1c0b7cf96a /mbox.c
parentd8a623bf4c77b9964eebde5cc7df343533ee0451 (diff)
Add mx operation save_to_header_cache.
This will be used when reading protected headers, to store the encrypted subject in the header cache so it can be searched with.
Diffstat (limited to 'mbox.c')
-rw-r--r--mbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbox.c b/mbox.c
index 0f07cc49..254db452 100644
--- a/mbox.c
+++ b/mbox.c
@@ -1406,6 +1406,7 @@ struct mx_ops mx_mbox_ops = {
.check = mbox_check_mailbox,
.sync = mbox_sync_mailbox,
.msg_padding_size = mbox_msg_padding_size,
+ .save_to_header_cache = NULL,
};
struct mx_ops mx_mmdf_ops = {
@@ -1419,4 +1420,5 @@ struct mx_ops mx_mmdf_ops = {
.check = mbox_check_mailbox,
.sync = mbox_sync_mailbox,
.msg_padding_size = mmdf_msg_padding_size,
+ .save_to_header_cache = NULL,
};