]> diplodocus.org Git - nmh/blobdiff - h/mts.h
Merge branch 'tmpfiles'
[nmh] / h / mts.h
diff --git a/h/mts.h b/h/mts.h
index a8d795f719f27aac4a1ba047930db2c91f526984..b425e242b015a4125612a5408e03de25ce2cb05f 100644 (file)
--- a/h/mts.h
+++ b/h/mts.h
@@ -16,14 +16,14 @@ extern char *mmdfldir;
 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        UUCPDIR (uucpldir && *uucpldir ? uucpldir : getenv ("HOME"))
-#define        UUCPFIL (uucplfil && *uucplfil ? uucplfil : getusername ())
 
 char *getusername(void);
 char *getfullname(void);
+char *getlocalmbox(void);
 
 /*
  * Separators
@@ -42,16 +42,15 @@ void mts_init (char *);
 /*
  * MTS specific variables
  */
-#if defined (SMTPMTS)
 
-/* whether to speak SMTP to localhost:25 or to /usr/sbin/sendmail */
-#define MTS_SMTP     0
-#define MTS_SENDMAIL 1
+/* 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;
+void save_mts_method (const char *);
 
-extern char *hostable;
 extern char *sendmail;
-#endif
 
 /*
  * SMTP/POP stuff