aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/abstract/MCOConstants.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/objc/abstract/MCOConstants.h')
-rw-r--r--src/objc/abstract/MCOConstants.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/objc/abstract/MCOConstants.h b/src/objc/abstract/MCOConstants.h
new file mode 100644
index 00000000..257b0d68
--- /dev/null
+++ b/src/objc/abstract/MCOConstants.h
@@ -0,0 +1,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