API compatibility report for the libyang.so object between 4.2.2 and 5.0.0 versions on x86_64


Binary
Compatibility
Source
Compatibility

Test Info


Module Namelibyang.so
Version #14.2.2
Version #25.0.0
Archx86_64
GCC Version15.2.1
SubjectBinary Compatibility

Test Results


Total Header Files18
Total Source Files29
Total Objects1
Total Symbols / Types369 / 194
Compatibility 74.1%

Problem Summary


SeverityCount
Added Symbols-4
Removed SymbolsHigh10
Problems with
Data Types
High0
Medium3
Low10
Problems with
Symbols
High26
Medium6
Low7
Problems with
Constants
Low0

Added Symbols  4 


log.h, libyang.so.5.0.0
ly_temp_log_clb ( ly_log_clb clb )

parser_data.h, libyang.so.5.0.0
lyd_parse_value_fragment ( struct ly_ctx const* ctx, char const* path, struct ly_in* in, enum LYD_FORMAT format, uint32_t new_val_options, uint32_t parse_options, uint32_t validate_options, struct lyd_node** tree )

tree_data.h, libyang.so.5.0.0
ly_pattern_free ( void* pat_comp )

tree_schema.h, libyang.so.5.0.0
lys_find_module ( struct ly_ctx const* ctx, struct lysc_node const* ctx_node, char const* prefix, uint32_t prefix_len, enum LY_VALUE_FORMAT format, void const* prefix_data )

to the top

Removed Symbols  10 


parser_data.h, libyang.so.4.2.2
lyd_parse_ext_data ( struct lysc_ext_instance const* ext, struct lyd_node* parent, struct ly_in* in, enum LYD_FORMAT format, uint32_t parse_options, uint32_t validate_options, struct lyd_node** tree )
lyd_parse_ext_op ( struct lysc_ext_instance const* ext, struct lyd_node* parent, struct ly_in* in, enum LYD_FORMAT format, enum lyd_type data_type, uint32_t parse_options, struct lyd_node** tree, struct lyd_node** op )

plugins_exts.h, libyang.so.4.2.2
lyplg_ext_insert ( struct lyd_node* parent, struct lyd_node* first )

plugins_types.h, libyang.so.4.2.2
lyplg_type_identity_module ( struct ly_ctx const* ctx, struct lysc_node const* ctx_node, char const* prefix, uint32_t prefix_len, enum LY_VALUE_FORMAT format, void const* prefix_data )

tree_data.h, libyang.so.4.2.2
lyd_new_ext_any ( struct lysc_ext_instance const* ext, char const* name, void const* value, enum LYD_ANYDATA_VALUETYPE value_type, uint32_t options, struct lyd_node** node )
lyd_new_ext_inner ( struct lysc_ext_instance const* ext, char const* name, struct lyd_node** node )
lyd_new_ext_list ( struct lysc_ext_instance const* ext, char const* name, uint32_t options, struct lyd_node** node, ... )
lyd_new_ext_path ( struct lyd_node* parent, struct lysc_ext_instance const* ext, char const* path, char const* value, uint32_t options, struct lyd_node** node )
lyd_new_ext_term ( struct lysc_ext_instance const* ext, char const* name, void const* value, uint32_t value_size_bits, uint32_t options, struct lyd_node** node )

tree_schema.h, libyang.so.4.2.2
lys_getnext_ext ( struct lysc_node const* last, struct lysc_node const* parent, struct lysc_ext_instance const* ext, uint32_t options )

to the top

Problems with Symbols, High Severity  26 


context.h, libyang.so.4.2.2
[+] ly_ctx_new ( char const* search_dir, uint32_t options, struct ly_ctx** new_ctx )  1 
[+] ly_ctx_unset_searchdir ( struct ly_ctx* ctx, char const* value )  2 

parser_data.h, libyang.so.4.2.2
[+] lyd_parse_data ( struct ly_ctx const* ctx, struct lyd_node* parent, struct ly_in* in, enum LYD_FORMAT format, uint32_t parse_options, uint32_t validate_options, struct lyd_node** tree )  1 
[+] lyd_validate_ext ( struct lyd_node** ext_tree, struct lysc_ext_instance const* ext, uint32_t val_opts, struct lyd_node const* dep_tree, struct lyd_node** diff )  1 
[+] lyd_validate_op ( struct lyd_node* op_tree, struct lyd_node const* dep_tree, enum lyd_type data_type, struct lyd_node** diff )  1 

