]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/zotnet/mts/RCS/mts.h,v
sbr/mts.c: Delete mmdlm2; use same-valued mmdlm1 instead.
[nmh] / docs / historical / mh-6.8.5 / zotnet / mts / RCS / mts.h,v
1 head 1.3;
2 access;
3 symbols;
4 locks; strict;
5 comment @ * @;
6
7
8 1.3
9 date 93.09.01.20.55.05; author jromine; state Exp;
10 branches;
11 next 1.2;
12
13 1.2
14 date 92.05.12.21.47.34; author jromine; state Exp;
15 branches;
16 next 1.1;
17
18 1.1
19 date 92.02.10.17.57.36; author jromine; state Exp;
20 branches;
21 next ;
22
23
24 desc
25 @@
26
27
28 1.3
29 log
30 @add clientname tailor option
31 @
32 text
33 @/* mts.h - definitions for the mail system */
34
35
36 /* Local and UUCP Host Name */
37
38 char *LocalName (), *SystemName (), *UucpChan ();
39
40
41 /* Mailboxes */
42
43 extern char *mmdfldir,
44 *mmdflfil,
45 *uucpldir,
46 *uucplfil;
47
48 #define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME"))
49 #define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusr ())
50 #define UUCPDIR (uucpldir && *uucpldir ? uucpldir : getenv ("HOME"))
51 #define UUCPFIL (uucplfil && *uucplfil ? uucplfil : getusr ())
52
53 char *getusr (), *getfullname ();
54
55 char *getenv ();
56
57
58 /* Separators */
59
60 extern char *mmdlm1,
61 *mmdlm2;
62
63 #define isdlm1(s) (strcmp (s, mmdlm1) == 0)
64 #define isdlm2(s) (strcmp (s, mmdlm2) == 0)
65
66
67 /* Filters */
68
69 extern char *umincproc;
70
71
72 /* Locking Directory */
73
74 #define LOK_UNIX 0
75 #define LOK_BELL 1
76 #define LOK_MMDF 2
77
78 #ifndef MMDFONLY
79 extern int lockstyle;
80 #endif /* MMDFONLY */
81 extern char *lockldir;
82
83 int lkopen (), lkclose ();
84 FILE *lkfopen ();
85 int lkfclose ();
86
87 /* \f */
88
89 /* MTS specific variables */
90
91 #ifdef MHMTS
92 extern char *Mailqdir;
93 extern char *TMailqdir;
94 extern int Syscpy;
95 extern char *Overseer;
96 extern char *Mailer;
97 extern char *Fromtmp;
98 extern char *Msgtmp;
99 extern char *Errtmp;
100 extern int Tmpmode;
101 extern char *Okhosts;
102 extern char *Okdests;
103 #endif /* MHMTS */
104
105 #ifdef MMDFMTS
106 #endif /* MMDFMTS */
107
108 #ifdef SENDMTS
109 extern char *hostable;
110 extern char *sendmail;
111 #endif /* SENDMTS */
112
113
114 /* SMTP/POP stuff */
115
116 extern char *clientname;
117 extern char *servers;
118 extern char *pophost;
119
120
121 /* BBoards-specific variables */
122
123 extern char *bb_domain;
124
125
126 /* POP BBoards-specific variables */
127
128 #ifdef BPOP
129 extern char *popbbhost;
130 extern char *popbbuser;
131 extern char *popbblist;
132 #endif /* BPOP */
133
134
135 /* MailDelivery */
136
137 extern char *maildelivery;
138
139
140 /* Aliasing Facility (doesn't belong here) */
141
142 extern int Everyone;
143 extern char *NoShell;
144 @
145
146
147 1.2
148 log
149 @fix ifdefs
150 @
151 text
152 @d84 1
153 @
154
155
156 1.1
157 log
158 @Initial revision
159 @
160 text
161 @d48 1
162 a48 1
163 #endif MMDFONLY
164 d71 1
165 a71 1
166 #endif MHMTS
167 d74 1
168 a74 1
169 #endif MMDFMTS
170 d79 1
171 a79 1
172 #endif SENDMTS
173 d99 1
174 a99 1
175 #endif BPOP
176 @