summaryrefslogtreecommitdiff
path: root/esmtp.h
diff options
context:
space:
mode:
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);
+