parser xml NEW rpc/action parsing

Also LYS_RPC added as a separate type.
diff --git a/src/tree_data_internal.h b/src/tree_data_internal.h
index e064b06..acfb6a6 100644
--- a/src/tree_data_internal.h
+++ b/src/tree_data_internal.h
@@ -258,7 +258,7 @@
  * @param[out] tree Parsed data tree. Note that NULL can be a valid result.
  * @return LY_ERR value.
  */
-LY_ERR lyd_parse_xml_data(struct ly_ctx *ctx, const char *data, int options, struct lyd_node **tree);
+LY_ERR lyd_parse_xml_data(const struct ly_ctx *ctx, const char *data, int options, struct lyd_node **tree);
 
 /**
  * @brief Parse XML string as YANG RPC/action invocation.
@@ -275,7 +275,7 @@
  * @param[out] op Pointer to the actual operation. Useful mainly for action.
  * @return LY_ERR value.
  */
-//LY_ERR lyd_parse_xml_rpc(struct ly_ctx *ctx, const char *data, struct lyd_node **tree, struct lyd_node **op);
+LY_ERR lyd_parse_xml_rpc(const struct ly_ctx *ctx, const char *data, struct lyd_node **tree, struct lyd_node **op);
 
 /**
  * @defgroup datahash Data nodes hash manipulation