- Add new function for demo printing hashes
[citadel.git] / libcitadel / lib / hash.c
index ab7eec1896206b12797b442b4952114414c64285..c1e8d4d422bc16b81295b2802257d9f29a8b45d2 100644 (file)
@@ -162,6 +162,10 @@ int PrintHash(HashList *Hash, TransitionFunc Trans, PrintHashDataFunc PrintEntry
        return i;
 }
 
+const char *dbg_PrintStrBufPayload(const char *Key, void *Item, int Odd)
+{
+       return ChrPtr((StrBuf*)Item);
+}
 
 /**
  * @ingroup HashListDebug