]> granicus.if.org Git - neomutt/commitdiff
split protos.h 3
authorRichard Russon <rich@flatcap.org>
Sun, 8 Jul 2018 15:00:51 +0000 (16:00 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 16 Jul 2018 22:23:11 +0000 (23:23 +0100)
75 files changed:
addrbook.c
alias.c
bcache.c
browser.c
buffy.c
color.c
commands.c
complete.c
compose.c
compress.c
conn/conn.h
conn/conn_raw.c
conn/sasl.c
conn/ssl.c
conn/ssl_gnutls.c
copy.c
curs_lib.c
curs_lib.h
curs_main.c
edit.c
editmsg.c
enter.c
group.c
handler.c
hcache/hcache.c
hdrline.c
help.c
history.c
hook.c
imap/browse.c
imap/command.c
imap/imap.c
imap/message.c
imap/util.c
init.h
maildir/mh.c
main.c
mbox/mbox.c
menu.c
mutt_account.c
mutt_attach.c
mutt_body.c
mutt_header.c
mutt_logging.c
mutt_lua.c
mutt_socket.c
mutt_thread.c
muttlib.c
muttlib.h
mx.c
ncrypt/crypt.c
ncrypt/crypt_gpgme.c
ncrypt/cryptglue.c
ncrypt/pgp.c
ncrypt/pgpkey.c
ncrypt/smime.c
nntp/nntp.c
notmuch/mutt_notmuch.c
pager.c
pattern.c
pop/pop.c
pop/pop_lib.c
postpone.c
protos.h
query.c
recvattach.c
recvcmd.c
remailer.c
rfc1524.c
rfc3676.c
send.c
sendlib.c
sidebar.c
smtp.c
url.c

index a76825b7868a7b73d8793deb58b6bd2156bb5601..00528123b19e033a10ec68811c31af38121d3ccb 100644 (file)
@@ -34,6 +34,7 @@
 #include "email/email.h"
 #include "mutt.h"
 #include "alias.h"
+#include "curs_lib.h"
 #include "format_flags.h"
 #include "globals.h"
 #include "keymap.h"
diff --git a/alias.c b/alias.c
index 43a47719744cde9720ff9d945f5d72a9caa7303d..5baf8dc1cb44df61787525751185085d260e732d 100644 (file)
--- a/alias.c
+++ b/alias.c
 #include "email/email.h"
 #include "mutt.h"
 #include "alias.h"
+#include "addrbook.h"
+#include "curs_lib.h"
 #include "globals.h"
 #include "hdrline.h"
 #include "mutt_curses.h"
+#include "muttlib.h"
 #include "options.h"
 #include "protos.h"
+#include "sendlib.h"
 
 /**
  * expand_aliases_r - Expand aliases, recursively
index a95485f233988af349db105c49bc81bdef9af558..025ca77f9ec86156812716b4c96ad3c1994339fe 100644 (file)
--- a/bcache.c
+++ b/bcache.c
@@ -33,6 +33,7 @@
 #include "bcache.h"
 #include "globals.h"
 #include "mutt_account.h"
+#include "muttlib.h"
 #include "protos.h"
 #include "url.h"
 
index 46aa01324eb004729a05f54c6be0c1817ffd1834..086cd1818c2d7053e59c77f43eb58aa89e0005ae 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -56,6 +56,7 @@
 #include "opcodes.h"
 #include "options.h"
 #include "protos.h"
+#include "sendlib.h"
 #include "sort.h"
 #include "url.h"
 #ifdef USE_IMAP
diff --git a/buffy.c b/buffy.c
index a4333f564f81b8c4e3d70e1d5ebc1b961463ca03..dae68fe9c4b13580e4162c0a20f9f76e6644a145 100644 (file)
--- a/buffy.c
+++ b/buffy.c
@@ -31,6 +31,7 @@
 #include <utime.h>
 #include "mutt/mutt.h"
 #include "email/email.h"
+#include "mutt.h"
 #include "buffy.h"
 #include "context.h"
 #include "globals.h"
 #include "maildir/maildir.h"
 #include "menu.h"
 #include "mutt_window.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "options.h"
+#include "parse.h"
 #include "protos.h"
 #ifdef USE_SIDEBAR
 #include "sidebar.h"
diff --git a/color.c b/color.c
index cba681a64eec45a5976530c1970e0fdfc86cc876..77c00ee4d9a44294ec8855ab3bba64c5ffe3d726 100644 (file)
--- a/color.c
+++ b/color.c
@@ -29,6 +29,7 @@
 #include "mutt/mutt.h"
 #include "email/email.h"
 #include "mutt.h"
+#include "color.h"
 #include "context.h"
 #include "globals.h"
 #include "keymap.h"
index 56083989025df51504dbaf32b08a47c46f49fd53..66fae31986ec45debb118f6029971a5f3f126540 100644 (file)
 #include "format_flags.h"
 #include "globals.h"
 #include "hdrline.h"
+#include "hook.h"
 #include "keymap.h"
 #include "mailbox.h"
 #include "menu.h"
 #include "mutt_curses.h"
 #include "mutt_logging.h"
 #include "mutt_window.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "ncrypt/ncrypt.h"
 #include "options.h"
 #include "pager.h"
+#include "parse.h"
 #include "protos.h"
 #include "recvattach.h"
+#include "sendlib.h"
 #include "sort.h"
 #ifdef USE_IMAP
 #include "imap/imap.h"
index d3f71db2889f41be6f548addcb34a4d5224a24b3..80c262a502fbf3600e2b430ee856e120dc1ada9e 100644 (file)
@@ -34,6 +34,7 @@
 #include <sys/stat.h>
 #include "mutt/mutt.h"
 #include "globals.h"
+#include "muttlib.h"
 #include "options.h"
 #include "protos.h"
 #ifdef USE_IMAP
index 1316d057c759a2c85de0bfd3a7869086bb49a5fe..c2fdc3b59fa5b6580175bedf4519fa262db2e195 100644 (file)
--- a/compose.c
+++ b/compose.c
 #include "compose.h"
 #include "alias.h"
 #include "browser.h"
+#include "commands.h"
 #include "context.h"
 #include "curs_lib.h"
 #include "curs_main.h"
 #include "edit.h"
 #include "format_flags.h"
 #include "globals.h"
+#include "hook.h"
 #include "keymap.h"
 #include "mailbox.h"
 #include "menu.h"
 #include "ncrypt/ncrypt.h"
 #include "opcodes.h"
 #include "options.h"
+#include "parse.h"
 #include "protos.h"
 #include "recvattach.h"
+#include "sendlib.h"
 #include "sort.h"
 #ifdef ENABLE_NLS
 #include <libintl.h>
index 8fac96c7a191fec120309d052ff456bd93104e58..9a9d9dc67dacf6a4322957cad09a313ec33acaa8 100644 (file)
 #include "mutt.h"
 #include "compress.h"
 #include "context.h"
+#include "curs_lib.h"
 #include "format_flags.h"
 #include "globals.h"
+#include "hook.h"
 #include "mailbox.h"
 #include "mutt_curses.h"
 #include "muttlib.h"
index 9783dcd1c58251729b49f8ec4547dd584d96ffab..a4d0163b914d437a38ffe5a8fd9eb68d9cb075cd 100644 (file)
@@ -41,6 +41,8 @@
 #ifndef _CONN_CONN_H
 #define _CONN_CONN_H
 
+#include <stdio.h>
+
 #include "account.h"
 #include "conn_globals.h"
 #include "connection.h"
@@ -52,4 +54,6 @@
 #include "sasl.h"
 #endif
 
+int getdnsdomainname(char *d, size_t len);
+
 #endif /* _CONN_CONN_H */
index 74d4dc3dbdd51239784b2568f39c7ac82cf0b8e8..02b67fd06c597bda28efc152034127cee7ac519b 100644 (file)
@@ -44,6 +44,7 @@
 #include <unistd.h>
 #include "conn_globals.h"
 #include "connection.h"
+#include "curs_lib.h"
 #include "globals.h"
 #include "options.h"
 #include "protos.h"
index 30aa0b74402694c0a43539d181d6717205db8098..9320cbf9d5f796727dd65365ffc3744e933f618e 100644 (file)
@@ -53,6 +53,7 @@
 #include "sasl.h"
 #include "account.h"
 #include "connection.h"
+#include "curs_lib.h"
 #include "mutt_account.h"
 #include "options.h"
 #include "protos.h"
index de433498562a46511cc8fb0bc5d4770cdaf10956..2077444dbc4f946d679ab20397a187472c0cebfe 100644 (file)
@@ -61,6 +61,7 @@
 #include "menu.h"
 #include "mutt_account.h"
 #include "mutt_logging.h"
+#include "muttlib.h"
 #include "opcodes.h"
 #include "options.h"
 #include "protos.h"
index 20b905b6e4fc1fb21212acac2213164bc37d786a..6d4a035f6cc4563133bd52b9d92672994e4bce4d 100644 (file)
@@ -44,6 +44,7 @@
 #include "keymap.h"
 #include "menu.h"
 #include "mutt_account.h"
+#include "muttlib.h"
 #include "opcodes.h"
 #include "options.h"
 #include "protos.h"
diff --git a/copy.c b/copy.c
index 85dce0259d9e55e3464000fbe37cdc447c113374..695778cf858baa0057f08fd0ca8c336e7514416b 100644 (file)
--- a/copy.c
+++ b/copy.c
@@ -47,6 +47,7 @@
 #include "options.h"
 #include "protos.h"
 #include "rfc2047.h"
+#include "sendlib.h"
 #include "state.h"
 #ifdef USE_NOTMUCH
 #include "notmuch/mutt_notmuch.h"
index 89a40564da4a1035d452195cc844e284940220fa..f4fb47e5fc8e1318a5ec36af406bd29c6aa2a632 100644 (file)
@@ -49,6 +49,7 @@
 #include "mutt_curses.h"
 #include "mutt_logging.h"
 #include "mutt_window.h"
+#include "muttlib.h"
 #include "opcodes.h"
 #include "options.h"
 #include "pager.h"
index d0121aef67f9899fd87609d82620c04329a03032..d5e204ddbd1edd0e83c02ad22126bb7a96e48925 100644 (file)
@@ -26,6 +26,7 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include <wchar.h>
+#include "mutt.h"
 
 struct Context;
 struct Pager;
@@ -69,4 +70,9 @@ void         mutt_unget_string(char *s);
 size_t       mutt_wstr_trunc(const char *src, size_t maxlen, size_t maxwid, size_t *width);
 int          mutt_yesorno(const char *msg, int def);
 
+#define mutt_enter_fname(A, B, C, D)   mutt_enter_fname_full(A, B, C, D, 0, NULL, NULL, 0)
+#define mutt_enter_vfolder(A, B, C, D) mutt_enter_fname_full(A, B, C, D, 0, NULL, NULL, MUTT_SEL_VFOLDER)
+#define mutt_get_field(A, B, C, D)     mutt_get_field_full(A, B, C, D, 0, NULL, NULL)
+#define mutt_get_password(A, B, C)     mutt_get_field_unbuffered(A, B, C, MUTT_PASS)
+
 #endif /* MUTT_CURS_LIB_H */
index d4793e15d82eee748e29c723dc16280b0d3e9729..c70ec99b7be5579f36cb99202f3d0b649a473f08 100644 (file)
@@ -42,6 +42,7 @@
 #include "format_flags.h"
 #include "globals.h"
 #include "hdrline.h"
+#include "hook.h"
 #include "keymap.h"
 #include "mailbox.h"
 #include "menu.h"
@@ -50,6 +51,7 @@
 #include "mutt_logging.h"
 #include "mutt_thread.h"
 #include "mutt_window.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "ncrypt/ncrypt.h"
 #include "opcodes.h"
diff --git a/edit.c b/edit.c
index 0a9c5d147823b40df15c636e7b0640c8f667e6d9..05aeceb5e57add484134515db0cce0c650fe1a80 100644 (file)
--- a/edit.c
+++ b/edit.c
 #include "email/email.h"
 #include "alias.h"
 #include "context.h"
+#include "curs_lib.h"
 #include "globals.h"
 #include "hdrline.h"
 #include "mutt_curses.h"
 #include "mutt_header.h"
 #include "mutt_window.h"
+#include "muttlib.h"
 #include "options.h"
 #include "protos.h"
 
index c691ac508c806b07440b04fdf5487f2f8554a87c..722e4d7745a419985531140b19b819d641768285 100644 (file)
--- a/editmsg.c
+++ b/editmsg.c
 #include "mutt.h"
 #include "context.h"
 #include "copy.h"
+#include "curs_lib.h"
 #include "globals.h"
 #include "mailbox.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "options.h"
 #include "protos.h"
diff --git a/enter.c b/enter.c
index b13acb8e3b968a64bf5e5a12af7f3255711be734..3473ccce741164599cfc052c2cbc6adde78a5840 100644 (file)
--- a/enter.c
+++ b/enter.c
@@ -45,6 +45,7 @@
 #include "keymap.h"
 #include "mutt_curses.h"
 #include "mutt_window.h"
+#include "muttlib.h"
 #include "opcodes.h"
 #include "protos.h"
 #include "query.h"
diff --git a/group.c b/group.c
index 2dcaccbd01dc6719aedbeee6c58655b440d75609..c1e4142c3e09543040a578a8ec45877dc204fe5e 100644 (file)
--- a/group.c
+++ b/group.c
@@ -29,6 +29,7 @@
 #include "group.h"
 #include "globals.h"
 #include "protos.h"
+#include "send.h"
 
 struct Group *mutt_pattern_group(const char *k)
 {
index 7fa4faa131f81d71df35bcd5d5d010dfbf015375..3d3c5c03b5b11c49ee94a4b67dde1a8b3368921f 100644 (file)
--- a/handler.c
+++ b/handler.c
 #include "keymap.h"
 #include "mutt_attach.h"
 #include "mutt_logging.h"
+#include "muttlib.h"
 #include "ncrypt/ncrypt.h"
 #include "opcodes.h"
 #include "options.h"
+#include "parse.h"
 #include "protos.h"
 #include "recvattach.h"
 #include "rfc1524.h"
index 46799a4aea15ba573cd9c48680daa45c69ae58c7..c31bcf5565cb86fa8e8aa545b8a1261dece7eddb 100644 (file)
@@ -33,6 +33,7 @@
 
 #include "config.h"
 #include "email/email.h"
+#include "muttlib.h"
 
 #if !(defined(HAVE_BDB) || defined(HAVE_GDBM) || defined(HAVE_KC) ||           \
       defined(HAVE_LMDB) || defined(HAVE_QDBM) || defined(HAVE_TC))
index c4ff6c0e54fb8b99a36c851249bb9f5bd6540d73..25e15727addb9b3086d006d4d3d5cb37c808358f 100644 (file)
--- a/hdrline.c
+++ b/hdrline.c
@@ -35,6 +35,7 @@
 #include "hdrline.h"
 #include "alias.h"
 #include "context.h"
+#include "curs_lib.h"
 #include "format_flags.h"
 #include "globals.h"
 #include "mbtable.h"
@@ -44,6 +45,7 @@
 #include "muttlib.h"
 #include "ncrypt/ncrypt.h"
 #include "options.h"
+#include "parse.h"
 #include "protos.h"
 #include "sort.h"
 
diff --git a/help.c b/help.c
index 743df7d5688a69d872ae0bd43c258657eb3e159f..bed865064d622ee9ce177004fbf6c3f0ebc8ef42 100644 (file)
--- a/help.c
+++ b/help.c
@@ -32,6 +32,7 @@
 #include "globals.h"
 #include "keymap.h"
 #include "mutt_window.h"
+#include "muttlib.h"
 #include "opcodes.h"
 #include "options.h"
 #include "pager.h"
index 6f07cac4dfbc6d553acdc102559e798f74657167..9bb79bb6c631488ab4765266b83f5595500482a8 100644 (file)
--- a/history.c
+++ b/history.c
@@ -78,6 +78,7 @@
 #include "mutt/mutt.h"
 #include "mutt.h"
 #include "history.h"
+#include "curs_lib.h"
 #include "format_flags.h"
 #include "keymap.h"
 #include "menu.h"
diff --git a/hook.c b/hook.c
index 2286358e152cc61d61d6ea8b5f5cb1b15927b159..bc8f37f6225c709376ba6d882806527751fc3d05 100644 (file)
--- a/hook.c
+++ b/hook.c
@@ -40,6 +40,7 @@
 #include "globals.h"
 #include "hdrline.h"
 #include "mailbox.h"
+#include "muttlib.h"
 #include "ncrypt/ncrypt.h"
 #include "options.h"
 #include "pattern.h"
index babc8b30b534102dd6a5b6a60d0ff94be15c755b..bd06165b72640bdb527edd0be50c76922eb79056 100644 (file)
 #include "browser.h"
 #include "buffy.h"
 #include "context.h"
+#include "curs_lib.h"
 #include "globals.h"
 #include "imap/imap.h"
 #include "mutt_logging.h"
+#include "muttlib.h"
 #include "options.h"
 #include "protos.h"
 
index 0cf105ad7d89e9d29b143013006227a2b46969c0..98314d87346eed164c306432e2f93391de992e62 100644 (file)
@@ -41,6 +41,7 @@
 #include "mutt/mutt.h"
 #include "email/email.h"
 #include "conn/conn.h"
+#include "mutt.h"
 #include "buffy.h"
 #include "context.h"
 #include "globals.h"
index 791968fa16eeb82535002f0feb9ed72a49c260f8..09713024af0c293e4cda84ed17245b7da039ca5e 100644 (file)
 #include "auth.h"
 #include "bcache.h"
 #include "buffy.h"
+#include "commands.h"
 #include "context.h"
+#include "curs_lib.h"
 #include "globals.h"
 #include "mailbox.h"
 #include "message.h"
 #include "mutt_account.h"
 #include "mutt_logging.h"
 #include "mutt_socket.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "options.h"
 #include "pattern.h"
index a6748bf87b668e475eba59ae654b5c4caa0f58fa..6683e95e6baff6e92b49b4e8288e982329f4066e 100644 (file)
@@ -42,6 +42,7 @@
 #include "message.h"
 #include "bcache.h"
 #include "context.h"
+#include "curs_lib.h"
 #include "globals.h"
 #include "imap/imap.h"
 #include "mailbox.h"
 #include "mutt_curses.h"
 #include "mutt_logging.h"
 #include "mutt_socket.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "options.h"
+#include "parse.h"
 #include "progress.h"
 #include "protos.h"
 #ifdef USE_HCACHE
index 10f40395455719d2e6396b6d903a4e3bb38cae35..08a72d7232a6c7f0324fedbbf84ab2b4d1cd7e06 100644 (file)
@@ -46,6 +46,7 @@
 #include "conn/conn.h"
 #include "bcache.h"
 #include "context.h"
+#include "curs_lib.h"
 #include "globals.h"
 #include "imap/imap.h"
 #include "mailbox.h"
diff --git a/init.h b/init.h
index b8b1687a8f646522801f66c003d492356c1eecca..8c8ccef349cde65cdab5aa2a5f8ce823ae32cda0 100644 (file)
--- a/init.h
+++ b/init.h
@@ -36,6 +36,7 @@
 #include "bcache.h"
 #include "browser.h"
 #include "buffy.h"
+#include "color.h"
 #include "commands.h"
 #include "compose.h"
 #include "curs_lib.h"
index 3e7d9cce4a4319c3fabe685557417847a71e9d58..54abd99185e5ca381787c7ccf235119934fbe03e 100644 (file)
 #include "mailbox.h"
 #include "maildir.h"
 #include "mutt_thread.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "options.h"
+#include "parse.h"
 #include "progress.h"
 #include "protos.h"
 #include "sort.h"
diff --git a/main.c b/main.c
index e7737ae7713fe2adde065ef4f99817b25c92366a..6395cb23d91ac4a7003a19f4b02656a62ea7162f 100644 (file)
--- a/main.c
+++ b/main.c
 #include "curs_lib.h"
 #include "curs_main.h"
 #include "globals.h"
+#include "hook.h"
 #include "keymap.h"
 #include "mailbox.h"
 #include "mutt_curses.h"
 #include "mutt_logging.h"
 #include "mutt_window.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "ncrypt/ncrypt.h"
 #include "options.h"
 #include "protos.h"
 #include "send.h"
+#include "sendlib.h"
 #include "terminal.h"
 #include "url.h"
 #include "version.h"
index 7eb08a77019fa37f7e7a7ed3c9c7966f7ab6760b..d3192bae7e61abd6007992bae3e2fcba3ecd6aa7 100644 (file)
 #include "mailbox.h"
 #include "mutt_header.h"
 #include "mutt_thread.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "options.h"
+#include "parse.h"
 #include "progress.h"
 #include "protos.h"
 #include "sort.h"
diff --git a/menu.c b/menu.c
index 12f32cc9187a7d7cde1af1170274affbcd8161cb..dc28fdbad8d398573a6cf101ac3fe3edf23ae89d 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -31,6 +31,8 @@
 #include "email/email.h"
 #include "mutt.h"
 #include "menu.h"
+#include "color.h"
+#include "commands.h"
 #include "context.h"
 #include "curs_lib.h"
 #include "globals.h"
@@ -38,6 +40,7 @@
 #include "mutt_curses.h"
 #include "mutt_logging.h"
 #include "mutt_window.h"
+#include "muttlib.h"
 #include "opcodes.h"
 #include "options.h"
 #include "pattern.h"
index a9858be68122bee6d8bcf396c54956cba9491809..242bc35cc9084aa6a29697a8cb09526f7340d24f 100644 (file)
@@ -32,6 +32,7 @@
 #include "mutt/mutt.h"
 #include "conn/conn.h"
 #include "mutt_account.h"
+#include "curs_lib.h"
 #include "globals.h"
 #include "options.h"
 #include "protos.h"
index f7550165b4623fc691d466df24b39111fcb3783f..0c9d450e6cbb42935f1eb7fd34d016be7b3083cc 100644 (file)
 #include "handler.h"
 #include "mailbox.h"
 #include "mutt_curses.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "ncrypt/ncrypt.h"
 #include "options.h"
 #include "pager.h"
+#include "parse.h"
 #include "protos.h"
 #include "recvattach.h"
 #include "rfc1524.h"
+#include "sendlib.h"
 #include "state.h"
 
 int mutt_get_tmp_attachment(struct Body *a)
index fb0f0900c970aee4fcadfc401f68a783a58bf4cc..ab92c619d6723c94bef753d2aa8ad8d7ce9f237f 100644 (file)
@@ -34,7 +34,9 @@
 #include "mutt/mutt.h"
 #include "email/email.h"
 #include "mutt_attach.h"
+#include "muttlib.h"
 #include "protos.h"
+#include "sendlib.h"
 
 /**
  * mutt_body_copy - Create a send-mode duplicate from a receive-mode body
index d0f92e47174a35f903def33c59fe30cb6995d46a..c2e089e7cbd523a1538e3bb2cdf3f8e4228f31fe 100644 (file)
 #include "mutt.h"
 #include "alias.h"
 #include "context.h"
+#include "curs_lib.h"
 #include "curs_main.h"
 #include "globals.h"
+#include "muttlib.h"
 #include "ncrypt/ncrypt.h"
 #include "options.h"
+#include "parse.h"
 #include "protos.h"
+#include "sendlib.h"
 
 static void label_ref_dec(struct Context *ctx, char *label)
 {
index b3108679f7ad027e1a91853d2868cfaf4fed0fbf..d0dfe22ea56f96f53ef8876add69e572ef851fb8 100644 (file)
@@ -41,6 +41,7 @@
 #include "globals.h"
 #include "mutt_curses.h"
 #include "mutt_window.h"
+#include "muttlib.h"
 #include "options.h"
 #include "protos.h"
 
index aca54f2510559fcf43b0069e9b70207f53b7910d..115dfc50c0a445a7b1500600ef591b83ce450209 100644 (file)
@@ -36,6 +36,7 @@
 #include "mbtable.h"
 #include "mutt_commands.h"
 #include "mutt_options.h"
+#include "muttlib.h"
 #include "protos.h"
 
 static int handle_panic(lua_State *l)
index bf62750a415c38187b44b9ec83a182619ee7891d..8bfb3e8671231876a4ded00b69432b59a90c3b72 100644 (file)
@@ -32,6 +32,7 @@
 #include "mutt/mutt.h"
 #include "conn/conn.h"
 #include "mutt_socket.h"
+#include "hook.h"
 #include "mutt_account.h"
 #include "protos.h"
 #include "url.h"
index 6106dd1a2ffd2c42c7a911d1b5dcc97efcb28b2b..7fde461b35e780f1bc82bf659d94b374ef15418b 100644 (file)
@@ -32,6 +32,7 @@
 #include "mutt.h"
 #include "mutt_thread.h"
 #include "context.h"
+#include "curs_lib.h"
 #include "options.h"
 #include "protos.h"
 #include "sort.h"
index 5dcb9c2a7bd0f3205b60e538ed789a18ffd6f690..07eb023abce56d358c44e409d79bf60b35a5070f 100644 (file)
--- a/muttlib.c
+++ b/muttlib.c
 #include "email/email.h"
 #include "conn/conn.h"
 #include "mutt.h"
+#include "muttlib.h"
 #include "alias.h"
 #include "curs_lib.h"
 #include "filter.h"
 #include "format_flags.h"
 #include "globals.h"
+#include "hook.h"
 #include "mailbox.h"
 #include "mutt_curses.h"
 #include "mutt_window.h"
index 14395d007c55b79af69bd2b51be7010a1c51977f..1f9af75a0d26943a6f9c1dc9f3dad9a3bda940bc 100644 (file)
--- a/muttlib.h
+++ b/muttlib.h
@@ -38,6 +38,8 @@ struct stat;
 /* These Config Variables are only used in muttlib.c */
 extern struct Regex *GecosMask;
 
+#define MUTT_RANDTAG_LEN 16
+
 void        mutt_adv_mktemp(char *s, size_t l);
 int         mutt_check_overwrite(const char *attname, const char *path, char *fname, size_t flen, int *append, char **directory);
 void        mutt_encode_path(char *dest, size_t dlen, const char *src);
@@ -66,4 +68,7 @@ int         mutt_save_confirm(const char *s, struct stat *st);
 void        mutt_save_path(char *d, size_t dsize, struct Address *a);
 void        mutt_sleep(short s);
 
+#define mutt_mktemp(a, b)               mutt_mktemp_pfx_sfx(a, b, "neomutt", NULL)
+#define mutt_mktemp_pfx_sfx(a, b, c, d) mutt_mktemp_full(a, b, c, d, __FILE__, __LINE__)
+
 #endif /* MUTT_MUTTLIB_H */
diff --git a/mx.c b/mx.c
index 0ab89be52c666cc7754e62bbfabb59c7fadc5833..37a5d9574a1ae1c5c54722478fa7bf107de470cf 100644 (file)
--- a/mx.c
+++ b/mx.c
@@ -45,6 +45,7 @@
 #include "context.h"
 #include "copy.h"
 #include "globals.h"
+#include "hook.h"
 #include "keymap.h"
 #include "mailbox.h"
 #include "maildir/maildir.h"
@@ -52,6 +53,7 @@
 #include "mutt_header.h"
 #include "mutt_logging.h"
 #include "mutt_thread.h"
+#include "muttlib.h"
 #include "ncrypt/ncrypt.h"
 #include "opcodes.h"
 #include "options.h"
index 008921aaffebf2297756a8f2c86d6b0a9cf3b873..8b58b20c13f71ecc301ac447c15e0519cbd931ce 100644 (file)
 #include "globals.h"
 #include "handler.h"
 #include "mutt_curses.h"
+#include "muttlib.h"
 #include "ncrypt.h"
 #include "options.h"
+#include "parse.h"
 #include "protos.h"
+#include "send.h"
+#include "sendlib.h"
 #include "state.h"
 
 /* These Config Variables are only used in ncrypt/crypt.c */
index f5894af6ef71970734aa6e0287294b1049788bea..c5ed945802086dbdb7318c5622dc80693d4f95b8 100644 (file)
@@ -57,6 +57,7 @@
 #include "format_flags.h"
 #include "globals.h"
 #include "handler.h"
+#include "hook.h"
 #include "keymap.h"
 #include "menu.h"
 #include "mutt_attach.h"
 #include "opcodes.h"
 #include "options.h"
 #include "pager.h"
+#include "parse.h"
 #include "protos.h"
 #include "recvattach.h"
+#include "sendlib.h"
 #include "sort.h"
 #include "state.h"
 #ifdef ENABLE_NLS
index d75927d456cacd2dd45835c5efb1f3658024e9ba..aabdca0504ee33d52b9ebf7a7219bb6bf0ebd03e 100644 (file)
@@ -39,6 +39,7 @@
 #include <stdio.h>
 #include "mutt/mutt.h"
 #include "crypt_mod.h"
+#include "curs_lib.h"
 #include "ncrypt.h"
 #include "options.h"
 #include "protos.h"
index d3bfdda4ea16e3c0218502820a0b3a0d78dfce27..788cf6ebc66afebf3a9b0864184594c03e3317e4 100644 (file)
 #include "filter.h"
 #include "globals.h"
 #include "handler.h"
+#include "hook.h"
 #include "mutt_attach.h"
 #include "mutt_curses.h"
+#include "muttlib.h"
 #include "ncrypt.h"
 #include "options.h"
+#include "parse.h"
 #include "pgpinvoke.h"
 #include "pgplib.h"
 #include "pgpmicalg.h"
 #include "protos.h"
+#include "sendlib.h"
 #include "state.h"
 
 /* These Config Variables are only used in ncrypt/pgp.c */
index 6d36df92b9fdb115bc74f038d1a3ac58d2f850dd..434d061a9402a0f7ad776b49cd17376edcc04110 100644 (file)
@@ -62,6 +62,7 @@
 #include "pgplib.h"
 #include "protos.h"
 #include "recvattach.h"
+#include "sendlib.h"
 #include "sort.h"
 
 /**
index fd72ff722d652f0ff17ac77f1185eec4c8ebce2c..94c922863581cb61b5fe57112b1fb1608377e122 100644 (file)
 #include "ncrypt.h"
 #include "opcodes.h"
 #include "options.h"
+#include "parse.h"
 #include "protos.h"
+#include "send.h"
+#include "sendlib.h"
 #include "state.h"
 
 /* These Config Variables are only used in ncrypt/smime.c */
index 6ce1b9f6759f0f5b115c29740145d5fa64f6e5f3..7f64b6b83e9254d92c07aa65d5cbca36f9b0ec1c 100644 (file)
 #include "nntp.h"
 #include "bcache.h"
 #include "context.h"
+#include "curs_lib.h"
 #include "globals.h"
 #include "mailbox.h"
 #include "mutt_account.h"
 #include "mutt_logging.h"
 #include "mutt_socket.h"
 #include "mutt_thread.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "ncrypt/ncrypt.h"
 #include "options.h"
+#include "parse.h"
 #include "progress.h"
 #include "protos.h"
 #include "sort.h"
index d5bb03bce58afc0cdb20eb7bc06ccb503ff4cc69..791d3524c60138fe89fd14563386393994a0fa32 100644 (file)
@@ -52,6 +52,7 @@
 #include "mutt_notmuch.h"
 #include "buffy.h"
 #include "context.h"
+#include "curs_lib.h"
 #include "curs_main.h"
 #include "globals.h"
 #include "mailbox.h"
diff --git a/pager.c b/pager.c
index 79bdf4bb027b361e163d67e1393f1d277c387a98..f7eff283b26cd851ae484d8781e82096cce01743 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -37,6 +37,7 @@
 #include "pager.h"
 #include "alias.h"
 #include "buffy.h"
+#include "color.h"
 #include "commands.h"
 #include "context.h"
 #include "curs_lib.h"
@@ -44,6 +45,7 @@
 #include "format_flags.h"
 #include "globals.h"
 #include "hdrline.h"
+#include "hook.h"
 #include "keymap.h"
 #include "mailbox.h"
 #include "menu.h"
index aa744cfd2c1004e55bee8d429228c25a89145b6e..7d5d061b353057642ddd302a691f8c80bc1f34ec 100644 (file)
--- a/pattern.c
+++ b/pattern.c
@@ -39,6 +39,7 @@
 #include "alias.h"
 #include "context.h"
 #include "copy.h"
+#include "curs_lib.h"
 #include "globals.h"
 #include "group.h"
 #include "handler.h"
 #include "mailbox.h"
 #include "menu.h"
 #include "mutt_logging.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "ncrypt/ncrypt.h"
 #include "opcodes.h"
 #include "options.h"
+#include "parse.h"
 #include "progress.h"
 #include "protos.h"
 #include "state.h"
index 2c5a91311cc4d983538842f30dbfbf6d59c6db95..97a16fd76f29fbb736a89cb1d7ed6ca8dc9be9d6 100644 (file)
--- a/pop/pop.c
+++ b/pop/pop.c
 #include "mutt_header.h"
 #include "mutt_logging.h"
 #include "mutt_socket.h"
+#include "muttlib.h"
 #include "mx.h"
 #include "ncrypt/ncrypt.h"
 #include "options.h"
+#include "parse.h"
 #include "progress.h"
 #include "protos.h"
 #include "url.h"
index dd0dd767efb3c8073676400db32265e5f0d414ed..791d8449904f6225a6ae4b018d5b790be46713fd 100644 (file)
@@ -39,6 +39,7 @@
 #include "mutt_curses.h"
 #include "mutt_logging.h"
 #include "mutt_socket.h"
+#include "muttlib.h"
 #include "options.h"
 #include "pop.h"
 #include "progress.h"
index a23ab90b424ccac7ec51b8f0b30b93828e139b89..a32518e7e545b8633e6542135b7ec83f5ae3a430 100644 (file)
 #include "menu.h"
 #include "mutt_logging.h"
 #include "mutt_thread.h"
+#include "muttlib.h"
 #include "ncrypt/ncrypt.h"
 #include "opcodes.h"
 #include "options.h"
+#include "parse.h"
 #include "protos.h"
 #include "send.h"
+#include "sendlib.h"
 #include "sort.h"
 #include "state.h"
 #ifdef USE_IMAP
index 0f87ad43063ea000f44f3498622deedeb3b4093a..17622e18cb8a0299f036be03462b56929b093e35 100644 (file)
--- a/protos.h
+++ b/protos.h
 
 #include <stddef.h>
 #include <stdbool.h>
-#include <stdint.h>
 #include <stdio.h>
 #include <time.h>
-#include "mutt.h"
 
-struct Address;
-struct AliasList;
-struct Body;
-struct Buffer;
 struct Context;
 struct EnterState;
-struct Envelope;
 struct Header;
-struct ListHead;
-struct ParameterList;
-
-struct stat;
-struct passwd;
 
 /**
  * enum XdgType - XDG variable types
@@ -56,197 +44,32 @@ enum XdgType
 
 int mutt_system(const char *cmd);
 
-void mutt_parse_content_type(char *s, struct Body *ct);
-void mutt_generate_boundary(struct ParameterList *parm);
-
-FILE *mutt_open_read(const char *path, pid_t *thepid);
-
-char *mutt_extract_message_id(const char *s, const char **saveptr);
-
-struct Address *mutt_default_from(void);
-struct Address *mutt_remove_duplicates(struct Address *addr);
-struct Address *mutt_remove_xrefs(struct Address *a, struct Address *b);
-
-struct Body *mutt_make_file_attach(const char *path);
-struct Body *mutt_make_message_attach(struct Context *ctx, struct Header *hdr, bool attach_msg);
-struct Body *mutt_remove_multipart(struct Body *b);
-struct Body *mutt_make_multipart(struct Body *b);
-struct Body *mutt_parse_multipart(FILE *fp, const char *boundary, LOFF_T end_off, bool digest);
-struct Body *mutt_rfc822_parse_message(FILE *fp, struct Body *parent);
-struct Body *mutt_read_mime_header(FILE *fp, bool digest);
-
-struct Content *mutt_get_content_info(const char *fname, struct Body *b);
-
-char *mutt_rfc822_read_line(FILE *f, char *line, size_t *linelen);
-struct Envelope *mutt_rfc822_read_header(FILE *f, struct Header *hdr, short user_hdrs, short weed);
-
 int is_from(const char *s, char *path, size_t pathlen, time_t *tp);
 
-char *mutt_expand_path(char *s, size_t slen);
-char *mutt_expand_path_regex(char *s, size_t slen, bool regex);
-char *mutt_find_hook(int type, const char *pat);
-char *mutt_gecos_name(char *dest, size_t destlen, struct passwd *pw);
-char *mutt_body_get_charset(struct Body *b, char *buf, size_t buflen);
-void mutt_crypt_hook(struct ListHead *list, struct Address *addr);
-void mutt_timeout_hook(void);
-void mutt_startup_shutdown_hook(int type);
 int mutt_set_xdg_path(enum XdgType type, char *buf, size_t bufsize);
-
-const char *mutt_make_version(void);
-
-const char *mutt_fqdn(bool may_hide_host);
-
-void mutt_account_hook(const char *url);
-void mutt_add_to_reference_headers(struct Envelope *env, struct Envelope *curenv);
-void mutt_adv_mktemp(char *s, size_t l);
-void mutt_alias_menu(char *buf, size_t buflen, struct AliasList *aliases);
-int mutt_bounce_message(FILE *fp, struct Header *h, struct Address *to);
-void mutt_check_stats(void);
-int mutt_count_body_parts(struct Context *ctx, struct Header *hdr);
-void mutt_default_save(char *path, size_t pathlen, struct Header *hdr);
-void mutt_display_address(struct Envelope *env);
-int mutt_edit_content_type (struct Header *h, struct Body *b, FILE *fp);
-void mutt_edit_file(const char *editor, const char *data);
-void mutt_encode_descriptions(struct Body *b, short recurse);
-void mutt_encode_path(char *dest, size_t dlen, const char *src);
-void mutt_enter_command(void);
-void mutt_expand_file_fmt(char *dest, size_t destlen, const char *fmt, const char *src);
-void mutt_expand_fmt(char *dest, size_t destlen, const char *fmt, const char *src);
-void mutt_fix_reply_recipients(struct Envelope *env);
-void mutt_folder_hook(const char *path);
-void mutt_simple_format(char *buf, size_t buflen, int min_width, int max_width,
-                        int justify, char pad_char, const char *s, size_t n, int arboreal);
-void mutt_format_s(char *buf, size_t buflen, const char *prec, const char *s);
-void mutt_format_s_tree(char *buf, size_t buflen, const char *prec, const char *s);
-void mutt_forward_intro(struct Context *ctx, struct Header *cur, FILE *fp);
-void mutt_forward_trailer(struct Context *ctx, struct Header *cur, FILE *fp);
-void mutt_free_color(int fg, int bg);
-void mutt_free_colors(void);
 void mutt_help(int menu);
-void mutt_make_attribution(struct Context *ctx, struct Header *cur, FILE *out);
-void mutt_make_forward_subject(struct Envelope *env, struct Context *ctx, struct Header *cur);
 void mutt_make_help(char *d, size_t dlen, const char *txt, int menu, int op);
-void mutt_make_misc_reply_headers(struct Envelope *env, struct Envelope *curenv);
-void mutt_make_post_indent(struct Context *ctx, struct Header *cur, FILE *out);
-void mutt_message_to_7bit(struct Body *a, FILE *fp);
-void mutt_mktemp_full(char *s, size_t slen, const char *prefix, const char *suffix, const char *src, int line);
-#define mutt_mktemp_pfx_sfx(a, b, c, d) mutt_mktemp_full(a, b, c, d, __FILE__, __LINE__)
-#define mutt_mktemp(a, b) mutt_mktemp_pfx_sfx(a, b, "neomutt", NULL)
-void mutt_paddstr(int n, const char *s);
-void mutt_parse_mime_message(struct Context *ctx, struct Header *cur);
-void mutt_parse_part(FILE *fp, struct Body *b);
-void mutt_perror_debug(const char *s);
-void mutt_prepare_envelope(struct Envelope *env, bool final);
-void mutt_unprepare_envelope(struct Envelope *env);
-void mutt_pretty_mailbox(char *s, size_t buflen);
-void mutt_pipe_message(struct Header *h);
-void mutt_print_message(struct Header *h);
-void mutt_query_exit(void);
-void mutt_safe_path(char *s, size_t l, struct Address *a);
-void mutt_save_path(char *d, size_t dsize, struct Address *a);
-void mutt_select_fcc(char *path, size_t pathlen, struct Header *hdr);
-void mutt_message_hook(struct Context *ctx, struct Header *hdr, int type);
 void mutt_set_flag_update(struct Context *ctx, struct Header *h, int flag, bool bf, bool upd_ctx);
 #define mutt_set_flag(a, b, c, d) mutt_set_flag_update(a, b, c, d, true)
-void mutt_set_followup_to(struct Envelope *e);
-void mutt_shell_escape(void);
-void mutt_show_error(void);
 void mutt_signal_init(void);
-void mutt_stamp_attachment(struct Body *a);
 void mutt_tag_set_flag(int flag, int bf);
-void mutt_update_encoding(struct Body *a);
-void mutt_version(void);
-void mutt_write_address_list(struct Address *addr, FILE *fp, int linelen, bool display);
-int mutt_addwch(wchar_t wc);
-int mutt_alloc_color(int fg, int bg);
-int mutt_combine_color(int fg_attr, int bg_attr);
-int mutt_any_key_to_continue(const char *s);
 int mutt_change_flag(struct Header *h, int bf);
-int mutt_check_encoding(const char *c);
 
-int mutt_check_mime_type(const char *s);
-int mutt_check_overwrite(const char *attname, const char *path, char *fname,
-                         size_t flen, int *append, char **directory);
-int mutt_check_traditional_pgp(struct Header *h, int *redraw);
 int mutt_complete(char *buf, size_t buflen);
-int mutt_display_message(struct Header *cur);
 int mutt_edit_message(struct Context *ctx, struct Header *hdr);
 int mutt_view_message(struct Context *ctx, struct Header *hdr);
-int mutt_fetch_recips(struct Envelope *out, struct Envelope *in, int flags);
 int mutt_prepare_template(FILE *fp, struct Context *ctx, struct Header *newhdr, struct Header *hdr, short resend);
-int mutt_resend_message(FILE *fp, struct Context *ctx, struct Header *cur);
-int mutt_compose_to_sender(struct Header *hdr);
-#define mutt_enter_fname(A, B, C, D)   mutt_enter_fname_full(A, B, C, D, 0, NULL, NULL, 0)
-#define mutt_enter_vfolder(A, B, C, D) mutt_enter_fname_full(A, B, C, D, 0, NULL, NULL, MUTT_SEL_VFOLDER)
-int mutt_enter_fname_full(const char *prompt, char *buf, size_t blen, int buffy,
-                      int multiple, char ***files, int *numfiles, int flags);
 int mutt_enter_string(char *buf, size_t buflen, int col, int flags);
 int mutt_enter_string_full(char *buf, size_t buflen, int col, int flags, int multiple,
                        char ***files, int *numfiles, struct EnterState *state);
-#define mutt_get_field(A, B, C, D) mutt_get_field_full(A, B, C, D, 0, NULL, NULL)
-int mutt_get_field_full(const char *field, char *buf, size_t buflen, int complete,
-                    int multiple, char ***files, int *numfiles);
-int mutt_get_field_unbuffered(char *msg, char *buf, size_t buflen, int flags);
-#define mutt_get_password(A, B, C) mutt_get_field_unbuffered(A, B, C, MUTT_PASS)
-
 int mutt_get_postponed(struct Context *ctx, struct Header *hdr, struct Header **cur, char *fcc, size_t fcclen);
 int mutt_parse_crypt_hdr(const char *p, int set_empty_signas, int crypt_app);
-int mutt_invoke_sendmail(struct Address *from, struct Address *to, struct Address *cc, struct Address *bcc,
-                         const char *msg, int eightbit);
-bool mutt_is_text_part(struct Body *b);
-int mutt_lookup_mime_type(struct Body *att, const char *path);
-int mutt_multi_choice(char *prompt, char *letters);
-bool mutt_needs_mailcap(struct Body *m);
 int mutt_num_postponed(int force);
-int mutt_parse_color(struct Buffer *buf, struct Buffer *s, unsigned long data, struct Buffer *err);
-int mutt_parse_uncolor(struct Buffer *buf, struct Buffer *s, unsigned long data, struct Buffer *err);
-int mutt_parse_hook(struct Buffer *buf, struct Buffer *s, unsigned long data, struct Buffer *err);
-int mutt_parse_mono(struct Buffer *buf, struct Buffer *s, unsigned long data, struct Buffer *err);
-int mutt_parse_unmono(struct Buffer *buf, struct Buffer *s, unsigned long data, struct Buffer *err);
-int mutt_rfc822_parse_line(struct Envelope *e, struct Header *hdr, char *line, char *p,
-                           short user_hdrs, short weed, short do_2047);
-int mutt_parse_unhook(struct Buffer *buf, struct Buffer *s, unsigned long data, struct Buffer *err);
-void mutt_delete_hooks(int type);
-int mutt_save_message_ctx(struct Header *h, int delete, int decode, int decrypt, struct Context *ctx);
-int mutt_save_message(struct Header *h, int delete, int decode, int decrypt);
-
-size_t mutt_wstr_trunc(const char *src, size_t maxlen, size_t maxwid, size_t *width);
-int mutt_strwidth(const char *s);
 int mutt_thread_set_flag(struct Header *hdr, int flag, int bf, int subthread);
 void mutt_update_num_postponed(void);
-int mutt_write_fcc(const char *path, struct Header *hdr, const char *msgid, int post,
-                   char *fcc, char **finalpath);
-int mutt_write_multiple_fcc(const char *path, struct Header *hdr, const char *msgid,
-                            int post, char *fcc, char **finalpath);
-int mutt_write_mime_body(struct Body *a, FILE *f);
-int mutt_write_mime_header(struct Body *a, FILE *f);
-int mutt_write_one_header(FILE *fp, const char *tag, const char *value,
-                          const char *pfx, int wraplen, int flags);
-int mutt_rfc822_write_header(FILE *fp, struct Envelope *env, struct Body *attach, int mode, bool privacy);
-void mutt_write_references(const struct ListHead *r, FILE *f, size_t trim);
-int mutt_yesorno(const char *msg, int def);
-void mutt_sleep(short s);
-int mutt_save_confirm(const char *s, struct stat *st);
-
-void mutt_get_parent_path(char *output, char *path, size_t olen);
-size_t mutt_realpath(char *buf);
-
-#define MUTT_RANDTAG_LEN 16
-void mutt_rand_base32(void *out, size_t len);
-uint32_t mutt_rand32(void);
-uint64_t mutt_rand64(void);
-int mutt_randbuf(void *out, size_t len);
-
-int getdnsdomainname(char *d, size_t len);
-
-void ci_bounce_message(struct Header *h);
-int ci_send_message(int flags, struct Header *msg, char *tempfile, struct Context *ctx, struct Header *cur);
 
 #ifndef HAVE_WCSCASECMP
 int wcscasecmp(const wchar_t *a, const wchar_t *b);
 #endif
 
-bool message_is_tagged(struct Context *ctx, int index);
-bool message_is_visible(struct Context *ctx, int index);
-
 #endif /* _MUTT_PROTOS_H */
diff --git a/query.c b/query.c
index de63586e68914b6dd8b312055fc56639cad8d679..0aa9e8cc940c08c8af3f96b773414244f971c38d 100644 (file)
--- a/query.c
+++ b/query.c
@@ -30,6 +30,7 @@
 #include "email/email.h"
 #include "mutt.h"
 #include "alias.h"
+#include "curs_lib.h"
 #include "filter.h"
 #include "format_flags.h"
 #include "globals.h"
@@ -40,6 +41,7 @@
 #include "muttlib.h"
 #include "opcodes.h"
 #include "protos.h"
+#include "send.h"
 
 /* These Config Variables are only used in query.c */
 char *QueryCommand;
index fccbf68c76a80a8664b5fc9ed5fbb3ae87c48dc1..9bf317c2926ae01249da458cd8cf8214f26b7792 100644 (file)
@@ -32,6 +32,7 @@
 #include "email/email.h"
 #include "mutt.h"
 #include "recvattach.h"
+#include "commands.h"
 #include "context.h"
 #include "curs_lib.h"
 #include "filter.h"
@@ -39,6 +40,7 @@
 #include "globals.h"
 #include "handler.h"
 #include "hdrline.h"
+#include "hook.h"
 #include "keymap.h"
 #include "mailbox.h"
 #include "menu.h"
 #include "ncrypt/ncrypt.h"
 #include "opcodes.h"
 #include "options.h"
+#include "parse.h"
 #include "protos.h"
 #include "recvcmd.h"
 #include "rfc1524.h"
 #include "send.h"
+#include "sendlib.h"
 #include "state.h"
 #ifdef ENABLE_NLS
 #include <libintl.h>
index 5fefa0ce180cb049a6cd98bd271ce48e6cea23e2..4b86f559ade8867901e31c56f0d4c67081822d75 100644 (file)
--- a/recvcmd.c
+++ b/recvcmd.c
 #include "mutt_body.h"
 #include "mutt_logging.h"
 #include "mutt_window.h"
+#include "muttlib.h"
 #include "options.h"
 #include "protos.h"
 #include "recvattach.h"
 #include "send.h"
+#include "sendlib.h"
 #include "state.h"
 #ifdef ENABLE_NLS
 #include <libintl.h>
index 305946bf7110836e68b66a24188604ff7e7d7fe2..5bf5c590daf4eebfbcf3ae46b95aa07f9e16f479 100644 (file)
@@ -43,6 +43,7 @@
 #include "options.h"
 #include "protos.h"
 #include "recvattach.h"
+#include "sendlib.h"
 
 /* These Config Variables are only used in remailer.c */
 char *MixEntryFormat;
index 7202682a0fc95d3a8a86c37247f90c3b4e70bf93..095606e558822ae76d80b0cc05787e0d7da42bd1 100644 (file)
--- a/rfc1524.c
+++ b/rfc1524.c
@@ -43,6 +43,7 @@
 #include "rfc1524.h"
 #include "globals.h"
 #include "mutt_attach.h"
+#include "muttlib.h"
 #include "options.h"
 #include "protos.h"
 
index 18aebd001177760744d677a06bd4f5991b99e209..31b4b86dd858ea87fc549a73c4095e92271cd6bb 100644 (file)
--- a/rfc3676.c
+++ b/rfc3676.c
 #include <unistd.h>
 #include "mutt/mutt.h"
 #include "email/email.h"
+#include "curs_lib.h"
 #include "globals.h"
 #include "mutt_window.h"
+#include "muttlib.h"
 #include "options.h"
 #include "protos.h"
 #include "state.h"
diff --git a/send.c b/send.c
index b583c47dbd7bc9fe046aba68e83ced2537ca0e66..403ae4b13a644e6db93e0a918df2c0e405456f93 100644 (file)
--- a/send.c
+++ b/send.c
 #include "compose.h"
 #include "context.h"
 #include "copy.h"
+#include "curs_lib.h"
 #include "edit.h"
 #include "filter.h"
 #include "globals.h"
 #include "hdrline.h"
+#include "hook.h"
 #include "mailbox.h"
 #include "mutt_attach.h"
 #include "mutt_header.h"
 #include "mutt_logging.h"
+#include "muttlib.h"
 #include "ncrypt/ncrypt.h"
 #include "options.h"
+#include "parse.h"
 #include "pattern.h"
 #include "protos.h"
 #include "rfc3676.h"
+#include "sendlib.h"
 #include "smtp.h"
 #include "sort.h"
 #include "url.h"
index 712a558d71ef0b466e431cc5a062c8c2368cac3a..c9df37ca6a13edf94004d6ec325e8f3213aaf863 100644 (file)
--- a/sendlib.c
+++ b/sendlib.c
@@ -38,6 +38,7 @@
 #include "mutt/mutt.h"
 #include "email/email.h"
 #include "mutt.h"
+#include "sendlib.h"
 #include "buffy.h"
 #include "context.h"
 #include "copy.h"
 #include "ncrypt/ncrypt.h"
 #include "options.h"
 #include "pager.h"
+#include "parse.h"
 #include "protos.h"
 #include "recvattach.h"
 #include "rfc2047.h"
 #include "rfc2231.h"
+#include "send.h"
 #include "smtp.h"
 #include "state.h"
 #ifdef USE_NNTP
index 3b20133a79ed028bee86d087c17982dcdb5c70cb..a038ba18e74b19dced8e124e7c3780850cd674e8 100644 (file)
--- a/sidebar.c
+++ b/sidebar.c
@@ -39,6 +39,7 @@
 #include "sidebar.h"
 #include "buffy.h"
 #include "context.h"
+#include "curs_lib.h"
 #include "format_flags.h"
 #include "globals.h"
 #include "menu.h"
diff --git a/smtp.c b/smtp.c
index 436c2967613778f47a55549ae312cf5685d54b8e..f0f6086ebaca0c50716d64bbda62510128ee2142 100644 (file)
--- a/smtp.c
+++ b/smtp.c
@@ -41,6 +41,7 @@
 #include "options.h"
 #include "progress.h"
 #include "protos.h"
+#include "sendlib.h"
 #include "url.h"
 #ifdef USE_SASL
 #include <sasl/sasl.h>
diff --git a/url.c b/url.c
index 52a79a432c44a56bfa10c35be7065580bfdb260e..3bab2a9a315fbb4e1669822c2f3a675caad92c84 100644 (file)
--- a/url.c
+++ b/url.c
@@ -29,6 +29,7 @@
 #include "mutt.h"
 #include "url.h"
 #include "globals.h"
+#include "parse.h"
 #include "protos.h"
 #include "rfc2047.h"