parser xml NEW rpc/action parsing
Also LYS_RPC added as a separate type.
diff --git a/src/tree_schema_internal.h b/src/tree_schema_internal.h
index 71b673d..c99eb1a 100644
--- a/src/tree_schema_internal.h
+++ b/src/tree_schema_internal.h
@@ -455,7 +455,7 @@
* the given nodetype, LY_EDENIED is returned (and target is provided), but no error message is printed.
* The value can be even an ORed value to allow multiple nodetypes.
* @param[in] implement Flag if the modules mentioned in the nodeid are supposed to be made implemented.
- * @param[out] target Found target node if any. In case of RPC/action input/output node, LYS_ACTION node is actually returned
+ * @param[out] target Found target node if any. In case of RPC/action input/output node, LYS_RPC or LYS_ACTION node is actually returned
* since the input/output has not a standalone node structure and it is part of ::lysc_action which is better compatible with ::lysc_node.
* @param[out] result_flag Output parameter to announce if the schema nodeid goes through the action's input/output or a Notification.
* The LYSC_OPT_RPC_INPUT, LYSC_OPT_RPC_OUTPUT and LYSC_OPT_NOTIFICATION are used as flags.
@@ -493,7 +493,7 @@
/**
* @brief Stringify YANG built-in type.
- * @param[in] basetype Built-in tyep ID to stringify.
+ * @param[in] basetype Built-in type ID to stringify.
* @return Constant string with the name of the built-in type.
*/
const char *lys_datatype2str(LY_DATA_TYPE basetype);
@@ -864,7 +864,6 @@
LY_ERR yin_parse_submodule(struct lys_yin_parser_ctx **yin_ctx, struct ly_ctx *ctx, struct lys_parser_ctx *main_ctx,
const char *data, struct lysp_submodule **submod);
-
/**
* @brief Make the specific module implemented, use the provided value as flag.
*