]> diplodocus.org Git - nmh/blobdiff - h/mts.h
Implement OAuth 2.0 [1] for XOAUTH2 in SMTP [2] and POP3 [3].
[nmh] / h / mts.h
diff --git a/h/mts.h b/h/mts.h
index c1c345719a066a486c569f848324b38b4be3a61d..14266d24253a5d0c44ba60d7000f7cd68b3503c2 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 *spoollocking;
 
 #define        MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME"))
 #define        MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusername ())
@@ -42,10 +43,12 @@ void mts_init (char *);
  * MTS specific variables
  */
 
-/* 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 *sendmail;
 
@@ -60,9 +63,3 @@ extern char *pophost;
  * Global MailDelivery File
  */
 extern char *maildelivery;
-
-/*
- * Aliasing Facility (doesn't belong here)
- */
-extern int Everyone;
-extern char *NoShell;