]> diplodocus.org Git - nmh/commitdiff
error.c: Move interface to own file.
authorRalph Corderoy <ralph@inputplus.co.uk>
Thu, 2 Nov 2017 13:44:24 +0000 (13:44 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 12 Nov 2017 12:14:58 +0000 (12:14 +0000)
120 files changed:
Makefile.am
h/prototypes.h
mts/smtp/smtp.c
sbr/addrsbr.c
sbr/ambigsw.c
sbr/arglist.c
sbr/base64.c
sbr/context_del.c
sbr/context_foil.c
sbr/context_read.c
sbr/context_replace.c
sbr/context_save.c
sbr/cpydata.c
sbr/cpydgst.c
sbr/crawl_folders.c
sbr/credentials.c
sbr/datetime.c
sbr/done.c
sbr/encode_rfc2047.c
sbr/error.c
sbr/error.h [new file with mode: 0644]
sbr/ext_hook.c
sbr/fmt_compile.c
sbr/fmt_new.c
sbr/fmt_scan.c
sbr/folder_addmsg.c
sbr/folder_delmsgs.c
sbr/folder_pack.c
sbr/folder_read.c
sbr/folder_realloc.c
sbr/icalparse.y
sbr/lock_file.c
sbr/m_convert.c
sbr/m_draft.c
sbr/m_getfld.c
sbr/m_popen.c
sbr/makedir.c
sbr/mime_type.c
sbr/mts.c
sbr/oauth.c
sbr/push.c
sbr/readconfig.c
sbr/refile.c
sbr/remdir.c
sbr/ruserpass.c
sbr/seq_add.c
sbr/seq_del.c
sbr/seq_nameok.c
sbr/seq_read.c
sbr/seq_save.c
sbr/showfile.c
sbr/utils.c
sbr/vfgets.c
uip/ali.c
uip/anno.c
uip/annosbr.c
uip/ap.c
uip/burst.c
uip/comp.c
uip/dist.c
uip/distsbr.c
uip/dp.c
uip/dropsbr.c
uip/flist.c
uip/fmtdump.c
uip/fmttest.c
uip/folder.c
uip/forw.c
uip/forwsbr.c
uip/imaptest.c
uip/inc.c
uip/install-mh.c
uip/mark.c
uip/mhbuild.c
uip/mhbuildsbr.c
uip/mhcachesbr.c
uip/mhfixmsg.c
uip/mhical.c
uip/mhlist.c
uip/mhlogin.c
uip/mhlsbr.c
uip/mhmisc.c
uip/mhn.c
uip/mhoutsbr.c
uip/mhparam.c
uip/mhparse.c
uip/mhpath.c
uip/mhshow.c
uip/mhshowsbr.c
uip/mhstore.c
uip/mhstoresbr.c
uip/mkstemp.c
uip/msgchk.c
uip/new.c
uip/packf.c
uip/pick.c
uip/picksbr.c
uip/popsbr.c
uip/post.c
uip/prompter.c
uip/rcvdist.c
uip/rcvpack.c
uip/rcvstore.c
uip/rcvtty.c
uip/refile.c
uip/repl.c
uip/replsbr.c
uip/rmf.c
uip/rmm.c
uip/scan.c
uip/scansbr.c
uip/send.c
uip/sendsbr.c
uip/show.c
uip/slocal.c
uip/sortm.c
uip/viamail.c
uip/whatnowproc.c
uip/whatnowsbr.c
uip/whom.c

index 2b0c709..bce4eb2 100644 (file)
@@ -364,6 +364,7 @@ noinst_HEADERS = \
     mts/smtp/smtp.h \
     sbr/base64.h \
     sbr/ctype-checked.h \
+    sbr/error.h \
     sbr/lock_file.h \
     sbr/m_maildir.h \
     sbr/m_mktemp.h \
index f4fb375..c1c5484 100644 (file)
@@ -16,12 +16,6 @@ char *etcpath(char *) NONNULL(1);
 struct msgs_array;
 
 void add_profile_entry (const char *, const char *);
-void inform(char *fmt, ...) CHECK_PRINTF(1, 2);
-void adios (const char *, const char *, ...) CHECK_PRINTF(2, 3) NORETURN;
-void die(const char *, ...) CHECK_PRINTF(1, 2) NORETURN;
-void admonish (char *, char *, ...) CHECK_PRINTF(2, 3);
-void advertise (const char *, char *, const char *, va_list) CHECK_PRINTF(3, 0);
-void advise (const char *, const char *, ...) CHECK_PRINTF(2, 3);
 char **argsplit (char *, char **, int *) NONNULL(1, 2);
 void argsplit_msgarg (struct msgs_array *, char *, char **) NONNULL(1, 2, 3);
 void argsplit_insert (struct msgs_array *, char *, char **) NONNULL(1, 2, 3);
index f22e738..bdac1e9 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include "smtp.h"
 #include <h/mts.h>
 #include <h/signals.h>
index fe508ba..5b93f70 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/addrsbr.h>
 #include <h/mf.h>
 #include <h/mts.h>
index 3f874f2..b4b2d2c 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 
 void
index 716c8be..ed8dfbc 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 
 /*
index 75e8230..5e17a1f 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/mime.h>
 #include <h/md5.h>
 #include <inttypes.h>
index 592af0c..04d92b3 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 
 /*
index 09bfe30..c502dd2 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 
 /*
index def5096..1049123 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <h/mh.h>                              /* mh internals */
+#include "error.h"
 #include "lock_file.h"
 #include "m_maildir.h"
 #include "makedir.h"
index 154f3f6..9dba8d8 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 
 
index 61aa736..393ebbf 100644 (file)
@@ -12,6 +12,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/signals.h>
 #include "lock_file.h"
 
index 49b9927..cc7f6e5 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 void
 cpydata (int in, int out, const char *ifile, const char *ofile)
index 7d33cf4..73617eb 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 /*
  * We want to perform the substitution
index ab90a4c..b7901b2 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/crawl_folders.h>
 #include <h/utils.h>
 
index c728c52..8d2ed61 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 #include <h/mts.h>
 #include "m_maildir.h"
index f51ed2f..f79c942 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include "h/mh.h"
+#include "error.h"
 #include "h/icalendar.h"
 #include <h/fmt_scan.h>
 #include "h/tws.h"
index 5f2bc8d..58e8c56 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 static void (*altexit)(int) NORETURN = exit;
 
index be74c67..709082f 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/mhparse.h>
 #include <h/addrsbr.h>
 #include <h/utils.h>
index 54d6fac..fd0d783 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 #include <sys/types.h>
 #include <sys/uio.h>
diff --git a/sbr/error.h b/sbr/error.h
new file mode 100644 (file)
index 0000000..a6c7b88
--- /dev/null
@@ -0,0 +1,12 @@
+/* error.h -- main error handling routines
+ *
+ * This code is Copyright (c) 2017, by the authors of nmh.  See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information. */
+
+void inform(char *fmt, ...) CHECK_PRINTF(1, 2);
+void advise(const char *, const char *, ...) CHECK_PRINTF(2, 3);
+void adios(const char *, const char *, ...) CHECK_PRINTF(2, 3) NORETURN;
+void die(const char *, ...) CHECK_PRINTF(1, 2) NORETURN;
+void admonish(char *, char *, ...) CHECK_PRINTF(2, 3);
+void advertise(const char *, char *, const char *, va_list) CHECK_PRINTF(3, 0);
index b88be2d..1ee9c17 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 int
 ext_hook(char *hook_name, char *message_file_name_1, char *message_file_name_2)
index 216b8e7..421876c 100644 (file)
@@ -40,6 +40,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/addrsbr.h>
 #include <h/tws.h>
 #include <h/fmt_scan.h>
index 05da19b..cd7d26b 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 
 #define QUOTE '\\'
index 207692f..0a94817 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/addrsbr.h>
 #include <h/fmt_scan.h>
 #include <h/tws.h>
index 5a78a12..ce25767 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <fcntl.h>
 
 /*
index 43eb0ad..ac5e936 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 #include "m_mktemp.h"
 
index 22c0207..9f00398 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 /*
  * Pack the message in a folder.
index 3b1c63b..7171cb1 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 #include "m_maildir.h"
 
index 8eb2fcc..827d3b1 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 
 /*
index ef30200..0213fa9 100644 (file)
@@ -34,6 +34,7 @@
     */
 
 #include "h/mh.h"
+#include "sbr/error.h"
 #include "h/icalendar.h"
 #include "h/utils.h"
 
index 8f1732b..00f1833 100644 (file)
@@ -14,6 +14,7 @@
  */
  
 #include <h/mh.h>
+#include "error.h"
 #include <h/signals.h>
 #include <h/utils.h>
 #include <h/mts.h>
index 8a86535..3f67b2c 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 
 /*
index 8bfb839..7f24dd8 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 #include "m_maildir.h"
 #include "h/done.h"
index d7ef292..60b263f 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/mts.h>
 #include <h/utils.h>
 #include <inttypes.h>
index 9a1c1a5..79e0c9b 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/signals.h>
 #include "m_popen.h"
 
index 04e5d77..e7c3efa 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include "makedir.h"
 #include <sys/file.h>
 
index 4e3ebbb..6b4f972 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 #include <h/tws.h>
 #include "mime_type.h"
index d67153f..f992364 100644 (file)
--- a/sbr/mts.c
+++ b/sbr/mts.c
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>   /* for snprintf() */
+#include "error.h"
 #include <h/utils.h>
 
 #define nmhetcdir(file) NMHETCDIR#file
index d2abf2f..4f2d84f 100755 (executable)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 #ifdef OAUTH_SUPPORT
 
index 4576c8e..a49b275 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/signals.h>
 #include "h/done.h"
 #include "m_mktemp.h"
index 0b823b9..ff57f85 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 
 struct procstr {
index 3c4d4e2..fea72e2 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 
 
index b15c9e1..c3589a3 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 
 int
index b6fa637..81fd13e 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 #include <pwd.h>
 
index 2641ac4..9688502 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 
 /*
index 0133592..cb4560e 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 
 /*
index 6d219c5..72b37fe 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 
 int
index 9a4b913..a417011 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 #include "lock_file.h"
 
index ac7b53e..30dcbdd 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/signals.h>
 #include "lock_file.h"
 #include "m_mktemp.h"
index 98b22df..703132b 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 
 
 int
index feb3e76..514a7d7 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 #include <h/signals.h>
 #include "m_mktemp.h"
index d21c797..37d1d90 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "error.h"
 #include <h/utils.h>
 
 #define        QUOTE   '\\'
index bcf8c79..6a9078b 100644 (file)
--- a/uip/ali.c
+++ b/uip/ali.c
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/addrsbr.h>
 #include <h/aliasbr.h>
 #include <h/mts.h>
index 21a5987..bc5e14e 100644 (file)
@@ -42,6 +42,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/utils.h>
 #include "h/done.h"
 #include "sbr/m_maildir.h"
index c5ca38b..dd887ff 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/tws.h>
 #include <h/utils.h>
 #include "sbr/lock_file.h"
index 140160c..e320efc 100644 (file)
--- a/uip/ap.c
+++ b/uip/ap.c
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/addrsbr.h>
 #include <h/fmt_scan.h>
 #include <h/mts.h>
index 82822c6..8ed571f 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/utils.h>
 #include <h/mhparse.h>
 #include "h/done.h"
index fb1051e..03f87a3 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/utils.h>
 #include <h/fmt_scan.h>
 #include "h/done.h"
index d2c4887..9bd8911 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/utils.h>
 #include "sbr/m_maildir.h"
 #include <fcntl.h>
index 64b8ae1..baace54 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/utils.h>
 #include "sbr/m_mktemp.h"
index 656440f..e6cfa60 100644 (file)
--- a/uip/dp.c
+++ b/uip/dp.c
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include "h/done.h"
 #include <h/utils.h>
 #include <h/fmt_scan.h>
index cc44c8d..93263de 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <h/nmh.h>
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/utils.h>
 #include <h/dropsbr.h>
 #include <h/mts.h>
index 2372ffc..f1902a3 100644 (file)
@@ -14,6 +14,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/utils.h>
 #include "h/done.h"
 #include "sbr/m_maildir.h"
index 7293e13..808d97b 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/fmt_scan.h>
 #include <h/fmt_compile.h>
 #include <h/scansbr.h>
index 568b559..3e1d1a0 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/fmt_scan.h>
 #include <h/fmt_compile.h>
 #include <h/utils.h>
index 4b8c12f..41eaa2d 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/crawl_folders.h>
 #include "h/done.h"
 #include <h/utils.h>
index 9692ae4..84d10ad 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/tws.h>
 #include "h/done.h"
index 608e255..4c997cb 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/fmt_scan.h>
 #include <h/tws.h>
index e83c25e..200af2b 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/utils.h>
 #include <h/netsec.h>
 #include <stdarg.h>
index 44d6193..a797088 100644 (file)
--- a/uip/inc.c
+++ b/uip/inc.c
@@ -31,6 +31,7 @@
 #endif
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/utils.h>
 #include <fcntl.h>
 #include <h/dropsbr.h>
index f059296..31af64b 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>                              /* mh internals */
+#include "sbr/error.h"
 #include "h/done.h"
 #include <h/utils.h>
 #include "sbr/m_maildir.h"
index 3941e93..57d4586 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include "h/done.h"
 #include <h/utils.h>
 #include "sbr/m_maildir.h"
index d9ad442..4a042e9 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/md5.h>
 #include <h/mts.h>
index b563443..21cd58b 100644 (file)
@@ -14,6 +14,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/md5.h>
 #include <h/mts.h>
index 10f41d8..a7fdf90 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/md5.h>
 #include <h/mts.h>
index 1067f01..5d3a2ce 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/fmt_scan.h>
 #include <h/mime.h>
 #include <h/mhparse.h>
index 561935b..70323ee 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include "h/mh.h"
+#include "sbr/error.h"
 #include "h/icalendar.h"
 #include "sbr/icalparse.h"
 #include <h/fmt_scan.h>
index dd9b6d0..cd3114a 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/md5.h>
index 4a82c5c..d41ec6d 100644 (file)
@@ -10,6 +10,7 @@
 #include <string.h>
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include "h/done.h"
 #include <h/utils.h>
 #include <h/oauth.h>
index bafc7d9..2cc506b 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/signals.h>
 #include <h/addrsbr.h>
 #include <h/fmt_scan.h>
index 559c3cd..c49a4f1 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/mime.h>
 #include <h/mhparse.h>
 #include <h/utils.h>
index 9e50688..866cdf2 100644 (file)
--- a/uip/mhn.c
+++ b/uip/mhn.c
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/md5.h>
index 4a3166f..00aa8df 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/utils.h>
 #include <h/md5.h>
index 21804f4..178520b 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/mts.h>
 #include "h/done.h"
 #include <h/utils.h>
index 9c005bf..5091e97 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/md5.h>
 #include <h/mts.h>
index 3eefb11..884ae42 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include "h/done.h"
 #include <h/utils.h>
 #include "sbr/m_maildir.h"
index e44dd11..85b158e 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/md5.h>
index 2a754a4..3ed6f8b 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/md5.h>
index 66ad91e..e34bbee 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/md5.h>
index f73e68a..e56ff91 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/md5.h>
 #include <h/mts.h>
index 906d21e..226a948 100644 (file)
@@ -120,6 +120,7 @@ build_template(const char *directory, const char *prefix, const char *suffix)
 
 #if NMH
 #include <h/mh.h>
+#include "sbr/error.h"
 #include "h/done.h"
 #include <h/utils.h>
 
index bf95d90..65f0df9 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/mts.h>
 #include <h/tws.h>
 #include "h/done.h"
index d6f524a..b09e1aa 100644 (file)
--- a/uip/new.c
+++ b/uip/new.c
@@ -12,6 +12,7 @@
 #include <sys/types.h>
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/crawl_folders.h>
 #include "h/done.h"
 #include <h/utils.h>
index 8022e38..38d4ac9 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/dropsbr.h>
 #include "h/done.h"
index 967e125..fde8ce6 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/tws.h>
 #include <h/picksbr.h>
 #include "h/done.h"
index 4d4d99a..bd1efb9 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/tws.h>
 #include <h/picksbr.h>
 #include <h/utils.h>
index 1466a2e..81f3db7 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/utils.h>
 #include <h/oauth.h>
 #include <h/netsec.h>
index c2af294..e8b2587 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/addrsbr.h>
index 2c34660..3f049d1 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/signals.h>
 #include "h/done.h"
index e906740..a6742a1 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/fmt_scan.h>
 #include <h/rcvmail.h>
 #include <h/tws.h>
index 086d353..6199e22 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/dropsbr.h>
 #include <h/rcvmail.h>
 #include <h/tws.h>
index e327709..a01c57f 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/mts.h>
index 5f3dd43..5531407 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/signals.h>
 #include <setjmp.h>
 #include <h/rcvmail.h>
index 2552ec6..d14d277 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include "h/done.h"
 #include <h/utils.h>
 #include "sbr/m_maildir.h"
index ffb5484..e4c14f7 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/mime.h>
 #include "h/done.h"
 #include <h/utils.h>
index 2f26c37..76d027f 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/addrsbr.h>
 #include <h/fmt_scan.h>
 #include "h/done.h"
index 38b07a1..7e8d741 100644 (file)
--- a/uip/rmf.c
+++ b/uip/rmf.c
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include "h/done.h"
 #include <h/utils.h>
 #include "sbr/m_maildir.h"
index fc32a52..9f1d60e 100644 (file)
--- a/uip/rmm.c
+++ b/uip/rmm.c
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include "h/done.h"
 #include <h/utils.h>
 #include "sbr/m_maildir.h"
index 60c5ebc..7ad1f7b 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/fmt_scan.h>
 #include <h/scansbr.h>
 #include <h/tws.h>
index a4508c0..17e54cb 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/addrsbr.h>
 #include <h/fmt_scan.h>
 #include <h/scansbr.h>
index dde2029..1401ff1 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include "h/done.h"
 #include <h/utils.h>
index 974bf00..50ca805 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/fmt_scan.h>
 #include <h/fmt_compile.h>
 #include <h/signals.h>
index 3de3a83..c6429ac 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/mime.h>
 #include "h/done.h"
 #include <h/utils.h>
index 8677b3f..8694f44 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/dropsbr.h>
 #include <h/rcvmail.h>
 #include <h/signals.h>
index 75c322a..7954320 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <h/tws.h>
 #include "h/done.h"
 #include <h/utils.h>
index c252054..3324d46 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/md5.h>
 #include <h/mts.h>
index 8a4c372..31f1e39 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include "h/done.h"
 
 
index 2f00ba5..787e015 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include <fcntl.h>
 #include <h/mime.h>
 #include <h/utils.h>
index da34146..d766da9 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <h/mh.h>
+#include "sbr/error.h"
 #include "h/done.h"
 #include <h/utils.h>
 #include <h/signals.h>