projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make json_write_wrbuf available
[yaz-moved-to-github.git]
/
src
/
wrbuf.c
diff --git
a/src/wrbuf.c
b/src/wrbuf.c
index
06e49de
..
67de45e
100644
(file)
--- a/
src/wrbuf.c
+++ b/
src/wrbuf.c
@@
-79,6
+79,12
@@
void wrbuf_puts(WRBUF b, const char *buf)
wrbuf_write(b, buf, strlen(buf));
}
+void wrbuf_vp_puts(const char *buf, void *client_data)
+{
+ WRBUF b = (WRBUF) client_data;
+ wrbuf_puts(b, buf);
+}
+
void wrbuf_puts_replace_char(WRBUF b, const char *buf,
const char from, const char to)
{