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
Fix compilation on systems where Libxml2 does not exist
[yaz-moved-to-github.git]
/
include
/
yaz
/
nfaxml.h
diff --git
a/include/yaz/nfaxml.h
b/include/yaz/nfaxml.h
index
582f9e7
..
8ddb0a2
100644
(file)
--- a/
include/yaz/nfaxml.h
+++ b/
include/yaz/nfaxml.h
@@
-1,6
+1,6
@@
/* Copyright (C) 2006, Index Data ApS
* See the file LICENSE for details.
/* Copyright (C) 2006, Index Data ApS
* See the file LICENSE for details.
- * $Id: nfaxml.h,v 1.1 2006-07-04 12:59:56 heikki Exp $
+ * $Id: nfaxml.h,v 1.3 2006-07-06 07:45:07 adam Exp $
*/
/**
*/
/**
@@
-39,13
+39,8
@@
#include <yaz/log.h>
#include <yaz/nfa.h>
#include <yaz/log.h>
#include <yaz/nfa.h>
-#if HAVE_XML2
-#include <libxml/parser.h>
-
YAZ_BEGIN_CDECL
YAZ_BEGIN_CDECL
-
-
/** \brief Parse the NFA from a XML document
*
* \param doc the xml tree to parse
/** \brief Parse the NFA from a XML document
*
* \param doc the xml tree to parse
@@
-59,7
+54,7
@@
YAZ_BEGIN_CDECL
* call xmlGetLastError() to get the details of the error.
*
*/
* call xmlGetLastError() to get the details of the error.
*
*/
-yaz_nfa *yaz_nfa_parse_xml_doc(xmlDocPtr doc);
+yaz_nfa *yaz_nfa_parse_xml_doc(void *xmlDocPtr);
/** \brief Parse the NFA from a file
/** \brief Parse the NFA from a file
@@
-76,13
+71,11
@@
yaz_nfa *yaz_nfa_parse_xml_doc(xmlDocPtr doc);
* care.
*
*/
* care.
*
*/
-yaz_nfa *yaz_nfa_parse_xml_file(char *filepath);
+yaz_nfa *yaz_nfa_parse_xml_file(const char *filepath);
YAZ_END_CDECL
YAZ_END_CDECL
-#endif /* HAVE_XML2 */
-
#endif /* YAZ_NFA_XML_H */
/*
#endif /* YAZ_NFA_XML_H */
/*