X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fxmlquery.h;h=7eb13ef04339501044326b8b1d0dc5e1f9703646;hb=37287b6049ca23d7fa8e84f532eefa7e35f66520;hp=ff5d5fb7b562a1d314e1c675beea86b9e0179e35;hpb=3086f0e19e38428814c7da92fcaf21eba2bc9a64;p=yaz-moved-to-github.git diff --git a/include/yaz/xmlquery.h b/include/yaz/xmlquery.h index ff5d5fb..7eb13ef 100644 --- a/include/yaz/xmlquery.h +++ b/include/yaz/xmlquery.h @@ -1,10 +1,14 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: xmlquery.h,v 1.2 2006-01-30 14:02:06 adam Exp $ + * $Id: xmlquery.h,v 1.4 2006-04-20 20:50:51 adam Exp $ */ +/** \file xmlquery.h + \brief Query / XML conversions +*/ + #ifndef YAZ_XMLQUERY_H #define YAZ_XMLQUERY_H @@ -16,6 +20,9 @@ YAZ_BEGIN_CDECL YAZ_EXPORT void yaz_query2xml(const Z_Query *q, void *docp_void); YAZ_EXPORT void yaz_rpnquery2xml(const Z_RPNQuery *rpn, void *docp_void); +YAZ_EXPORT void yaz_xml2query(const void *xmlnodep, Z_Query **query, ODR odr, + int *error_code, const char **addinfo); + YAZ_END_CDECL #endif