X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fwrbuf.h;h=5ba50c39a89108ae0f72a526730bf674dfa535f0;hb=2788a4851b551e1a3efb320a2878b809f2d8a9d7;hp=2ebc3effec89fdff736683715357711ac735b36f;hpb=a7bff1cefa274c110b80458cba718db5ed0fd97d;p=yaz-moved-to-github.git diff --git a/include/yaz/wrbuf.h b/include/yaz/wrbuf.h index 2ebc3ef..5ba50c3 100644 --- a/include/yaz/wrbuf.h +++ b/include/yaz/wrbuf.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data. + * Copyright (C) 1995-2009 Index Data. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -60,7 +60,7 @@ YAZ_EXPORT int wrbuf_write(WRBUF b, const char *buf, int size); /** \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); +YAZ_EXPORT void wrbuf_vputs(const char *buf, void *client_data); /** \brief writes buffer to WRBUF and XML encode (as CDATA) */ YAZ_EXPORT int wrbuf_xmlputs_n(WRBUF b, const char *cp, int size);