YAZ_EXPORT void yaz_query2xml(const Z_Query *q, xmlDocPtr *docp);
YAZ_EXPORT void yaz_rpnquery2xml(const Z_RPNQuery *rpn, xmlDocPtr *docp);
YAZ_EXPORT void yaz_xml2query(const xmlNode *xmlnodep, Z_Query **query,
ODR odr, int *error_code, const char **addinfo);
YAZ_EXPORT void yaz_query2xml(const Z_Query *q, xmlDocPtr *docp);
YAZ_EXPORT void yaz_rpnquery2xml(const Z_RPNQuery *rpn, xmlDocPtr *docp);
YAZ_EXPORT void yaz_xml2query(const xmlNode *xmlnodep, Z_Query **query,
ODR odr, int *error_code, const char **addinfo);