plugins_types.h, libyang.so.4.2.2
[+] lyplg_type_lypath_new ( struct ly_ctx const* ctx, char const* value, uint32_t value_len, uint32_t options, enum LY_VALUE_FORMAT format, void* prefix_data, struct lysc_node const* ctx_node, struct lysc_ext_instance const* top_ext, struct lys_glob_unres* unres, struct ly_path** path, struct ly_err_item** err )  1 
[+] lyplg_type_resolve_leafref ( struct lysc_type_leafref const* lref, struct lyd_node const* node, struct lyd_value* value, struct lyd_node const* tree, struct lysc_ext_instance const* top_ext, struct ly_set** targets, char** errmsg )  1 
[+] lyplg_type_store_string ( struct ly_ctx const* ctx, struct lysc_type const* type, void const* value, uint32_t value_size_bits, uint32_t options, enum LY_VALUE_FORMAT format, void* UNUSED_prefix_data, uint32_t hints, struct lysc_node const* UNUSED_ctx_node, struct lysc_ext_instance const* UNUSED_top_ext, struct lyd_value* storage, struct lys_glob_unres* UNUSED_unres, struct ly_err_item** err )  1 

tree_data.h, libyang.so.4.2.2
[+] ly_pattern_match ( struct ly_ctx const* ctx, char const* pattern, char const* string, uint32_t str_len, pcre2_code_8** pcode )  2 
[+] lyd_any_value_str ( struct lyd_node const* any, char** value_str )  1 
[+] lyd_find_sibling_val ( struct lyd_node const* siblings, struct lysc_node const* schema, char const* key_or_value, uint32_t val_len, struct lyd_node** match )  1 
[+] lyd_insert_child ( struct lyd_node* parent, struct lyd_node* node )  1 
[+] lyd_new_any ( struct lyd_node* parent, struct lys_module const* module, char const* name, void const* value, enum LYD_ANYDATA_VALUETYPE value_type, uint32_t options, struct lyd_node** node )  1 
[+] lyd_new_list2 ( struct lyd_node* parent, struct lys_module const* module, char const* name, char const* keys, uint32_t options, struct lyd_node** node )  2 
[+] lyd_new_list3 ( struct lyd_node* parent, struct lys_module const* module, char const* name, void const** key_values, uint32_t* value_sizes_bits, uint32_t options, struct lyd_node** node )  1 
[+] lyd_new_path ( struct lyd_node* parent, struct ly_ctx const* ctx, char const* path, char const* value, uint32_t options, struct lyd_node** node )  2 

tree_schema.h, libyang.so.4.2.2
[+] lys_find_child ( struct lysc_node const* parent, struct lys_module const* module, char const* name, size_t name_len, uint16_t nodetype, uint32_t options )  6 

to the top

Problems with Data Types, Medium Severity  3 


plugins_exts.h
[+] struct lyplg_ext  1 
[+] struct lyplg_ext_record  1 

tree_data.h
[+] struct lyd_value_union  1 

to the top

Problems with Symbols, Medium Severity  6 


log.h, libyang.so.4.2.2
[+] ly_err_print ( struct ly_ctx const* ctx, struct ly_err_item const* eitem )  2 

tree_data.h, libyang.so.4.2.2
[+] lyd_dup_siblings ( struct lyd_node const* node, struct lyd_node_inner* parent, uint32_t options, struct lyd_node** dup )  1 
[+] lyd_dup_siblings_to_ctx ( struct lyd_node const* node, struct ly_ctx const* trg_ctx, struct lyd_node_inner* parent, uint32_t options, struct lyd_node** dup )  1 
[+] lyd_dup_single ( struct lyd_node const* node, struct lyd_node_inner* parent, uint32_t options, struct lyd_node** dup )  1 
[+] lyd_dup_single_to_ctx ( struct lyd_node const* node, struct ly_ctx const* trg_ctx, struct lyd_node_inner* parent, uint32_t options, struct lyd_node** dup )  1 

to the top

Problems with Data Types, Low Severity  10 


plugins_exts.h
[+] struct lyplg_ext  2 
[+] struct lyplg_ext_record  1 
[+] typedef lyplg_ext_data_snode_clb  1 

plugins_types.h
[+] typedef lyplg_type_store_clb  1 
[+] typedef lyplg_type_validate_tree_clb  1 

tree_data.h
[+] struct anon-struct-tree_data.h-848  1 
[+] struct anon-struct-tree_data.h-985  1 
[+] struct lyd_node  1 
[+] struct lyd_value_union  1 

to the top

Problems with Symbols, Low Severity  7 


context.h, libyang.so.4.2.2
[+] ly_ctx_unset_searchdir ( struct ly_ctx* ctx, char const* value )  1 

parser_data.h, libyang.so.4.2.2
[+] lyd_validate_ext ( struct lyd_node** ext_tree, struct lysc_ext_instance const* ext, uint32_t val_opts, struct lyd_node const* dep_tree, struct lyd_node** diff )  1 

