-/*
- * Copyright (C) 1995-2008, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
* See the file LICENSE for details.
- *
- * $Id: wrbuf.c,v 1.23 2008-01-30 19:58:25 adam Exp $
*/
/**
return 0;
}
+void wrbuf_vputs(const char *buf, void *client_data)
+{
+ wrbuf_write((WRBUF) client_data, buf, strlen(buf));
+}
+
int wrbuf_puts_replace_char(WRBUF b, const char *buf,
const char from, const char to)
{
void wrbuf_puts_escaped(WRBUF b, const char *str)
{
- return wrbuf_write_escaped(b, str, strlen(str));
+ wrbuf_write_escaped(b, str, strlen(str));
}
void wrbuf_write_escaped(WRBUF b, const char *str, size_t len)