X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fwrbuf.c;h=47dbe9ae29aa2e729b60456b70f5e0c3fec87911;hb=3ee7ef4088b265faffbdcabe3eb13d5f04a3b832;hp=19c2ce2b8d29ca4660b3bac1f30e6fc846b3d20d;hpb=323dd612ee1939e8082fa75edcd1083a238d5272;p=yaz-moved-to-github.git 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);