| ---
tsmtpd.h (1109B)
---
1 enum {
2 ACCEPT = 0,
3 REFUSED,
4 DENIED,
5 DIALUP,
6 BLOCKED,
7 DELAY,
8 TRUSTED,
9 NONE,
10
11 MAXREJECTS = 100
12 };
13
14
15 typedef struct Link Link;
16 typedef struct List List;
17
18 struct Link {
19 Link *next;
20 String *p;
21 };
22
23 struct List {
24 Link *first;
25 Link *last;
26 };
27
28 extern int fflag;
29 extern int rflag;
30 extern int sflag;
31
32 extern int debug;
33 extern NetConnInfo *nci;
34 extern char *dom;
35 extern char* me;
36 extern int trusted;
37 extern List senders;
38 extern List rcvers;
39
40 void addbadguy(char*);
41 void auth(String *, String *);
42 int blocked(String*);
43 void data(void);
44 char* dumpfile(char*);
45 int forwarding(String*);
46 void getconf(void);
47 void hello(String*, int extended);
48 void help(String *);
49 int isbadguy(void);
50 void listadd(List*, String*);
51 void listfree(List*);
52 int masquerade(String*, char*);
53 void noop(void);
54 int optoutofspamfilter(char*);
55 void quit(void);
56 void parseinit(void);
57 void receiver(String*);
58 int recipok(char*);
59 int reply(char*, ...);
60 void reset(void);
61 int rmtdns(char*, char*);
62 void sayhi(void);
63 void sender(String*);
64 void starttls(void);
65 void turn(void);
66 void verify(String*);
67 void vfysenderhostok(void);
68 int zzparse(void); |