diff options
Diffstat (limited to '')
-rw-r--r-- | src/plugins_exts.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins_exts.h b/src/plugins_exts.h index 74ce215..4cf80b2 100644 --- a/src/plugins_exts.h +++ b/src/plugins_exts.h @@ -109,7 +109,7 @@ extern "C" { /** * @brief Extensions API version */ -#define LYPLG_EXT_API_VERSION 6 +#define LYPLG_EXT_API_VERSION 8 /** * @brief Mask for an operation statement. @@ -393,7 +393,7 @@ struct lysp_stmt { */ struct lysp_ext_substmt { enum ly_stmt stmt; /**< parsed substatement */ - uint64_t storage; /**< (pointer to) the parsed storage of the statement according to the specific + void **storage_p; /**< pointer to the parsed storage of the statement according to the specific lys_ext_substmt::stmt */ }; @@ -419,6 +419,7 @@ struct lysp_ext_instance { parsed data ([sized array](@ref sizedarrays)) */ void *parsed; /**< private plugin parsed data */ struct lysp_stmt *child; /**< list of generic (unknown) YANG statements */ + struct lysp_ext_instance *exts; /**< list of the extension instances ([sized array](@ref sizedarrays)) */ }; /** @@ -426,7 +427,7 @@ struct lysp_ext_instance { */ struct lysc_ext_substmt { enum ly_stmt stmt; /**< compiled substatement */ - uint64_t storage; /**< (pointer to) the compiled storage of the statement according to the specific + void **storage_p; /**< pointer to the compiled storage of the statement according to the specific lys_ext_substmt::stmt */ }; |