VIEW_ definitions are now in libcitadel.h
[citadel.git] / libcitadel / lib / libcitadel.h
index 66c1134ccffba0f718306e58dbd76944f91fef97..d74e80afb2870668c857db2c2032d18885e83606 100644 (file)
@@ -3,6 +3,9 @@
  *
  */
 
+
+#define LIBCITADEL_VERSION_NUMBER      101
+
 /*
  * Here's a bunch of stupid magic to make the MIME parser portable.
  */
 #define SIZ    4096
 #endif
 
+
+/*
+ * Views
+ */
+#define        VIEW_BBS                0       /* Bulletin board view */
+#define VIEW_MAILBOX           1       /* Mailbox summary */
+#define VIEW_ADDRESSBOOK       2       /* Address book view */
+#define VIEW_CALENDAR          3       /* Calendar view */
+#define VIEW_TASKS             4       /* Tasks view */
+#define VIEW_NOTES             5       /* Notes view */
+#define        VIEW_WIKI               6       /* Wiki view */
+#define VIEW_CALBRIEF          7       /* Brief Calendar view */
+#define VIEW_JOURNAL           8       /* Journal view (not yet implemented in native clients) */
+
+
 #ifndef IsEmptyStr
 #define IsEmptyStr(a) ((a)[0] == '\0')
 #endif
@@ -19,6 +37,7 @@
  */
 
 char *libcitadel_version_string(void);
+int libcitadel_version_number(void);
 
 
 /*