]> diplodocus.org Git - nmh/blobdiff - h/mts.h
lock_file.c: close(2) file descriptor on failure, avoiding leak.
[nmh] / h / mts.h
diff --git a/h/mts.h b/h/mts.h
index 1b8f71b5e983da752acf289ec825bf88132ab110..d0fa4f05c575567681b8117832d8319f4f1caad7 100644 (file)
--- a/h/mts.h
+++ b/h/mts.h
@@ -1,6 +1,4 @@
-
-/*
- * mts.h -- definitions for the mail system
+/* mts.h -- definitions for the mail system
  */
 
 /*
@@ -16,6 +14,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 ())
@@ -27,16 +26,12 @@ char *getlocalmbox(void);
 /*
  * Separators
  */
-extern char *mmdlm1;
-extern char *mmdlm2;
-
-#define        isdlm1(s) (strcmp (s, mmdlm1) == 0)
-#define        isdlm2(s) (strcmp (s, mmdlm2) == 0)
+#define MMDF_DELIM "\001\001\001\001\n"
 
 /*
  * Read mts.conf file
  */
-void mts_init (char *);
+void mts_init (void);
 
 /*
  * MTS specific variables
@@ -62,9 +57,3 @@ extern char *pophost;
  * Global MailDelivery File
  */
 extern char *maildelivery;
-
-/*
- * Aliasing Facility (doesn't belong here)
- */
-extern int Everyone;
-extern char *NoShell;