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