Put local variables footer in all c, h files.
[idzebra-moved-to-github.git] / include / zebra_xpath.h
index d09bf16..3ab9f6c 100644 (file)
@@ -3,6 +3,8 @@
 #ifndef ZEBRA_XPATH_H
 #define ZEBRA_XPATH_H
 
+#include <yaz/nmem.h>
+
 #define XPATH_STEP_COUNT 10
 struct xpath_predicate {
     int which;
@@ -27,9 +29,19 @@ struct xpath_location_step {
     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);
 
+
 #endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+