d2ce2192a272accd662b0d6aa1dcc1009ef80079
[yaz-moved-to-github.git] / include / yaz / xmlquery.h
1 /*
2  * Copyright (C) 1995-2005, Index Data ApS
3  * See the file LICENSE for details.
4  *
5  * $Id: xmlquery.h,v 1.3 2006-02-19 18:44:23 adam Exp $
6  */
7
8 #ifndef YAZ_XMLQUERY_H
9 #define YAZ_XMLQUERY_H
10
11 #include <yaz/yconfig.h>
12 #include <yaz/proto.h>
13
14 YAZ_BEGIN_CDECL
15
16 YAZ_EXPORT void yaz_query2xml(const Z_Query *q, void *docp_void);
17 YAZ_EXPORT void yaz_rpnquery2xml(const Z_RPNQuery *rpn, void *docp_void);
18
19 YAZ_EXPORT void yaz_xml2query(const void *xmlnodep, Z_Query **query, ODR odr,
20                               int *error_code, const char **addinfo);
21
22 YAZ_END_CDECL
23
24 #endif
25 /*
26  * Local variables:
27  * c-basic-offset: 4
28  * indent-tabs-mode: nil
29  * End:
30  * vim: shiftwidth=4 tabstop=8 expandtab
31  */
32