]> code.citadel.org Git - citadel.git/blobdiff - citadel/citadel.h
Prepared some of the authmode stuff for the imminent addition
[citadel.git] / citadel / citadel.h
index e7381e077b46fc548067f12b3d266be6dfcc3649..1a759e4ffd6c47e730e3f2289f74b9502f824499 100644 (file)
@@ -47,9 +47,9 @@ extern "C" {
  * usually more strict because you're not really supposed to dump/load and
  * upgrade at the same time.
  */
-#define REV_LEVEL      724             /* This version */
+#define REV_LEVEL      725             /* This version */
 #define REV_MIN                591             /* Oldest compatible database */
-#define EXPORT_REV_MIN 722             /* Oldest compatible export files */
+#define EXPORT_REV_MIN 725             /* Oldest compatible export files */
 
 #define SERVER_TYPE 0                  /* zero for stock Citadel; other developers please
                                           obtain SERVER_TYPE codes for your implementations */
@@ -284,6 +284,12 @@ enum {
 #define VIEW_CALBRIEF          7       /* Brief Calendar view */
 #define VIEW_JOURNAL           8       /* Journal view (not yet implemented in native clients) */
 
+/*
+ * Authentication modes
+ */
+#define AUTHMODE_NATIVE                0       /* native Citadel authentication */
+#define AUTHMODE_HOST          1       /* host integrated */
+
 #ifdef __cplusplus
 }
 #endif