]> granicus.if.org Git - neomutt/commitdiff
add missing mxapi functions
authorRichard Russon <rich@flatcap.org>
Tue, 4 Sep 2018 21:42:31 +0000 (22:42 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 4 Sep 2018 21:54:37 +0000 (22:54 +0100)
imap/imap.c
maildir/mh.c
mx.h
nntp/nntp.c
notmuch/mutt_notmuch.c
pop/pop.c

index d77f93d3b760a1e40f7fd76de725c0cb29f2833d..0b829c549aae3318cb7244ee8d1543c6248273ea 100644 (file)
@@ -2836,6 +2836,7 @@ struct MxOps mx_imap_ops = {
   .msg_open_new     = imap_msg_open_new,
   .msg_commit       = imap_msg_commit,
   .msg_close        = imap_msg_close,
+  .msg_padding_size = NULL,
   .tags_edit        = imap_tags_edit,
   .tags_commit      = imap_tags_commit,
   .path_probe       = imap_path_probe,
index f0a5fa973061b444bb1f5dc1dd6309dad7e672f8..e179a8628ee5b8f087659a69af8ed9bb71add9da 100644 (file)
@@ -3036,6 +3036,7 @@ struct MxOps mx_maildir_ops = {
   .msg_open_new     = maildir_msg_open_new,
   .msg_commit       = maildir_msg_commit,
   .msg_close        = mh_msg_close,
+  .msg_padding_size = NULL,
   .tags_edit        = NULL,
   .tags_commit      = NULL,
   .path_probe       = maildir_path_probe,
@@ -3059,6 +3060,7 @@ struct MxOps mx_mh_ops = {
   .msg_open_new     = mh_msg_open_new,
   .msg_commit       = mh_msg_commit,
   .msg_close        = mh_msg_close,
+  .msg_padding_size = NULL,
   .tags_edit        = NULL,
   .tags_commit      = NULL,
   .path_probe       = mh_path_probe,
diff --git a/mx.h b/mx.h
index ae184d269953f80a2251938af811774ab787697d..489e7e6488f9715873fc7891dfeb1816ddd32c3d 100644 (file)
--- a/mx.h
+++ b/mx.h
@@ -208,7 +208,7 @@ struct MxOps
    * @retval  0 Success
    * @retval -1 Failure
    */
-  int (*path_canon)     (char *buf, size_t buflen, const char *folder);
+  int (*path_canon)      (char *buf, size_t buflen, const char *folder);
   /**
    * path_pretty - Abbreviate a mailbox path
    * @param buf    Path to modify
index b2922d003effd12825682ef39b2cdfcf46c307ce..1bcfb0c1fdc42adb4ea3447968be2e7db5de4b4e 100644 (file)
@@ -2705,6 +2705,7 @@ struct MxOps mx_nntp_ops = {
   .msg_open_new     = NULL,
   .msg_commit       = NULL,
   .msg_close        = nntp_msg_close,
+  .msg_padding_size = NULL,
   .tags_edit        = NULL,
   .tags_commit      = NULL,
   .path_probe       = nntp_path_probe,
index 76188647f50461f367d50e011d867db9af1a92b4..5700fcce87d636721a256a8913fc44eb4aeb3144 100644 (file)
@@ -2846,6 +2846,7 @@ struct MxOps mx_notmuch_ops = {
   .msg_open_new     = NULL,
   .msg_commit       = nm_msg_commit,
   .msg_close        = nm_msg_close,
+  .msg_padding_size = NULL,
   .tags_edit        = nm_tags_edit,
   .tags_commit      = nm_tags_commit,
   .path_probe       = nm_path_probe,
index 2216df73822053864e6cfb89db906447be229d48..28cc564b6fc4bc2a8cb1c515aaf49aea01858a5c 100644 (file)
--- a/pop/pop.c
+++ b/pop/pop.c
@@ -1134,6 +1134,7 @@ struct MxOps mx_pop_ops = {
   .msg_open_new     = NULL,
   .msg_commit       = NULL,
   .msg_close        = pop_msg_close,
+  .msg_padding_size = NULL,
   .tags_edit        = NULL,
   .tags_commit      = NULL,
   .path_probe       = pop_path_probe,