-
Notifications
You must be signed in to change notification settings - Fork 1
/
VESmail.h
81 lines (71 loc) · 2.5 KB
/
VESmail.h
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/***************************************************************************
* _____
* |\ | > VESmail
* | \ | > ___ ___ Email Encryption made Convenient and Reliable
* | \ | > / \ / \ https://vesmail.email
* | / | > \__ / \ __/
* | / | > \\ // - RFC5322 MIME Stream Encryption & Decryption
* |/____| > \\ // - IMAP4rev1 Transparent Proxy Server
* ___ \\_// - ESMTP Transparent Proxy Server
* / \ / \ - VES Encryption Key Exchange & Recovery
* \__ / \ __/
* \\ // _____ ______________by______________
* \\ // > |\ |
* \\_// > | \ | VESvault
* / \ > | \ | Encrypt Everything
* \___/ > | / | without fear of losing the Key
* > | / | https://vesvault.com
* > |/____| https://ves.host
*
* (c) 2020 VESvault Corp
* Jim Zubov <jz@vesvault.com>
*
* GNU General Public License v3
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
***************************************************************************/
struct VESmail;
struct libVES;
#ifdef HAVE_CONFIG_H
#ifndef PACKAGE_VERSION
#include "config.h"
#endif
#endif
#ifdef PACKAGE_VERSION
#define VESMAIL_VERSION PACKAGE_VERSION
#else
#define VESMAIL_VERSION "1.67"
#endif
#define VESMAIL_SHORT_NAME "VESmail"
#define VESMAIL_VES_DOMAIN "vesmail"
#define VESMAIL_E_OK 0
#define VESMAIL_E_PARAM -1
#define VESMAIL_E_BUF -2
#define VESMAIL_E_VES -3
#define VESMAIL_E_IO -4
#define VESMAIL_E_UNKNOWN -5
#define VESMAIL_E_AUTH -6
#define VESMAIL_E_CONF -7
#define VESMAIL_E_DENIED -8
#define VESMAIL_E_RESOLV -16
#define VESMAIL_E_CONN -17
#define VESMAIL_E_TLS -18
#define VESMAIL_E_SASL -19
#define VESMAIL_E_RELAY -20
#define VESMAIL_E_ABUSE -21
#define VESMAIL_E_OVRD -22
#define VESMAIL_E_RAUTH -31
#define VESMAIL_E_INTERNAL -32
#define VESMAIL_E_HOLD -100
#define VESMAIL_DEBUG_LIBVES 4
#ifdef VESMAIL_MT
#include "mt.h"
#endif
/*
libVESmail interface calls to be defined here
*/