xpath UPDATE store axis for atomized schema nodes
diff --git a/src/xpath.h b/src/xpath.h
index 8215f8f..a711d94 100644
--- a/src/xpath.h
+++ b/src/xpath.h
@@ -274,6 +274,7 @@
a predicate and this scnode was used/will be used later */
int32_t in_ctx; /**< Flag specifies the state of the node in context. Values are defined
as LYXP_SET_SCNODE_* */
+ enum lyxp_axis axis; /**< Axis defines on what axis was this schema node reached. */
} *scnodes; /**< Set of compiled YANG data nodes. */
struct lyxp_set_meta {
struct lyd_meta *meta; /**< Node that provides information about metadata of a data element. */
@@ -397,19 +398,6 @@
void lyxp_set_free_content(struct lyxp_set *set);
/**
- * @brief Insert schema node into set.
- *
- * @param[in] set Set to insert into.
- * @param[in] node Node to insert.
- * @param[in] node_type Node type of @p node.
- * @param[out] index_p Optional pointer to store index if the inserted @p node.
- * @return LY_SUCCESS on success.
- * @return LY_EMEM on memory allocation failure.
- */
-LY_ERR lyxp_set_scnode_insert_node(struct lyxp_set *set, const struct lysc_node *node, enum lyxp_node_type node_type,
- uint32_t *index_p);
-
-/**
* @brief Check for duplicates in a schema node set.
*
* @param[in] set Set to check.