tree_data.h, libyang.so.4.2.2
[+] ly_pattern_compile ( struct ly_ctx const* ctx, char const* pattern, pcre2_code_8** pcode )  2 
[+] ly_pattern_match ( struct ly_ctx const* ctx, char const* pattern, char const* string, uint32_t str_len, pcre2_code_8** pcode )  2 
[+] lyd_any_copy_value ( struct lyd_node* trg, union lyd_any_value const* value, enum LYD_ANYDATA_VALUETYPE value_type )  1 

to the top

Header Files  18 


context.h
dict.h
hash_table.h
in.h
log.h
metadata.h
out.h
parser_data.h
parser_schema.h
plugins.h
plugins_exts.h
plugins_types.h
printer_data.h
printer_schema.h
set.h
tree.h
tree_data.h
tree_schema.h

to the top

Source Files  29 


bits.c
context.c
dict.c
diff.c
hash_table.c
in.c
instanceid.c
log.c
out.c
plugins.c
plugins_exts.c
plugins_types.c
printer_data.c
printer_schema.c
printer_yang.c
schema_features.c
schema_mount.c
set.c
string.c
tree_data.c
tree_data_common.c
tree_data_free.c
tree_data_new.c
tree_schema.c
tree_schema_common.c
tree_schema_free.c
validation.c
xpath.c
xpath1.0.c

to the top

Objects  1 


libyang.so.4.2.2

to the top



Test Info


Module Namelibyang.so
Version #14.2.2
Version #25.0.0
Archx86_64
SubjectSource Compatibility

Test Results


Total Header Files18
Total Source Files29
Total Objects1
Total Symbols / Types369 / 194
Compatibility 56.5%

Problem Summary


SeverityCount
Added Symbols-4
Removed SymbolsHigh10
Problems with
Data Types
High1
Medium3
Low4
Problems with
Symbols
High10
Medium6
Low3
Problems with
Constants
Low0
Other Changes
in Symbols
-4

Added Symbols  4 


log.h
ly_temp_log_clb ( ly_log_clb clb )

parser_data.h
lyd_parse_value_fragment ( struct ly_ctx const* ctx, char const* path, struct ly_in* in, enum LYD_FORMAT format, uint32_t new_val_options, uint32_t parse_options, uint32_t validate_options, struct lyd_node** tree )

tree_data.h
ly_pattern_free ( void* pat_comp )

tree_schema.h
lys_find_module ( struct ly_ctx const* ctx, struct lysc_node const* ctx_node, char const* prefix, uint32_t prefix_len, enum LY_VALUE_FORMAT format, void const* prefix_data )

to the top

Removed Symbols  10 


parser_data.h
lyd_parse_ext_data ( struct lysc_ext_instance const* ext, struct lyd_node* parent, struct ly_in* in, enum LYD_FORMAT format, uint32_t parse_options, uint32_t validate_options, struct lyd_node** tree )
lyd_parse_ext_op ( struct lysc_ext_instance const* ext, struct lyd_node* parent, struct ly_in* in, enum LYD_FORMAT format, enum lyd_type data_type, uint32_t parse_options, struct lyd_node** tree, struct lyd_node** op )

plugins_exts.h
lyplg_ext_insert ( struct lyd_node* parent, struct lyd_node* first )

plugins_types.h
lyplg_type_identity_module ( struct ly_ctx const* ctx, struct lysc_node const* ctx_node, char const* prefix, uint32_t prefix_len, enum LY_VALUE_FORMAT format, void const* prefix_data )

tree_data.h
lyd_new_ext_any ( struct lysc_ext_instance const* ext, char const* name, void const* value, enum LYD_ANYDATA_VALUETYPE value_type, uint32_t options, struct lyd_node** node )
lyd_new_ext_inner ( struct lysc_ext_instance const* ext, char const* name, struct lyd_node** node )
lyd_new_ext_list ( struct lysc_ext_instance const* ext, char const* name, uint32_t options, struct lyd_node** node, ... )
lyd_new_ext_path ( struct lyd_node* parent, struct lysc_ext_instance const* ext, char const* path, char const* value, uint32_t options, struct lyd_node** node )
lyd_new_ext_term ( struct lysc_ext_instance const* ext, char const* name, void const* value, uint32_t value_size_bits, uint32_t options, struct lyd_node** node )

tree_schema.h
lys_getnext_ext ( struct lysc_node const* last, struct lysc_node const* parent, struct lysc_ext_instance const* ext, uint32_t options )

to the top

Problems with Data Types, High Severity  1 


tree_data.h
[+] struct lyd_value_union  1 

to the top

Problems with Symbols, High Severity  10 


parser_data.h
[+] lyd_validate_ext ( struct lyd_node** ext_tree, struct lysc_ext_instance const* ext, uint32_t val_opts, struct lyd_node const* dep_tree, struct lyd_node** diff )  1 

