X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fmarcdisp.h;h=752de41ebc920c2a144b5e4c6d50046cb2123991;hp=3c98b5b81ee27735f7cf4ce797cfd175dbd3198c;hb=4c1a14ddb2c650b935bc8dff4dc3f8a98ff7531c;hpb=d0ef47f9201e7316a04f8b1c9d8e7799d9eb8d8a diff --git a/include/yaz/marcdisp.h b/include/yaz/marcdisp.h index 3c98b5b..752de41 100644 --- a/include/yaz/marcdisp.h +++ b/include/yaz/marcdisp.h @@ -441,14 +441,16 @@ YAZ_EXPORT void yaz_opac_decode_wrbuf2(yaz_marc_t mt, Z_OPACRecord *r, #if YAZ_HAVE_XML2 /** \brief Converts XML to OPAC \param mt marc handle - \param src XML root node (presumably opacRecord node) + \param buf_in XML buffer + \param size_in size of XML buffer \param dst Z39.50 OPAC result - allocated by NMEM on marc handle \param cd iconv handle for the OPAC content (not ISO2709 part) \param nmem memory for OPACRecord (if NULL, mt NMEM memory is used) \retval 1 conversion OK \retval 0 conversion NOT OK \*/ -YAZ_EXPORT int yaz_xml_to_opac(yaz_marc_t mt, xmlNode *src, +YAZ_EXPORT int yaz_xml_to_opac(yaz_marc_t mt, + const char *buf_in, size_t size_in, Z_OPACRecord **dst, yaz_iconv_t cd, NMEM nmem); #endif