Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / support / pop / mmdfII / pop / mts.h
1 /* mts.h - definitions for the mail system */
2
3
4 /* Local and UUCP Host Name */
5
6 char   *LocalName (), *SystemName (), *UucpChan ();
7
8
9 /* Mailboxes */
10
11 extern char *mmdfldir,
12             *mmdflfil,
13             *uucpldir,
14             *uucplfil;
15
16 #define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME"))
17 #define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusr ())
18 #define UUCPDIR (uucpldir && *uucpldir ? uucpldir : getenv ("HOME"))
19 #define UUCPFIL (uucplfil && *uucplfil ? uucplfil : getusr ())
20
21 char   *getusr (), *getfullname ();
22
23 char   *getenv ();
24
25
26 /* Separators */
27
28 extern char *mmdlm1,
29             *mmdlm2;
30
31 #define isdlm1(s)       (strcmp (s, mmdlm1) == 0)
32 #define isdlm2(s)       (strcmp (s, mmdlm2) == 0)
33
34
35 /* Filters */
36
37 extern char *umincproc;
38
39
40 /* Locking Directory */
41
42 #define LOK_UNIX        0
43 #define LOK_BELL        1
44 #define LOK_MMDF        2
45
46 #ifndef MMDFONLY
47 extern int   lockstyle;
48 #endif  MMDFONLY
49 extern char *lockldir;
50
51 int     lkopen (), lkclose ();
52 FILE   *lkfopen ();
53 int     lkfclose ();
54
55 /* \f */
56
57 /* MTS specific variables */
58
59 #ifdef  MHMTS
60 extern char *Mailqdir;
61 extern char *TMailqdir;
62 extern int Syscpy;
63 extern char *Overseer;
64 extern char *Mailer;
65 extern char *Fromtmp;
66 extern char *Msgtmp;
67 extern char *Errtmp;
68 extern int Tmpmode;
69 extern char *Okhosts;
70 extern char *Okdests;
71 #endif  MHMTS
72
73 #ifdef  MMDFMTS
74 #endif  MMDFMTS
75
76 #ifdef  SENDMTS
77 extern char *hostable;
78 extern char *sendmail;
79 #endif SENDMTS
80
81
82 /* SMTP/POP stuff */
83
84 extern char *servers;
85 extern char *pophost;
86
87
88 /* BBoards-specific variables */
89
90 extern char *bb_domain;
91
92
93 /* POP BBoards-specific variables */
94
95 #ifdef  BPOP
96 extern char *popbbhost;
97 extern char *popbbuser;
98 extern char *popbblist;
99 #endif  BPOP
100
101
102 /* MailDelivery */
103
104 extern char *maildelivery;
105
106
107 /* Aliasing Facility (doesn't belong here) */
108
109 extern int Everyone;
110 extern char *NoShell;