]> diplodocus.org Git - nmh/blobdiff - h/mts.h
Don't `else' after return. Simplify control flow.
[nmh] / h / mts.h
diff --git a/h/mts.h b/h/mts.h
index 8496c283209cf8c458030ac2de413717f70de73b..aa5cc3d32974d608762e91951139e785f9748865 100644 (file)
--- a/h/mts.h
+++ b/h/mts.h
@@ -16,6 +16,7 @@ extern char *mmdfldir;
 extern char *mmdflfil;
 extern char *uucpldir;
 extern char *uucplfil;
 extern char *mmdflfil;
 extern char *uucpldir;
 extern char *uucplfil;
+extern char *spoollocking;
 
 #define        MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME"))
 #define        MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusername ())
 
 #define        MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME"))
 #define        MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusername ())
@@ -36,17 +37,18 @@ extern char *mmdlm2;
 /*
  * Read mts.conf file
  */
 /*
  * Read mts.conf file
  */
-void mts_init (char *);
+void mts_init (void);
 
 /*
  * MTS specific variables
  */
 
 
 /*
  * MTS specific variables
  */
 
-/* whether to speak SMTP to localhost:25 or to /usr/sbin/sendmail */
-#define MTS_SMTP     0
-#define MTS_SENDMAIL 1
-#define MTS_PIPE     2
+/* whether to speak SMTP, and over the network or directly to sendmail */
+#define MTS_SMTP          0
+#define MTS_SENDMAIL_SMTP 1
+#define MTS_SENDMAIL_PIPE 2
 extern int sm_mts;
 extern int sm_mts;
+void save_mts_method (const char *);
 
 extern char *sendmail;
 
 
 extern char *sendmail;
 
@@ -61,9 +63,3 @@ extern char *pophost;
  * Global MailDelivery File
  */
 extern char *maildelivery;
  * Global MailDelivery File
  */
 extern char *maildelivery;
-
-/*
- * Aliasing Facility (doesn't belong here)
- */
-extern int Everyone;
-extern char *NoShell;