summaryrefslogtreecommitdiffstats
path: root/compress.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2016-11-13 20:02:35 -0800
committerKevin McCarthy <kevin@8t8.us>2016-11-13 20:02:35 -0800
commitd3705ea8b23de24a63a4b659ead18a0cf6fb756a (patch)
tree3d506dfe6056d7c085402c2b848a1fc0862120b5 /compress.h
parentf46e648f568c38b57ada874cea87e561e3a235c7 (diff)
Create mx_ops.sync operation. Refactor compress to use the mx_ops.sync.
Change compress.sync_mailbox() to lock the compressed mailbox around both the tempfile sync and compress operations. This will prevent changes made inbetween the two syncs from being overwritten. Thanks to Damien Riegel for his original patch refactoring mx_ops.sync, which this patch is partially based upon.
Diffstat (limited to 'compress.h')
-rw-r--r--compress.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/compress.h b/compress.h
index f525c70b..0c545ee4 100644
--- a/compress.h
+++ b/compress.h
@@ -23,7 +23,6 @@ void mutt_free_compress_info (CONTEXT *ctx);
int mutt_comp_can_append (CONTEXT *ctx);
int mutt_comp_can_read (const char *path);
-int mutt_comp_sync (CONTEXT *ctx);
int mutt_comp_valid_command (const char *cmd);
extern struct mx_ops mx_comp_ops;