aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/abstract/MCOConstants.h
blob: 257b0d6808abc8392b7331f4e5204a94d77ed1d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __MAILCORE_MCOCONSTANTS_H_

#define __MAILCORE_MCOCONSTANTS_H_

typedef enum {
    MCOConnectionTypeClear             = 1 << 0,
    MCOConnectionTypeStartTLS          = 1 << 1,
    MCOConnectionTypeTLS               = 1 << 2,
} MCOConnectionType;

typedef enum {
    MCOAuthTypeSASLNone          = 0,
    MCOAuthTypeSASLCRAMMD5       = 1 << 0,
    MCOAuthTypeSASLPlain         = 1 << 1,
    MCOAuthTypeSASLGSSAPI        = 1 << 2,
    MCOAuthTypeSASLDIGESTMD5     = 1 << 3,
    MCOAuthTypeSASLLogin         = 1 << 4,
    MCOAuthTypeSASLSRP           = 1 << 5,
    MCOAuthTypeSASLNTLM          = 1 << 6,
    MCOAuthTypeSASLKerberosV4    = 1 << 7,
} MCOAuthType;

#endif