commit | 5fb299ec2db8cfa797ee55b4bde18b5dc62e1d6e | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Oct 06 15:44:55 2015 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Oct 06 15:44:55 2015 +0200 |
tree | f0b3f7c8ecf49b2d84dcf12e7d47b2cef4fae31f | |
parent | 904b45fd69320cba2647c8578007060ed17571bc [diff] [blame] |
xpath CHANGE set_free made public
diff --git a/src/xpath.h b/src/xpath.h index 009045b..95f6ef3 100644 --- a/src/xpath.h +++ b/src/xpath.h
@@ -207,4 +207,12 @@ */ int lyxp_eval(const char *expr, struct lyd_node *cur_node, struct lyxp_set **set, uint32_t line); +/** + * @brief Free contents of an XPath \p set. + * + * @param[in] set Set to free. + * @param[in] ctx libyang context to use. + */ +void lyxp_set_free(struct lyxp_set *set, struct ly_ctx *ctx); + #endif /* _XPATH_H */