projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
For Libxml2 and friends, YAZ defines YAZ_HAVE_{XML2,XSLT,EXSLT) in
[yaz-moved-to-github.git]
/
include
/
yaz
/
xmlquery.h
diff --git
a/include/yaz/xmlquery.h
b/include/yaz/xmlquery.h
index
7eb13ef
..
6456f0b
100644
(file)
--- a/
include/yaz/xmlquery.h
+++ b/
include/yaz/xmlquery.h
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2006, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2006, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: xmlquery.h,v 1.4 2006-04-20 20:50:51 adam Exp $
+ * $Id: xmlquery.h,v 1.5 2006-07-06 10:17:52 adam Exp $
*/
/** \file xmlquery.h
*/
/** \file xmlquery.h
@@
-12,13
+12,16
@@
#ifndef YAZ_XMLQUERY_H
#define YAZ_XMLQUERY_H
#ifndef YAZ_XMLQUERY_H
#define YAZ_XMLQUERY_H
+#if YAZ_HAVE_XML2
#include <yaz/yconfig.h>
#include <yaz/proto.h>
#include <yaz/yconfig.h>
#include <yaz/proto.h>
+#include <libxml/parser.h>
+
YAZ_BEGIN_CDECL
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_query2xml(const Z_Query *q, xmlDocPtr *docp);
+YAZ_EXPORT void yaz_rpnquery2xml(const Z_RPNQuery *rpn, xmlDocPtr *docp);
YAZ_EXPORT void yaz_xml2query(const void *xmlnodep, Z_Query **query, ODR odr,
int *error_code, const char **addinfo);
YAZ_EXPORT void yaz_xml2query(const void *xmlnodep, Z_Query **query, ODR odr,
int *error_code, const char **addinfo);
@@
-26,6
+29,8
@@
YAZ_EXPORT void yaz_xml2query(const void *xmlnodep, Z_Query **query, ODR odr,
YAZ_END_CDECL
#endif
YAZ_END_CDECL
#endif
+#endif
+
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4