X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fwrbuf.h;h=47fd7c7847710b93b1a94fa4d3e983170348b211;hb=20d2c2d674de4b78f90de2356537a4ea542aeeac;hp=56a40233f22c1bc42864f26aa9cc3ab3055706e3;hpb=d38ee71c31b49ad13164039140ed47d18e9432cb;p=yaz-moved-to-github.git diff --git a/include/yaz/wrbuf.h b/include/yaz/wrbuf.h index 56a4023..47fd7c7 100644 --- a/include/yaz/wrbuf.h +++ b/include/yaz/wrbuf.h @@ -24,7 +24,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: wrbuf.h,v 1.26 2007-03-20 21:37:31 adam Exp $ */ +/* $Id: wrbuf.h,v 1.27 2007-09-17 19:14:26 adam Exp $ */ /** * \file wrbuf.h @@ -94,6 +94,9 @@ YAZ_EXPORT const char *wrbuf_cstr(WRBUF b); (((b)->pos >= (b)->size ? wrbuf_grow(b, 1) : 0), \ (b)->buf[(b)->pos++] = (c), 0) +/** \brief put readable string in WRBUF from raw input */ +YAZ_EXPORT void wrbuf_verbose_str(WRBUF b, const char *str, size_t len); + YAZ_END_CDECL #endif