54 |
unsigned int socks_port; |
unsigned int socks_port; |
55 |
}; |
}; |
56 |
|
|
57 |
#if defined(HAVE_TLS) || defined(HAVE_SSL) |
struct assoc { |
58 |
# define USE_SSL |
char *key; |
59 |
#else |
char *value; |
60 |
# undef USE_SSL |
}; |
61 |
#endif |
|
62 |
|
struct message_struct { |
63 |
|
struct list *commands; /* Associative list of SMTP commands */ |
64 |
|
struct list *header; /* Associative list of RFC822 headers */ |
65 |
|
struct list *mime_hdr; /* List of lines before the first boundary marker */ |
66 |
|
char *body; /* Message body */ |
67 |
|
char *boundary; /* Additional data */ |
68 |
|
}; |
69 |
|
|
70 |
#ifdef USE_SSL |
#ifdef USE_SSL |
71 |
struct secure_struct { |
struct secure_struct { |
76 |
char *key; |
char *key; |
77 |
}; |
}; |
78 |
extern struct secure_struct secure; |
extern struct secure_struct secure; |
79 |
#endif |
#endif /* USE_SSL */ |
80 |
|
|
81 |
extern struct options_struct options; |
extern struct options_struct options; |
82 |
extern struct session_struct session; |
extern struct session_struct session; |