/** \brief writes (append) buffer to WRBUF */
YAZ_EXPORT int wrbuf_write(WRBUF b, const char *buf, int size);
-/** \brief appends C-string to WRBUF */
+/** \brief appends C-string to WRBUF (returns int) */
YAZ_EXPORT int wrbuf_puts(WRBUF b, const char *buf);
+/** \brief appends C-string to WRBUF (void) */
+YAZ_EXPORT int wrbuf_put(WRBUF b, const char *buf);
/** \brief writes buffer to WRBUF and XML encode (as CDATA) */
YAZ_EXPORT int wrbuf_xmlputs_n(WRBUF b, const char *cp, int size);
return 0;
}
+void wrbug_put(WRBUF b, const char *buf)
+{
+ wrbuf_write(b, buf, strlen(buf));
+}
+
int wrbuf_puts_replace_char(WRBUF b, const char *buf,
const char from, const char to)
{