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