]> diplodocus.org Git - nmh/blob - h/mts.h
Makefile.am: Add test/inc/test-eom-align to XFAIL_TESTS.
[nmh] / h / mts.h
1 /* mts.h -- definitions for the mail system
2 */
3
4 /*
5 * Local and UUCP Host Name
6 */
7 char *LocalName(int);
8 char *SystemName(void);
9
10 /*
11 * Mailboxes
12 */
13 extern char *mmdfldir;
14 extern char *mmdflfil;
15 extern char *uucpldir;
16 extern char *uucplfil;
17 extern char *spoollocking;
18
19 #define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME"))
20 #define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusername ())
21
22 char *getusername(void);
23 char *getfullname(void);
24 char *getlocalmbox(void);
25
26 /*
27 * Separators
28 */
29 extern char *mmdlm1;
30 extern char *mmdlm2;
31
32 /*
33 * Read mts.conf file
34 */
35 void mts_init (void);
36
37 /*
38 * MTS specific variables
39 */
40
41 /* whether to speak SMTP, and over the network or directly to sendmail */
42 #define MTS_SMTP 0
43 #define MTS_SENDMAIL_SMTP 1
44 #define MTS_SENDMAIL_PIPE 2
45 extern int sm_mts;
46 void save_mts_method (const char *);
47
48 extern char *sendmail;
49
50 /*
51 * SMTP/POP stuff
52 */
53 extern char *clientname;
54 extern char *servers;
55 extern char *pophost;
56
57 /*
58 * Global MailDelivery File
59 */
60 extern char *maildelivery;