]> diplodocus.org Git - nmh/blobdiff - uip/viamail.c
client.c: Move interface to own file.
[nmh] / uip / viamail.c
index 7d9214e60d3efa53ccf7d4232ba290a68142343f..6001183b698d42a9e34b76069ccffd50fee1d596 100644 (file)
@@ -5,15 +5,21 @@
  * complete copyright information.
  */
 
-#include <h/mh.h>
+#include "h/mh.h"
+#include "sbr/context_find.h"
+#include "sbr/ambigsw.h"
+#include "sbr/print_version.h"
+#include "sbr/print_help.h"
+#include "sbr/arglist.h"
+#include "sbr/error.h"
 #include <fcntl.h>
-#include <h/md5.h>
-#include <h/mts.h>
-#include <h/tws.h>
-#include <h/mime.h>
-#include <h/mhparse.h>
+#include "h/md5.h"
+#include "h/mts.h"
+#include "h/tws.h"
+#include "h/mime.h"
+#include "h/mhparse.h"
 #include "h/done.h"
-#include <h/utils.h>
+#include "h/utils.h"
 #include "sbr/m_mktemp.h"
 #include "sbr/base64.h"
 
@@ -41,7 +47,7 @@ DEFINE_SWITCH_ARRAY(VIAMAIL, switches);
 
 extern int debugsw;
 extern int splitsw;
-extern int verbsw;
+extern bool verbsw;
 
 /*
  * static prototypes
@@ -117,10 +123,10 @@ main (int argc, char **argv)
                continue;
 
            case VERBSW: 
-               verbsw = 1;
+               verbsw = true;
                continue;
            case NVERBSW: 
-               verbsw = 0;
+               verbsw = false;
                continue;
 
            case DEBUGSW: