}
+/*
+ * This exposes the hashlittle() function to consumers.
+ */
+int HashLittle(const void *key, size_t length) {
+ return (int)hashlittle(key, length, 1);
+}
* Hash list implementation for Citadel
*/
#define HKEY(a) a, (sizeof(a) - 1)
+
typedef struct HashList HashList;
typedef struct HashKey HashKey;
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);