]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/libcitadel.h
THIS IS 1.05
[citadel.git] / libcitadel / lib / libcitadel.h
index 73813738dd053d3cbc7196fd40a4f5b717f97d32..ce76ac61b1b82d2d767e00092ef5342884700cfa 100644 (file)
@@ -4,7 +4,13 @@
  */
 
 
-#define LIBCITADEL_VERSION_NUMBER      103
+
+/*
+ * 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.
@@ -168,6 +174,9 @@ void the_mime_parser(char *partnum,
                      int dont_decode
 );
 
+const char *GuessMimeType(char *data, size_t dlen);
+const char* GuessMimeByFilename(const char *what, size_t len);
+
 
 
 /* tools */