X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fwrbuf.c;h=47dbe9ae29aa2e729b60456b70f5e0c3fec87911;hp=19c2ce2b8d29ca4660b3bac1f30e6fc846b3d20d;hb=626ee9b09c95c3585c432623c042872b0d1fea92;hpb=78322aa6cb73f75c5772bd58c59fffef52597991 diff --git a/src/wrbuf.c b/src/wrbuf.c index 19c2ce2..47dbe9a 100644 --- a/src/wrbuf.c +++ b/src/wrbuf.c @@ -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);