projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dont use <literal> for non-literal terms. Fix sources list description
[idzebra-moved-to-github.git]
/
include
/
zebra_xpath.h
diff --git
a/include/zebra_xpath.h
b/include/zebra_xpath.h
index
d09bf16
..
3ab9f6c
100644
(file)
--- a/
include/zebra_xpath.h
+++ b/
include/zebra_xpath.h
@@
-3,6
+3,8
@@
#ifndef ZEBRA_XPATH_H
#define ZEBRA_XPATH_H
#ifndef ZEBRA_XPATH_H
#define ZEBRA_XPATH_H
+#include <yaz/nmem.h>
+
#define XPATH_STEP_COUNT 10
struct xpath_predicate {
int which;
#define XPATH_STEP_COUNT 10
struct xpath_predicate {
int which;
@@
-27,9
+29,19
@@
struct xpath_location_step {
struct xpath_predicate *predicate;
};
struct xpath_predicate *predicate;
};
-int parse_xpath_str(const char *xpath_string,
- struct xpath_location_step *xpath, NMEM mem);
+int zebra_parse_xpath_str(const char *xpath_string,
+ struct xpath_location_step *xpath,
+ int max, NMEM mem);
void dump_xp_steps (struct xpath_location_step *xpath, int no);
void dump_xp_steps (struct xpath_location_step *xpath, int no);
+
#endif
#endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+