X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fsrw.h;h=766281839233b126cf50c93f0dd1196ecaceeda9;hp=a81581ba6931c262ff23c2cc47ddde73671d7a4c;hb=c9e4ad355f2f30b98fa129d9f63d00f70b56652d;hpb=3f36e04a60f21ed11fbb7bdb32923cffcb519f2f diff --git a/include/yaz/srw.h b/include/yaz/srw.h index a81581b..7662818 100644 --- a/include/yaz/srw.h +++ b/include/yaz/srw.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: srw.h,v 1.35 2007-08-23 14:23:23 adam Exp $ */ +/* $Id: srw.h,v 1.36 2007-09-09 05:54:45 adam Exp $ */ /** * \file srw.h @@ -277,6 +277,13 @@ YAZ_EXPORT char *yaz_negotiate_sru_version(char *input_ver); YAZ_EXPORT int yaz_srw_check_content_type(Z_HTTP_Response *hres); +YAZ_EXPORT +int sru_decode_surrogate_diagnostics(const char *buf, size_t len, + Z_SRW_diagnostic **diag, + int *num, ODR odr); + + + YAZ_END_CDECL #endif