summaryrefslogtreecommitdiff
path: root/esmtp.h
blob: 7c61e9ae3a4df5d1d4a4712d35872d50a6712d4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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);