projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Add new function for demo printing hashes
[citadel.git]
/
libcitadel
/
lib
/
hash.c
diff --git
a/libcitadel/lib/hash.c
b/libcitadel/lib/hash.c
index ab7eec1896206b12797b442b4952114414c64285..c1e8d4d422bc16b81295b2802257d9f29a8b45d2 100644
(file)
--- a/
libcitadel/lib/hash.c
+++ b/
libcitadel/lib/hash.c
@@
-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