libsysrepo.so: 5.6.67 to 6.4.19 compatibility report
Description: API/ABI compatibility report for the libsysrepo.so object between 5.6.67 and 6.4.19 versions
Keywords: libsysrepo.so, compatibility, API, ABI, report

# API compatibility report for the libsysrepo.so object between 5.6.67 and 6.4.19 versions on x86_64

Binary
Compatibility Source
Compatibility

## Test Info

Module Name | libsysrepo.so
Version #1 | 5.6.67
Version #2 | 6.4.19
Arch | x86_64
GCC Version | 11.2.1
Subject | Binary Compatibility

## Test Results

Total Header Files | 3
Total Objects | 1
Total Symbols / Types | 114 / 41
Compatibility | 76.3%

## Problem Summary

| Severity | Count
--- | --- | ---
Added Symbols | - | 38
Removed Symbols | High | 10
Problems with Data Types | High | 0
Medium | 2
Low | 6
Problems with Symbols | High | 1
Medium | 10
Low | 1
Problems with Constants | Low | 0

## Added Symbols 38

sysrepo.h, libsysrepo.so.6.4.19
sr_check_module_ds_access ( sr_conn_ctx_t* conn, char const* module_name, int mod_ds, int* read, int* write )
sr_discard_oper_changes ( sr_conn_ctx_t* conn, sr_session_ctx_t* session, char const* xpath, uint32_t timeout_ms )
sr_event_notif_sub_get_info ( sr_subscription_ctx_t* subscription, uint32_t sub_id, char const** module_name, char const** xpath, time_t* start_time, time_t* stop_time, uint32_t* filtered_out )
sr_event_notif_sub_modify_stop_time ( sr_subscription_ctx_t* subscription, uint32_t sub_id, time_t stop_time )
sr_event_notif_sub_modify_xpath ( sr_subscription_ctx_t* subscription, uint32_t sub_id, char const* xpath )
sr_get_content_id ( sr_conn_ctx_t* conn )
sr_get_error_data ( sr_error_info_err_t* err, uint32_t idx, uint32_t* size, void const** data )
sr_get_module_ds_access ( sr_conn_ctx_t* conn, char const* module_name, int mod_ds, char** owner, char** group, mode_t* perm )
sr_get_su_uid ( )
sr_install_module_custom_ds ( sr_conn_ctx_t* conn, char const* schema_path, char const* search_dirs, char const** features, sr_module_ds_t const* module_ds )
sr_module_change_sub_get_info ( sr_subscription_ctx_t* subscription, uint32_t sub_id, char const** module_name, char const** xpath, uint32_t* filtered_out )
sr_module_change_sub_modify_xpath ( sr_subscription_ctx_t* subscription, uint32_t sub_id, char const* xpath )
sr_notif_sub_get_info ( sr_subscription_ctx_t* subscription, uint32_t sub_id, char const** module_name, char const** xpath, struct timespec* start_time, struct timespec* stop_time, uint32_t* filtered_out )
sr_notif_sub_modify_stop_time ( sr_subscription_ctx_t* subscription, uint32_t sub_id, struct timespec const* stop_time )
sr_notif_subscribe ( sr_session_ctx_t* session, char const* module_name, char const* xpath, struct timespec const* start_time, struct timespec const* stop_time, void(*callback)(struct sr_session_ctx_s*, unsigned int, ,char const*, struct sr_val_s const*, unsigned long const, struct timespec*, void*), void* private_data, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
sr_notif_subscribe_tree ( sr_session_ctx_t* session, char const* module_name, char const* xpath, struct timespec const* start_time, struct timespec const* stop_time, void(*callback)(struct sr_session_ctx_s*, unsigned int, ,struct lyd_node const*, struct timespec*, void*), void* private_data, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
sr_oper_delete_item_str ( sr_session_ctx_t* session, char const* path, char const* value, sr_edit_options_t const opts )
sr_session_del_orig_data ( sr_session_ctx_t* session )
sr_session_dup_error ( sr_session_ctx_t* src_session, sr_session_ctx_t* trg_session )
sr_session_get_error ( sr_session_ctx_t* session, sr_error_info_t const** error_info )
sr_session_get_orig_data ( sr_session_ctx_t* session, uint32_t idx, uint32_t* size, void const** data )
sr_session_get_orig_name ( sr_session_ctx_t* session )
sr_session_push_error_data ( sr_session_ctx_t* session, uint32_t size, void const* data )
sr_session_push_orig_data ( sr_session_ctx_t* session, uint32_t size, void const* data )
sr_session_set_error_format ( sr_session_ctx_t* session, char const* error_format )
sr_session_set_error_message ( sr_session_ctx_t* session, char const* format, ... )
sr_session_set_orig_name ( sr_session_ctx_t* session, char const* orig_name )
sr_session_unsubscribe ( sr_session_ctx_t* session )
sr_set_module_ds_access ( sr_conn_ctx_t* conn, char const* module_name, int mod_ds, char const* owner, char const* group, mode_t perm )
sr_subscription_get_last_sub_id ( sr_subscription_ctx_t const* subscription )
sr_subscription_get_suspended ( sr_subscription_ctx_t* subscription, uint32_t sub_id, int* suspended )
sr_subscription_process_events ( sr_subscription_ctx_t* subscription, sr_session_ctx_t* session, struct timespec* stop_time_in )
sr_subscription_resume ( sr_subscription_ctx_t* subscription, uint32_t sub_id )
sr_subscription_suspend ( sr_subscription_ctx_t* subscription, uint32_t sub_id )
sr_subscription_thread_resume ( sr_subscription_ctx_t* subscription )
sr_subscription_thread_suspend ( sr_subscription_ctx_t* subscription )
sr_unsubscribe_sub ( sr_subscription_ctx_t* subscription, uint32_t sub_id )
srplg_log ( char const* plg_name, char const* format, ... )
to the top

## Removed Symbols 10

sysrepo.h, libsysrepo.so.5.6.67
sr_event_notif_sub_id_get_last ( sr_subscription_ctx_t const* subscription )
sr_event_notif_sub_resume ( sr_subscription_ctx_t* subscription, uint32_t sub_id )
sr_event_notif_sub_suspend ( sr_subscription_ctx_t* subscription, uint32_t sub_id )
sr_get_error ( sr_session_ctx_t* session, sr_error_info_t const** error_info )
sr_session_get_event_nc_id ( sr_session_ctx_t* session )
sr_session_get_event_sr_id ( sr_session_ctx_t* session )
sr_session_get_event_user ( sr_session_ctx_t* session )
sr_session_get_nc_id ( sr_session_ctx_t* session )
sr_session_set_nc_id ( sr_session_ctx_t* session, uint32_t nc_sid )
sr_set_error ( sr_session_ctx_t* session, char const* path, char const* format, ... )
to the top

## Problems with Symbols, High Severity 1

sysrepo.h, libsysrepo.so.5.6.67
[+] sr_get_lock ( sr_conn_ctx_t* conn, sr_datastore_t datastore, char const* module_name, int* is_locked, uint32_t* id, uint32_t* nc_id, time_t* timestamp ) 1
⇣
sr_get_lock ( sr_conn_ctx_t* conn, char const* module_name, int* is_locked, uint32_t* id, struct timespec* timestamp )

| Change | Effect
--- | --- | ---
1 | 6th middle parameter nc_id has been removed from the calling stack. | Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications.

to the top

## Problems with Data Types, Medium Severity 2

sysrepo.h
[+] struct sr_val_s 1

| Change | Effect
--- | --- | ---
1 | Type of field dflt has been changed from _Bool (1 byte) to int (4 bytes). | This field may be incorrectly initialized or accessed by applications.

[+] affected symbols: 25 (21.9%)
sr_dup_val ( sr_val_t const* value, sr_val_t** value_dup_p )
1st parameter 'value' (pointer) has base type 'struct sr_val_s'.
sr_dup_values ( sr_val_t const* values, size_t count, sr_val_t** values_dup_p )
1st parameter 'values' (pointer) has base type 'struct sr_val_s'.
sr_event_notif_send ( sr_session_ctx_t* session, char const* path, sr_val_t const* values, size_t const values_cnt )
3rd parameter 'values' (pointer) has base type 'struct sr_val_s'.
sr_free_val ( sr_val_t* value )
1st parameter 'value' (pointer) has base type 'struct sr_val_s'.
sr_free_values ( sr_val_t* values, size_t count )
1st parameter 'values' (pointer) has base type 'struct sr_val_s'.
sr_get_change_next ( sr_session_ctx_t* session, sr_change_iter_t* iter, sr_change_oper_t* operation, sr_val_t** old_value, sr_val_t** new_value )
5th parameter 'new_value' (pointer) has base type 'struct sr_val_s'.
sr_get_item ( sr_session_ctx_t* session, char const* path, uint32_t timeout_ms, sr_val_t** value )
4th parameter 'value' (pointer) has base type 'struct sr_val_s'.
sr_get_items ( sr_session_ctx_t* session, char const* xpath, uint32_t timeout_ms, sr_get_oper_options_t const opts, sr_val_t** values, size_t* value_cnt )
5th parameter 'values' (pointer) has base type 'struct sr_val_s'.
sr_new_val ( char const* xpath, sr_val_t** value_p )
2nd parameter 'value_p' (pointer) has base type 'struct sr_val_s'.
sr_new_values ( size_t count, sr_val_t** values_p )
2nd parameter 'values_p' (pointer) has base type 'struct sr_val_s'.
...
[+] union sr_data_u 1

| Change | Effect
--- | --- | ---
1 | Type of field bool_val has been changed from _Bool (1 byte) to int (4 bytes). | This field may be incorrectly initialized or accessed by applications.

[+] affected symbols: 25 (21.9%)
sr_dup_val ( sr_val_t const* value, sr_val_t** value_dup_p )
Field 'value.data' in 1st parameter 'value' (pointer) has base type 'union sr_data_u'.
sr_dup_values ( sr_val_t const* values, size_t count, sr_val_t** values_dup_p )
Field 'values.data' in 1st parameter 'values' (pointer) has base type 'union sr_data_u'.
sr_event_notif_send ( sr_session_ctx_t* session, char const* path, sr_val_t const* values, size_t const values_cnt )
Field 'values.data' in 3rd parameter 'values' (pointer) has base type 'union sr_data_u'.
sr_free_val ( sr_val_t* value )
Field 'value.data' in 1st parameter 'value' (pointer) has base type 'union sr_data_u'.
sr_free_values ( sr_val_t* values, size_t count )
Field 'values.data' in 1st parameter 'values' (pointer) has base type 'union sr_data_u'.
sr_get_change_next ( sr_session_ctx_t* session, sr_change_iter_t* iter, sr_change_oper_t* operation, sr_val_t** old_value, sr_val_t** new_value )
Field 'new_value.data' in 5th parameter 'new_value' (pointer) has base type 'union sr_data_u'.
sr_get_item ( sr_session_ctx_t* session, char const* path, uint32_t timeout_ms, sr_val_t** value )
Field 'value.data' in 4th parameter 'value' (pointer) has base type 'union sr_data_u'.
sr_get_items ( sr_session_ctx_t* session, char const* xpath, uint32_t timeout_ms, sr_get_oper_options_t const opts, sr_val_t** values, size_t* value_cnt )
Field 'values.data' in 5th parameter 'values' (pointer) has base type 'union sr_data_u'.
sr_new_val ( char const* xpath, sr_val_t** value_p )
Field 'value_p.data' in 2nd parameter 'value_p' (pointer) has base type 'union sr_data_u'.
sr_new_values ( size_t count, sr_val_t** values_p )
Field 'values_p.data' in 2nd parameter 'values_p' (pointer) has base type 'union sr_data_u'.
...
to the top

## Problems with Symbols, Medium Severity 10

sysrepo.h, libsysrepo.so.5.6.67
[+] sr_apply_changes ( sr_session_ctx_t* session, uint32_t timeout_ms, int wait ) 1
⇣
sr_apply_changes ( sr_session_ctx_t* session, uint32_t timeout_ms )

| Change | Effect
--- | --- | ---
1 | 3rd parameter wait has been removed from the calling stack. | This parameter will be ignored by the function.

[+] sr_copy_config ( sr_session_ctx_t* session, char const* module_name, sr_datastore_t src_datastore, uint32_t timeout_ms, int wait ) 1
⇣
sr_copy_config ( sr_session_ctx_t* session, char const* module_name, uint32_t timeout_ms )

| Change | Effect
--- | --- | ---
1 | 5th parameter wait has been removed from the calling stack. | This parameter will be ignored by the function.

[+] sr_event_notif_send ( sr_session_ctx_t* session, char const* path, sr_val_t const* values, size_t const values_cnt ) 2
⇣
sr_event_notif_send ( sr_session_ctx_t* session, char const* path, sr_val_t const* values, size_t const values_cnt, uint32_t timeout_ms, int wait )

| Change | Effect
--- | --- | ---
1 | Parameter timeout_ms of type uint32_t has been added to the calling stack. | This parameter will not be initialized by old clients.
2 | Parameter wait of type int has been added to the calling stack. | This parameter will not be initialized by old clients.

[+] sr_event_notif_send_tree ( sr_session_ctx_t* session, struct lyd_node* notif ) 2
⇣
sr_event_notif_send_tree ( sr_session_ctx_t* session, struct lyd_node* notif, uint32_t timeout_ms, int wait )

| Change | Effect
--- | --- | ---
1 | Parameter timeout_ms of type uint32_t has been added to the calling stack. | This parameter will not be initialized by old clients.
2 | Parameter wait of type int has been added to the calling stack. | This parameter will not be initialized by old clients.

[+] sr_get_change_tree_next ( sr_session_ctx_t* session, sr_change_iter_t* iter, sr_change_oper_t* operation, struct lyd_node const** node, char const** prev_value, char const** prev_list, _Bool* prev_dflt ) 1
⇣
sr_get_change_tree_next ( sr_session_ctx_t* session, sr_change_iter_t* iter, struct lyd_node const** node, char const** prev_value, char const** prev_list, int* prev_dflt )

| Change | Effect
--- | --- | ---
1 | Base type of 7th parameter prev_dflt has been changed from _Bool (1 byte) to int (4 bytes). | This parameter may be incorrectly initialized by applications.

[+] sr_install_module ( sr_conn_ctx_t* conn, char const* schema_path, char const* search_dirs, char const** features, int feat_count ) 1
⇣
sr_install_module ( sr_conn_ctx_t* conn, char const* schema_path, char const* search_dirs, char const** features )

| Change | Effect
--- | --- | ---
1 | 5th parameter feat_count has been removed from the calling stack. | This parameter will be ignored by the function.

[+] sr_replace_config ( sr_session_ctx_t* session, char const* module_name, struct lyd_node* src_config, uint32_t timeout_ms, int wait ) 1
⇣
sr_replace_config ( sr_session_ctx_t* session, char const* module_name, struct lyd_node* src_config, uint32_t timeout_ms )

| Change | Effect
--- | --- | ---
1 | 5th parameter wait has been removed from the calling stack. | This parameter will be ignored by the function.

xpath.h, libsysrepo.so.5.6.67
[+] sr_xpath_node_name_eq ( char const* xpath, char const* node_name ) 1

| Change | Effect
--- | --- | ---
1 | Type of return value has been changed from _Bool (1 byte) to int (4 bytes). | Applications will obtain a different return value and execution may change.

to the top

## Problems with Data Types, Low Severity 6

sysrepo.h
[+] typedef sr_event_notif_cb 1

| Change | Effect
--- | --- | ---
1 | Base type has been changed from void(*)(sr_session_ctx_t*, sr_ev_notif_type_t const, char const*, sr_val_t const*, size_t const, time_t, void*) to void(*)(sr_session_ctx_t*, uint32_t, , char const*, sr_val_t const*, size_t const, struct timespec*, void*). | Replacement of the base data type may indicate a change in its semantic meaning.

[+] affected symbols: 1 (0.9%)
sr_event_notif_subscribe ( sr_session_ctx_t* session, char const* module_name, char const* xpath, time_t start_time, time_t stop_time, void(*callback)(struct sr_session_ctx_s*, enum sr_ev_notif_type_e const, char const*, struct sr_val_s const*, unsigned long const, long, void*), void* private_data, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
6th parameter 'callback' is of type 'sr_event_notif_cb'.
[+] typedef sr_event_notif_tree_cb 1

| Change | Effect
--- | --- | ---
1 | Base type has been changed from void(*)(sr_session_ctx_t*, sr_ev_notif_type_t const, struct lyd_node const*, time_t, void*) to void(*)(sr_session_ctx_t*, uint32_t, , struct lyd_node const*, struct timespec*, void*). | Replacement of the base data type may indicate a change in its semantic meaning.

[+] affected symbols: 1 (0.9%)
sr_event_notif_subscribe_tree ( sr_session_ctx_t* session, char const* module_name, char const* xpath, time_t start_time, time_t stop_time, void(*callback)(struct sr_session_ctx_s*, enum sr_ev_notif_type_e const, struct lyd_node const*, long, void*), void* private_data, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
6th parameter 'callback' is of type 'sr_event_notif_tree_cb'.
[+] typedef sr_module_change_cb 1

| Change | Effect
--- | --- | ---
1 | Base type has been changed from int(*)(sr_session_ctx_t*, char const*, char const*, sr_event_t, uint32_t, void*) to int(*)(sr_session_ctx_t*, uint32_t, char const*, char const*, , uint32_t, void*). | Replacement of the base data type may indicate a change in its semantic meaning.

[+] affected symbols: 1 (0.9%)
sr_module_change_subscribe ( sr_session_ctx_t* session, char const* module_name, char const* xpath, int(*callback)(struct sr_session_ctx_s*, char const*, char const*, enum sr_event_e, unsigned int, void*), void* private_data, uint32_t priority, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
4th parameter 'callback' is of type 'sr_module_change_cb'.
[+] typedef sr_oper_get_items_cb 1

| Change | Effect
--- | --- | ---
1 | Base type has been changed from int(*)(sr_session_ctx_t*, char const*, char const*, char const*, uint32_t, struct lyd_node**, void*) to int(*)(sr_session_ctx_t*, uint32_t, char const*, char const*, char const*, uint32_t, struct lyd_node**, void*). | Replacement of the base data type may indicate a change in its semantic meaning.

[+] affected symbols: 1 (0.9%)
sr_oper_get_items_subscribe ( sr_session_ctx_t* session, char const* module_name, char const* path, int(*callback)(struct sr_session_ctx_s*, char const*, char const*, char const*, unsigned int, struct lyd_node**, void*), void* private_data, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
4th parameter 'callback' is of type 'sr_oper_get_items_cb'.
[+] typedef sr_rpc_cb 1

| Change | Effect
--- | --- | ---
1 | Base type has been changed from int(*)(sr_session_ctx_t*, char const*, sr_val_t const*, size_t const, sr_event_t, uint32_t, sr_val_t**, size_t*, void*) to int(*)(sr_session_ctx_t*, uint32_t, char const*, sr_val_t const*, size_t const, , uint32_t, sr_val_t**, size_t*, void*). | Replacement of the base data type may indicate a change in its semantic meaning.

[+] affected symbols: 1 (0.9%)
sr_rpc_subscribe ( sr_session_ctx_t* session, char const* xpath, int(*callback)(struct sr_session_ctx_s*, char const*, struct sr_val_s const*, unsigned long const, enum sr_event_e, unsigned int, struct sr_val_s**, unsigned long*, void*), void* private_data, uint32_t priority, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
3rd parameter 'callback' is of type 'sr_rpc_cb'.
[+] typedef sr_rpc_tree_cb 1

| Change | Effect
--- | --- | ---
1 | Base type has been changed from int(*)(sr_session_ctx_t*, char const*, struct lyd_node const*, sr_event_t, uint32_t, struct lyd_node*, void*) to int(*)(sr_session_ctx_t*, uint32_t, char const*, struct lyd_node const*, , uint32_t, struct lyd_node*, void*). | Replacement of the base data type may indicate a change in its semantic meaning.

[+] affected symbols: 1 (0.9%)
sr_rpc_subscribe_tree ( sr_session_ctx_t* session, char const* xpath, int(*callback)(struct sr_session_ctx_s*, char const*, struct lyd_node const*, enum sr_event_e, unsigned int, struct lyd_node*, void*), void* private_data, uint32_t priority, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
3rd parameter 'callback' is of type 'sr_rpc_tree_cb'.
to the top

## Problems with Symbols, Low Severity 1

sysrepo.h, libsysrepo.so.5.6.67
[+] sr_set_diff_check_callback ( sr_conn_ctx_t* conn, sr_diff_check_cb callback ) 1

| Change | Effect
--- | --- | ---
1 | Type of return value has been changed from void to int (4 bytes). | Replacement of return type may indicate a change in its semantic meaning.

to the top

## Header Files 3

sysrepo.h
values.h
xpath.h
to the top

## Objects 1

libsysrepo.so.5.6.67
to the top

## Test Info

Module Name | libsysrepo.so
Version #1 | 5.6.67
Version #2 | 6.4.19
Arch | x86_64
Subject | Source Compatibility

## Test Results

Total Header Files | 3
Total Objects | 1
Total Symbols / Types | 114 / 41
Compatibility | 87.7%

## Problem Summary

| Severity | Count
--- | --- | ---
Added Symbols | - | 38
Removed Symbols | High | 10
Problems with Data Types | High | 0
Medium | 0
Low | 8
Problems with Symbols | High | 1
Medium | 8
Low | 2
Problems with Constants | Low | 0
Other Changes in Symbols | - | 1

## Added Symbols 38

sysrepo.h
sr_check_module_ds_access ( sr_conn_ctx_t* conn, char const* module_name, int mod_ds, int* read, int* write )
sr_discard_oper_changes ( sr_conn_ctx_t* conn, sr_session_ctx_t* session, char const* xpath, uint32_t timeout_ms )
sr_event_notif_sub_get_info ( sr_subscription_ctx_t* subscription, uint32_t sub_id, char const** module_name, char const** xpath, time_t* start_time, time_t* stop_time, uint32_t* filtered_out )
sr_event_notif_sub_modify_stop_time ( sr_subscription_ctx_t* subscription, uint32_t sub_id, time_t stop_time )
sr_event_notif_sub_modify_xpath ( sr_subscription_ctx_t* subscription, uint32_t sub_id, char const* xpath )
sr_get_content_id ( sr_conn_ctx_t* conn )
sr_get_error_data ( sr_error_info_err_t* err, uint32_t idx, uint32_t* size, void const** data )
sr_get_module_ds_access ( sr_conn_ctx_t* conn, char const* module_name, int mod_ds, char** owner, char** group, mode_t* perm )
sr_get_su_uid ( )
sr_install_module_custom_ds ( sr_conn_ctx_t* conn, char const* schema_path, char const* search_dirs, char const** features, sr_module_ds_t const* module_ds )
sr_module_change_sub_get_info ( sr_subscription_ctx_t* subscription, uint32_t sub_id, char const** module_name, char const** xpath, uint32_t* filtered_out )
sr_module_change_sub_modify_xpath ( sr_subscription_ctx_t* subscription, uint32_t sub_id, char const* xpath )
sr_notif_sub_get_info ( sr_subscription_ctx_t* subscription, uint32_t sub_id, char const** module_name, char const** xpath, struct timespec* start_time, struct timespec* stop_time, uint32_t* filtered_out )
sr_notif_sub_modify_stop_time ( sr_subscription_ctx_t* subscription, uint32_t sub_id, struct timespec const* stop_time )
sr_notif_subscribe ( sr_session_ctx_t* session, char const* module_name, char const* xpath, struct timespec const* start_time, struct timespec const* stop_time, void(*callback)(struct sr_session_ctx_s*, unsigned int, ,char const*, struct sr_val_s const*, unsigned long const, struct timespec*, void*), void* private_data, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
sr_notif_subscribe_tree ( sr_session_ctx_t* session, char const* module_name, char const* xpath, struct timespec const* start_time, struct timespec const* stop_time, void(*callback)(struct sr_session_ctx_s*, unsigned int, ,struct lyd_node const*, struct timespec*, void*), void* private_data, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
sr_oper_delete_item_str ( sr_session_ctx_t* session, char const* path, char const* value, sr_edit_options_t const opts )
sr_session_del_orig_data ( sr_session_ctx_t* session )
sr_session_dup_error ( sr_session_ctx_t* src_session, sr_session_ctx_t* trg_session )
sr_session_get_error ( sr_session_ctx_t* session, sr_error_info_t const** error_info )
sr_session_get_orig_data ( sr_session_ctx_t* session, uint32_t idx, uint32_t* size, void const** data )
sr_session_get_orig_name ( sr_session_ctx_t* session )
sr_session_push_error_data ( sr_session_ctx_t* session, uint32_t size, void const* data )
sr_session_push_orig_data ( sr_session_ctx_t* session, uint32_t size, void const* data )
sr_session_set_error_format ( sr_session_ctx_t* session, char const* error_format )
sr_session_set_error_message ( sr_session_ctx_t* session, char const* format, ... )
sr_session_set_orig_name ( sr_session_ctx_t* session, char const* orig_name )
sr_session_unsubscribe ( sr_session_ctx_t* session )
sr_set_module_ds_access ( sr_conn_ctx_t* conn, char const* module_name, int mod_ds, char const* owner, char const* group, mode_t perm )
sr_subscription_get_last_sub_id ( sr_subscription_ctx_t const* subscription )
sr_subscription_get_suspended ( sr_subscription_ctx_t* subscription, uint32_t sub_id, int* suspended )
sr_subscription_process_events ( sr_subscription_ctx_t* subscription, sr_session_ctx_t* session, struct timespec* stop_time_in )
sr_subscription_resume ( sr_subscription_ctx_t* subscription, uint32_t sub_id )
sr_subscription_suspend ( sr_subscription_ctx_t* subscription, uint32_t sub_id )
sr_subscription_thread_resume ( sr_subscription_ctx_t* subscription )
sr_subscription_thread_suspend ( sr_subscription_ctx_t* subscription )
sr_unsubscribe_sub ( sr_subscription_ctx_t* subscription, uint32_t sub_id )
srplg_log ( char const* plg_name, char const* format, ... )
to the top

## Removed Symbols 10

sysrepo.h
sr_event_notif_sub_id_get_last ( sr_subscription_ctx_t const* subscription )
sr_event_notif_sub_resume ( sr_subscription_ctx_t* subscription, uint32_t sub_id )
sr_event_notif_sub_suspend ( sr_subscription_ctx_t* subscription, uint32_t sub_id )
sr_get_error ( sr_session_ctx_t* session, sr_error_info_t const** error_info )
sr_session_get_event_nc_id ( sr_session_ctx_t* session )
sr_session_get_event_sr_id ( sr_session_ctx_t* session )
sr_session_get_event_user ( sr_session_ctx_t* session )
sr_session_get_nc_id ( sr_session_ctx_t* session )
sr_session_set_nc_id ( sr_session_ctx_t* session, uint32_t nc_sid )
sr_set_error ( sr_session_ctx_t* session, char const* path, char const* format, ... )
to the top

## Problems with Symbols, High Severity 1

sysrepo.h
[+] sr_get_lock ( sr_conn_ctx_t* conn, sr_datastore_t datastore, char const* module_name, int* is_locked, uint32_t* id, uint32_t* nc_id, time_t* timestamp ) 1
⇣
sr_get_lock ( sr_conn_ctx_t* conn, char const* module_name, int* is_locked, uint32_t* id, struct timespec* timestamp )

| Change | Effect
--- | --- | ---
1 | 6th middle parameter nc_id has been removed from the calling stack. | Recompilation of a client program may be broken.

to the top

## Problems with Symbols, Medium Severity 8

sysrepo.h
[+] sr_apply_changes ( sr_session_ctx_t* session, uint32_t timeout_ms, int wait ) 1
⇣
sr_apply_changes ( sr_session_ctx_t* session, uint32_t timeout_ms )

| Change | Effect
--- | --- | ---
1 | 3rd parameter wait has been removed from the calling stack. | Recompilation of a client program may be broken.

[+] sr_copy_config ( sr_session_ctx_t* session, char const* module_name, sr_datastore_t src_datastore, uint32_t timeout_ms, int wait ) 1
⇣
sr_copy_config ( sr_session_ctx_t* session, char const* module_name, uint32_t timeout_ms )

| Change | Effect
--- | --- | ---
1 | 5th parameter wait has been removed from the calling stack. | Recompilation of a client program may be broken.

[+] sr_event_notif_send ( sr_session_ctx_t* session, char const* path, sr_val_t const* values, size_t const values_cnt ) 2
⇣
sr_event_notif_send ( sr_session_ctx_t* session, char const* path, sr_val_t const* values, size_t const values_cnt, uint32_t timeout_ms, int wait )

| Change | Effect
--- | --- | ---
1 | Parameter timeout_ms of type uint32_t has been added to the calling stack. | Recompilation of a client program may be broken.
2 | Parameter wait of type int has been added to the calling stack. | Recompilation of a client program may be broken.

[+] sr_event_notif_send_tree ( sr_session_ctx_t* session, struct lyd_node* notif ) 2
⇣
sr_event_notif_send_tree ( sr_session_ctx_t* session, struct lyd_node* notif, uint32_t timeout_ms, int wait )

| Change | Effect
--- | --- | ---
1 | Parameter timeout_ms of type uint32_t has been added to the calling stack. | Recompilation of a client program may be broken.
2 | Parameter wait of type int has been added to the calling stack. | Recompilation of a client program may be broken.

[+] sr_install_module ( sr_conn_ctx_t* conn, char const* schema_path, char const* search_dirs, char const** features, int feat_count ) 1
⇣
sr_install_module ( sr_conn_ctx_t* conn, char const* schema_path, char const* search_dirs, char const** features )

| Change | Effect
--- | --- | ---
1 | 5th parameter feat_count has been removed from the calling stack. | Recompilation of a client program may be broken.

[+] sr_replace_config ( sr_session_ctx_t* session, char const* module_name, struct lyd_node* src_config, uint32_t timeout_ms, int wait ) 1
⇣
sr_replace_config ( sr_session_ctx_t* session, char const* module_name, struct lyd_node* src_config, uint32_t timeout_ms )

| Change | Effect
--- | --- | ---
1 | 5th parameter wait has been removed from the calling stack. | Recompilation of a client program may be broken.

to the top

## Problems with Data Types, Low Severity 8

sysrepo.h
[+] struct sr_val_s 1

| Change | Effect
--- | --- | ---
1 | Type of field dflt has been changed from _Bool to int. | Recompilation of a client program may be broken.

[+] affected symbols: 25 (21.9%)
sr_dup_val ( sr_val_t const* value, sr_val_t** value_dup_p )
1st parameter 'value' (pointer) has base type 'struct sr_val_s'.
sr_dup_values ( sr_val_t const* values, size_t count, sr_val_t** values_dup_p )
1st parameter 'values' (pointer) has base type 'struct sr_val_s'.
sr_event_notif_send ( sr_session_ctx_t* session, char const* path, sr_val_t const* values, size_t const values_cnt )
3rd parameter 'values' (pointer) has base type 'struct sr_val_s'.
sr_free_val ( sr_val_t* value )
1st parameter 'value' (pointer) has base type 'struct sr_val_s'.
sr_free_values ( sr_val_t* values, size_t count )
1st parameter 'values' (pointer) has base type 'struct sr_val_s'.
sr_get_change_next ( sr_session_ctx_t* session, sr_change_iter_t* iter, sr_change_oper_t* operation, sr_val_t** old_value, sr_val_t** new_value )
5th parameter 'new_value' (pointer) has base type 'struct sr_val_s'.
sr_get_item ( sr_session_ctx_t* session, char const* path, uint32_t timeout_ms, sr_val_t** value )
4th parameter 'value' (pointer) has base type 'struct sr_val_s'.
sr_get_items ( sr_session_ctx_t* session, char const* xpath, uint32_t timeout_ms, sr_get_oper_options_t const opts, sr_val_t** values, size_t* value_cnt )
5th parameter 'values' (pointer) has base type 'struct sr_val_s'.
sr_new_val ( char const* xpath, sr_val_t** value_p )
2nd parameter 'value_p' (pointer) has base type 'struct sr_val_s'.
sr_new_values ( size_t count, sr_val_t** values_p )
2nd parameter 'values_p' (pointer) has base type 'struct sr_val_s'.
...
[+] typedef sr_event_notif_cb 1

| Change | Effect
--- | --- | ---
1 | Base type has been changed from void(*)(sr_session_ctx_t*, sr_ev_notif_type_t const, char const*, sr_val_t const*, size_t const, time_t, void*) to void(*)(sr_session_ctx_t*, uint32_t, , char const*, sr_val_t const*, size_t const, struct timespec*, void*). | Recompilation of a client program may be broken.

[+] affected symbols: 1 (0.9%)
sr_event_notif_subscribe ( sr_session_ctx_t* session, char const* module_name, char const* xpath, time_t start_time, time_t stop_time, void(*callback)(struct sr_session_ctx_s*, enum sr_ev_notif_type_e const, char const*, struct sr_val_s const*, unsigned long const, long, void*), void* private_data, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
6th parameter 'callback' is of type 'sr_event_notif_cb'.
[+] typedef sr_event_notif_tree_cb 1

| Change | Effect
--- | --- | ---
1 | Base type has been changed from void(*)(sr_session_ctx_t*, sr_ev_notif_type_t const, struct lyd_node const*, time_t, void*) to void(*)(sr_session_ctx_t*, uint32_t, , struct lyd_node const*, struct timespec*, void*). | Recompilation of a client program may be broken.

[+] affected symbols: 1 (0.9%)
sr_event_notif_subscribe_tree ( sr_session_ctx_t* session, char const* module_name, char const* xpath, time_t start_time, time_t stop_time, void(*callback)(struct sr_session_ctx_s*, enum sr_ev_notif_type_e const, struct lyd_node const*, long, void*), void* private_data, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
6th parameter 'callback' is of type 'sr_event_notif_tree_cb'.
[+] typedef sr_module_change_cb 1

| Change | Effect
--- | --- | ---
1 | Base type has been changed from int(*)(sr_session_ctx_t*, char const*, char const*, sr_event_t, uint32_t, void*) to int(*)(sr_session_ctx_t*, uint32_t, char const*, char const*, , uint32_t, void*). | Recompilation of a client program may be broken.

[+] affected symbols: 1 (0.9%)
sr_module_change_subscribe ( sr_session_ctx_t* session, char const* module_name, char const* xpath, int(*callback)(struct sr_session_ctx_s*, char const*, char const*, enum sr_event_e, unsigned int, void*), void* private_data, uint32_t priority, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
4th parameter 'callback' is of type 'sr_module_change_cb'.
[+] typedef sr_oper_get_items_cb 1

| Change | Effect
--- | --- | ---
1 | Base type has been changed from int(*)(sr_session_ctx_t*, char const*, char const*, char const*, uint32_t, struct lyd_node**, void*) to int(*)(sr_session_ctx_t*, uint32_t, char const*, char const*, char const*, uint32_t, struct lyd_node**, void*). | Recompilation of a client program may be broken.

[+] affected symbols: 1 (0.9%)
sr_oper_get_items_subscribe ( sr_session_ctx_t* session, char const* module_name, char const* path, int(*callback)(struct sr_session_ctx_s*, char const*, char const*, char const*, unsigned int, struct lyd_node**, void*), void* private_data, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
4th parameter 'callback' is of type 'sr_oper_get_items_cb'.
[+] typedef sr_rpc_cb 1

| Change | Effect
--- | --- | ---
1 | Base type has been changed from int(*)(sr_session_ctx_t*, char const*, sr_val_t const*, size_t const, sr_event_t, uint32_t, sr_val_t**, size_t*, void*) to int(*)(sr_session_ctx_t*, uint32_t, char const*, sr_val_t const*, size_t const, , uint32_t, sr_val_t**, size_t*, void*). | Recompilation of a client program may be broken.

[+] affected symbols: 1 (0.9%)
sr_rpc_subscribe ( sr_session_ctx_t* session, char const* xpath, int(*callback)(struct sr_session_ctx_s*, char const*, struct sr_val_s const*, unsigned long const, enum sr_event_e, unsigned int, struct sr_val_s**, unsigned long*, void*), void* private_data, uint32_t priority, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
3rd parameter 'callback' is of type 'sr_rpc_cb'.
[+] typedef sr_rpc_tree_cb 1

| Change | Effect
--- | --- | ---
1 | Base type has been changed from int(*)(sr_session_ctx_t*, char const*, struct lyd_node const*, sr_event_t, uint32_t, struct lyd_node*, void*) to int(*)(sr_session_ctx_t*, uint32_t, char const*, struct lyd_node const*, , uint32_t, struct lyd_node*, void*). | Recompilation of a client program may be broken.

[+] affected symbols: 1 (0.9%)
sr_rpc_subscribe_tree ( sr_session_ctx_t* session, char const* xpath, int(*callback)(struct sr_session_ctx_s*, char const*, struct lyd_node const*, enum sr_event_e, unsigned int, struct lyd_node*, void*), void* private_data, uint32_t priority, sr_subscr_options_t opts, sr_subscription_ctx_t** subscription )
3rd parameter 'callback' is of type 'sr_rpc_tree_cb'.
[+] union sr_data_u 1

| Change | Effect
--- | --- | ---
1 | Type of field bool_val has been changed from _Bool to int. | Recompilation of a client program may be broken.

[+] affected symbols: 25 (21.9%)
sr_dup_val ( sr_val_t const* value, sr_val_t** value_dup_p )
Field 'value.data' in 1st parameter 'value' (pointer) has base type 'union sr_data_u'.
sr_dup_values ( sr_val_t const* values, size_t count, sr_val_t** values_dup_p )
Field 'values.data' in 1st parameter 'values' (pointer) has base type 'union sr_data_u'.
sr_event_notif_send ( sr_session_ctx_t* session, char const* path, sr_val_t const* values, size_t const values_cnt )
Field 'values.data' in 3rd parameter 'values' (pointer) has base type 'union sr_data_u'.
sr_free_val ( sr_val_t* value )
Field 'value.data' in 1st parameter 'value' (pointer) has base type 'union sr_data_u'.
sr_free_values ( sr_val_t* values, size_t count )
Field 'values.data' in 1st parameter 'values' (pointer) has base type 'union sr_data_u'.
sr_get_change_next ( sr_session_ctx_t* session, sr_change_iter_t* iter, sr_change_oper_t* operation, sr_val_t** old_value, sr_val_t** new_value )
Field 'new_value.data' in 5th parameter 'new_value' (pointer) has base type 'union sr_data_u'.
sr_get_item ( sr_session_ctx_t* session, char const* path, uint32_t timeout_ms, sr_val_t** value )
Field 'value.data' in 4th parameter 'value' (pointer) has base type 'union sr_data_u'.
sr_get_items ( sr_session_ctx_t* session, char const* xpath, uint32_t timeout_ms, sr_get_oper_options_t const opts, sr_val_t** values, size_t* value_cnt )
Field 'values.data' in 5th parameter 'values' (pointer) has base type 'union sr_data_u'.
sr_new_val ( char const* xpath, sr_val_t** value_p )
Field 'value_p.data' in 2nd parameter 'value_p' (pointer) has base type 'union sr_data_u'.
sr_new_values ( size_t count, sr_val_t** values_p )
Field 'values_p.data' in 2nd parameter 'values_p' (pointer) has base type 'union sr_data_u'.
...
to the top

## Problems with Symbols, Low Severity 2

sysrepo.h
[+] sr_get_change_tree_next ( sr_session_ctx_t* session, sr_change_iter_t* iter, sr_change_oper_t* operation, struct lyd_node const** node, char const** prev_value, char const** prev_list, _Bool* prev_dflt ) 1
⇣
sr_get_change_tree_next ( sr_session_ctx_t* session, sr_change_iter_t* iter, struct lyd_node const** node, char const** prev_value, char const** prev_list, int* prev_dflt )

| Change | Effect
--- | --- | ---
1 | Base type of 7th parameter prev_dflt has been changed from _Bool to int. | Recompilation of a client program may be broken.

xpath.h
[+] sr_xpath_node_name_eq ( char const* xpath, char const* node_name ) 1

| Change | Effect
--- | --- | ---
1 | Type of return value has been changed from _Bool to int. | Recompilation of a client program may be broken.

to the top

## Other Changes in Symbols 1

sysrepo.h
[+] sr_set_diff_check_callback ( sr_conn_ctx_t* conn, sr_diff_check_cb callback ) 1

| Change | Effect
--- | --- | ---
1 | Type of return value has been changed from void to int. | No effect.

to the top

## Header Files 3

sysrepo.h
values.h
xpath.h
to the top

## Objects 1

libsysrepo.so.5.6.67
to the top