/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2008 Index Data
+ * Copyright (C) 1995-2009 Index Data
* See the file LICENSE for details.
*/
return 0;
}
-void wrbug_put(WRBUF b, const char *buf)
+void wrbuf_vputs(const char *buf, void *client_data)
{
- wrbuf_write(b, buf, strlen(buf));
+ wrbuf_write((WRBUF) client_data, buf, strlen(buf));
}
int wrbuf_puts_replace_char(WRBUF b, const char *buf,
{
if (cd)
{
- char outbuf[16];
+ char outbuf[128];
size_t inbytesleft = size;
const char *inp = buf;
while (inbytesleft)
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab