summaryrefslogtreecommitdiff
path: root/esmtp.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@users.sourceforge.net>2003-02-11 00:09:16 +0000
committerJosé Fonseca <jrfonseca@users.sourceforge.net>2003-02-11 00:09:16 +0000
commitfb836eb1e24d9d1f2e39aea9909fc5e0a7e595d3 (patch)
tree573a30710b9f66eb90b2a1e95b14e09774a0ab82 /esmtp.h
parente70f6ebca12dd63941d02c73797dfb68deb65f20 (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.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/esmtp.h b/esmtp.h
new file mode 100644
index 0000000..7c61e9a
--- /dev/null
+++ b/esmtp.h
@@ -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);
+