*/
-#define LIBCITADEL_VERSION_NUMBER 102
+
+/*
+ * since we reference time_t...
+ */
+#include <time.h>
+
+#define LIBCITADEL_VERSION_NUMBER 105
/*
* Here's a bunch of stupid magic to make the MIME parser portable.
/*
- * Views
+ * View definitions.
+ * Note that not all views are implemented in all clients.
*/
#define VIEW_BBS 0 /* Bulletin board view */
#define VIEW_MAILBOX 1 /* Mailbox summary */
#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) */
+#define VIEW_JOURNAL 8 /* Journal view */
#ifndef IsEmptyStr
int dont_decode
);
+const char *GuessMimeType(char *data, size_t dlen);
+const char* GuessMimeByFilename(const char *what, size_t len);
+
/* tools */