]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/libcitadel.h
* HashLittle() function
[citadel.git] / libcitadel / lib / libcitadel.h
index 85d4d330c0a8c64ecee2a41df1bdbd48b94f9a40..cffb7bfbb12d3c840953fc746570cfdcdfaced21 100644 (file)
@@ -15,7 +15,7 @@
 #include <time.h>
 #include <stdlib.h>
 #include <stdarg.h>
-#define LIBCITADEL_VERSION_NUMBER      743
+#define LIBCITADEL_VERSION_NUMBER      760
 
 /*
  * Here's a bunch of stupid magic to make the MIME parser portable.
@@ -118,7 +118,7 @@ void mime_parser(char *content_start, char *content_end,
                        void *cbuserdata),
                void *userdata,
                int dont_decode
-               );
+);
 
 
 
@@ -387,6 +387,7 @@ long StrBufUnescape(StrBuf *Buf, int StripBlanks);
  * Hash list implementation for Citadel
  */
 #define HKEY(a) a, (sizeof(a) - 1)
+
 typedef struct HashList HashList;
 
 typedef struct HashKey HashKey;
@@ -424,6 +425,7 @@ const void *GetSearchPayload(const void *HashVoid);
 void SortByPayload(HashList *Hash, CompareFunc SortBy);
 void generic_free_handler(void *ptr);
 void reference_free_handler(void *ptr);
+int HashLittle(const void *key, size_t length);
 
 
 void convert_spaces_to_underscores(char *str);