diff options
author | José Fonseca <jrfonseca@users.sourceforge.net> | 2003-02-11 00:09:16 +0000 |
---|---|---|
committer | José Fonseca <jrfonseca@users.sourceforge.net> | 2003-02-11 00:09:16 +0000 |
commit | fb836eb1e24d9d1f2e39aea9909fc5e0a7e595d3 (patch) | |
tree | 573a30710b9f66eb90b2a1e95b14e09774a0ab82 /esmtp.h | |
parent | e70f6ebca12dd63941d02c73797dfb68deb65f20 (diff) |
Support for identities and custom configuration files based on patch by Jerome
<freejazz@gmx.fr>. Respective documentation updates.
The use of '=' in the configuration file was made optional.
Diffstat (limited to 'esmtp.h')
-rw-r--r-- | esmtp.h | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -0,0 +1,30 @@ +/* + * esmtp.h - global declarations + */ + +typedef struct { + char *identity; + char *host; + char *user; + char *pass; + enum starttls_option starttls; /* it should default to Starttls_DISABLED */ + char *certificate_passphrase; +} identity_t; + +extern identity_t default_identity; + +typedef struct identity_list_rec identity_list_t; + +struct identity_list_rec { + identity_list_t *next; + identity_t identity; +} ; + +extern identity_list_t *identities_head, **identities_tail; + + +extern char *rcfile; + + +extern void parse_rcfile(void); + |