X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fzebra_xpath.h;h=3ab9f6c6e7298690a9899a2df202f6f86e98dd45;hp=d09bf16a151c0031924358328a4981a58512af5c;hb=86702aad7008abed6afef80feed08b3e4e1cbcd1;hpb=26a5a4b96b90361859cf856d6c41852b03ca2f84 diff --git a/include/zebra_xpath.h b/include/zebra_xpath.h index d09bf16..3ab9f6c 100644 --- a/include/zebra_xpath.h +++ b/include/zebra_xpath.h @@ -3,6 +3,8 @@ #ifndef ZEBRA_XPATH_H #define ZEBRA_XPATH_H +#include + #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 + */ +