New facilities for the MARC module. The reading - and writing of
[yaz-moved-to-github.git] / src / wrbuf.c
index 19c2ce2..47dbe9a 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: wrbuf.c,v 1.9 2005-09-27 17:52:46 adam Exp $
+ * $Id: wrbuf.c,v 1.10 2006-04-19 10:05:03 adam Exp $
  */
 
 /**
@@ -195,6 +195,11 @@ int wrbuf_iconv_write(WRBUF b, yaz_iconv_t cd, const char *buf, int size)
     return wrbuf_iconv_write_x(b, cd, buf, size, 0);
 }
 
+int wrbuf_iconv_puts(WRBUF b, yaz_iconv_t cd, const char *strz)
+{
+    return wrbuf_iconv_write(b, cd, strz, strlen(strz));
+}
+
 int wrbuf_iconv_write_cdata(WRBUF b, yaz_iconv_t cd, const char *buf, int size)
 {
     return wrbuf_iconv_write_x(b, cd, buf, size, 1);