plugins_types.h
[+] lyplg_type_lypath_new ( struct ly_ctx const* ctx, char const* value, uint32_t value_len, uint32_t options, enum LY_VALUE_FORMAT format, void* prefix_data, struct lysc_node const* ctx_node, struct lysc_ext_instance const* top_ext, struct lys_glob_unres* unres, struct ly_path** path, struct ly_err_item** err )  1 
[+] lyplg_type_resolve_leafref ( struct lysc_type_leafref const* lref, struct lyd_node const* node, struct lyd_value* value, struct lyd_node const* tree, struct lysc_ext_instance const* top_ext, struct ly_set** targets, char** errmsg )  1 
[+] lyplg_type_store_string ( struct ly_ctx const* ctx, struct lysc_type const* type, void const* value, uint32_t value_size_bits, uint32_t options, enum LY_VALUE_FORMAT format, void* UNUSED_prefix_data, uint32_t hints, struct lysc_node const* UNUSED_ctx_node, struct lysc_ext_instance const* UNUSED_top_ext, struct lyd_value* storage, struct lys_glob_unres* UNUSED_unres, struct ly_err_item** err )  1 

tree_schema.h
[+] lys_find_child ( struct lysc_node const* parent, struct lys_module const* module, char const* name, size_t name_len, uint16_t nodetype, uint32_t options )  6 

to the top

Problems with Data Types, Medium Severity  3 


tree_data.h
[+] struct anon-struct-tree_data.h-848  1 
[+] struct anon-struct-tree_data.h-985  1 
[+] struct lyd_node  1 

to the top

Problems with Symbols, Medium Severity  6 


log.h
[+] ly_err_print ( struct ly_ctx const* ctx, struct ly_err_item const* eitem )  2 

tree_data.h
[+] lyd_dup_siblings ( struct lyd_node const* node, struct lyd_node_inner* parent, uint32_t options, struct lyd_node** dup )  1 
[+] lyd_dup_siblings_to_ctx ( struct lyd_node const* node, struct ly_ctx const* trg_ctx, struct lyd_node_inner* parent, uint32_t options, struct lyd_node** dup )  1 
[+] lyd_dup_single ( struct lyd_node const* node, struct lyd_node_inner* parent, uint32_t options, struct lyd_node** dup )  1 
[+] lyd_dup_single_to_ctx ( struct lyd_node const* node, struct ly_ctx const* trg_ctx, struct lyd_node_inner* parent, uint32_t options, struct lyd_node** dup )  1 

to the top

Problems with Data Types, Low Severity  4 


plugins_exts.h
[+] struct lyplg_ext  1 
[+] typedef lyplg_ext_data_snode_clb  1 

plugins_types.h
[+] typedef lyplg_type_store_clb  1 
[+] typedef lyplg_type_validate_tree_clb  1 

to the top

Problems with Symbols, Low Severity  3 


tree_data.h
[+] ly_pattern_compile ( struct ly_ctx const* ctx, char const* pattern, pcre2_code_8** pcode )  1 
[+] ly_pattern_match ( struct ly_ctx const* ctx, char const* pattern, char const* string, uint32_t str_len, pcre2_code_8** pcode )  1 
[+] lyd_any_copy_value ( struct lyd_node* trg, union lyd_any_value const* value, enum LYD_ANYDATA_VALUETYPE value_type )  1 

to the top

Other Changes in Symbols  4 


context.h
[+] ly_ctx_unset_searchdir ( struct ly_ctx* ctx, char const* value )  1 

parser_data.h
[+] lyd_validate_ext ( struct lyd_node** ext_tree, struct lysc_ext_instance const* ext, uint32_t val_opts, struct lyd_node const* dep_tree, struct lyd_node** diff )  1 

tree_data.h
[+] ly_pattern_compile ( struct ly_ctx const* ctx, char const* pattern, pcre2_code_8** pcode )  1 
[+] ly_pattern_match ( struct ly_ctx const* ctx, char const* pattern, char const* string, uint32_t str_len, pcre2_code_8** pcode )  1 

to the top

Header Files  18 


context.h
dict.h
hash_table.h
in.h
log.h
metadata.h
out.h
parser_data.h
parser_schema.h
plugins.h
plugins_exts.h
plugins_types.h
printer_data.h
printer_schema.h
set.h
tree.h
tree_data.h
tree_schema.h

to the top

Source Files  29 


bits.c
context.c
dict.c
diff.c
hash_table.c
in.c
instanceid.c
log.c
out.c
plugins.c
plugins_exts.c
plugins_types.c
printer_data.c
printer_schema.c
printer_yang.c
schema_features.c
schema_mount.c
set.c
string.c
tree_data.c
tree_data_common.c
tree_data_free.c
tree_data_new.c
tree_schema.c
tree_schema_common.c
tree_schema_free.c
validation.c
xpath.c
xpath1.0.c

to the top

Objects  1 


libyang.so.4.2.2

to the top