X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fwrbuf.c;h=67de45e5cf9c1d69bca221141ae6cd296a9d765a;hp=06e49de2c9955fd74135cbbbe7718c85c02b3bab;hb=38d2e7b4d30b060d3b6dc85e0e3f57c4930c6313;hpb=fcdccb3e9a757d41e1bdf6c18c2b3bdb2314ca3f diff --git a/src/wrbuf.c b/src/wrbuf.c index 06e49de..67de45e 100644 --- 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) {