Test Info
Library Name | libnetconf |
Version #1 | 0.3.1 |
Version #2 | 0.4.0 |
CPU Type | x86_64 |
GCC Version | 4.7 |
Subject | Binary Compatibility |
Test Results
Total Header Files | 13 |
Total Shared Libraries | 1 |
Total Symbols / Types | 141 / 126 |
Verdict | Incompatible (1.8%) |
Problem Summary
| Severity | Count |
---|
Added Symbols | - | 2 |
Removed Symbols | High | 1 |
Problems with Data Types | High | 0 |
Medium | 0 |
Low | 0 |
Problems with Symbols | High | 1 |
Medium | 3 |
Low | 20 |
Problems with Constants | Low | 0 |
Added Symbols (2)
netconf.h,
libnetconf.so.0.4.0
nacm_recovery_uid ( uid_t uid )
notifications.h,
libnetconf.so.0.4.0
ncntf_stream_iter_finish ( char const* stream )
to the top
Removed Symbols (1)
notifications.h,
libnetconf.so.0.3.1
ncntf_stream_iter_finnish ( char const* stream )
to the top
Problems with Symbols, High Severity (1)
messages.h,
libnetconf.so.0.3.1
[+] nc_reply_merge ( int count, nc_reply* msg1, nc_reply* msg2, ... ) (1)
changed to:nc_reply_merge ( int count, ... )
| Change | Effect |
---|
1 | 2nd middle parameter msg1 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 Symbols, Medium Severity (3)
messages.h,
libnetconf.so.0.3.1
[+] nc_reply_merge ( int count, nc_reply* msg1, nc_reply* msg2, ... ) (1)
changed to:nc_reply_merge ( int count, ... )
| Change | Effect |
---|
1 | 3rd parameter msg2 has been removed from the calling stack. | This parameter will be ignored by the function. |
[+] nc_rpc_build ( char const* rpc_dump ) (1)
changed to:nc_rpc_build ( char const* rpc_dump, struct nc_session const* session )
| Change | Effect |
---|
1 | Parameter session of type struct nc_session const* has been added to the calling stack. | This parameter will not be initialized by old clients. |
messages_xml.h,
libnetconf.so.0.3.1
[+] ncxml_rpc_build ( xmlDocPtr rpc_dump ) (1)
changed to:ncxml_rpc_build ( xmlDocPtr rpc_dump, struct nc_session const* session )
| Change | Effect |
---|
1 | Parameter session of type struct nc_session const* has been added to the calling stack. | This parameter will not be initialized by old clients. |
to the top
Problems with Symbols, Low Severity (20)
callbacks.h,
libnetconf.so.0.3.1
[+] nc_callback_print ( void(*func)(enum NC_VERB_LEVEL, char const*) ) (1)
changed to:nc_callback_print ( void(*func)(NC_VERB_LEVEL, char const*) )
| Change | Effect |
---|
1 | Base type of 1st parameter func has been changed from void(*)(enum NC_VERB_LEVEL,char const*) to void(*)(NC_VERB_LEVEL,char const*). | Replacement of parameter base type may indicate a change in its semantic meaning. |
error.h,
libnetconf.so.0.3.1
[+] nc_err_get ( struct nc_err const* err, enum NC_ERR_PARAM param ) (1)
changed to:nc_err_get ( struct nc_err const* err, NC_ERR_PARAM param )
| Change | Effect |
---|
1 | Type of 2nd parameter param has been changed from enum NC_ERR_PARAM to NC_ERR_PARAM. | Replacement of parameter data type may indicate a change in its semantic meaning. |
[+] nc_err_set ( struct nc_err* err, enum NC_ERR_PARAM param, char const* value ) (1)
changed to:nc_err_set ( struct nc_err* err, NC_ERR_PARAM param, char const* value )
| Change | Effect |
---|
1 | Type of 2nd parameter param has been changed from enum NC_ERR_PARAM to NC_ERR_PARAM. | Replacement of parameter data type may indicate a change in its semantic meaning. |
messages.h,
libnetconf.so.0.3.1
[+] nc_rpc_capability_attr ( nc_rpc* rpc, enum NC_CAP_ATTR attr, ... ) (1)
changed to:nc_rpc_capability_attr ( nc_rpc* rpc, NC_CAP_ATTR attr, ... )
| Change | Effect |
---|
1 | Type of 2nd parameter attr has been changed from enum NC_CAP_ATTR to NC_CAP_ATTR. | Replacement of parameter data type may indicate a change in its semantic meaning. |
[+] nc_rpc_editconfig ( NC_DATASTORE target, NC_DATASTORE source, NC_EDIT_DEFOP_TYPE default_operation, NC_EDIT_ERROPT_TYPE error_option, enum NC_EDIT_TESTOPT_TYPE test_option, ... ) (1)
changed to:nc_rpc_editconfig ( NC_DATASTORE target, NC_DATASTORE source, NC_EDIT_DEFOP_TYPE default_operation, NC_EDIT_ERROPT_TYPE error_option, NC_EDIT_TESTOPT_TYPE test_option, ... )
| Change | Effect |
---|
1 | Type of 5th parameter test_option has been changed from enum NC_EDIT_TESTOPT_TYPE to NC_EDIT_TESTOPT_TYPE. | Replacement of parameter data type may indicate a change in its semantic meaning. |
[+] nc_rpc_get_testopt ( nc_rpc const* rpc ) (1)
| Change | Effect |
---|
1 | Type of return value has been changed from enum NC_EDIT_TESTOPT_TYPE to NC_EDIT_TESTOPT_TYPE. | Replacement of return type may indicate a change in its semantic meaning. |
messages_xml.h,
libnetconf.so.0.3.1
[+] ncxml_rpc_editconfig ( NC_DATASTORE target, NC_DATASTORE source, NC_EDIT_DEFOP_TYPE default_operation, NC_EDIT_ERROPT_TYPE error_option, enum NC_EDIT_TESTOPT_TYPE test_option, ... ) (1)
changed to:ncxml_rpc_editconfig ( NC_DATASTORE target, NC_DATASTORE source, NC_EDIT_DEFOP_TYPE default_operation, NC_EDIT_ERROPT_TYPE error_option, NC_EDIT_TESTOPT_TYPE test_option, ... )
| Change | Effect |
---|
1 | Type of 5th parameter test_option has been changed from enum NC_EDIT_TESTOPT_TYPE to NC_EDIT_TESTOPT_TYPE. | Replacement of parameter data type may indicate a change in its semantic meaning. |
netconf.h,
libnetconf.so.0.3.1
[+] nc_verbosity ( enum NC_VERB_LEVEL level ) (1)
changed to:nc_verbosity ( NC_VERB_LEVEL level )
| Change | Effect |
---|
1 | Type of 1st parameter level has been changed from enum NC_VERB_LEVEL to NC_VERB_LEVEL. | Replacement of parameter data type may indicate a change in its semantic meaning. |
notifications.h,
libnetconf.so.0.3.1
[+] ncntf_notif_get_content ( nc_ntf* notif ) (1)
changed to:ncntf_notif_get_content ( nc_ntf const* notif )
| Change | Effect |
---|
1 | Type of 1st parameter notif has been changed from nc_ntf* to nc_ntf const*. | Replacement of parameter data type may indicate a change in its semantic meaning. |
[+] ncntf_notif_get_time ( nc_ntf* notif ) (1)
changed to:ncntf_notif_get_time ( nc_ntf const* notif )
| Change | Effect |
---|
1 | Type of 1st parameter notif has been changed from nc_ntf* to nc_ntf const*. | Replacement of parameter data type may indicate a change in its semantic meaning. |
[+] ncntf_notif_get_type ( nc_ntf* notif ) (1)
changed to:ncntf_notif_get_type ( nc_ntf const* notif )
| Change | Effect |
---|
1 | Type of 1st parameter notif has been changed from nc_ntf* to nc_ntf const*. | Replacement of parameter data type may indicate a change in its semantic meaning. |
session.h,
libnetconf.so.0.3.1
[+] nc_session_close ( struct nc_session* session, enum NC_SESSION_TERM_REASON reason ) (1)
changed to:nc_session_close ( struct nc_session* session, NC_SESSION_TERM_REASON reason )
| Change | Effect |
---|
1 | Type of 2nd parameter reason has been changed from enum NC_SESSION_TERM_REASON to NC_SESSION_TERM_REASON. | Replacement of parameter data type may indicate a change in its semantic meaning. |
[+] nc_session_get_status ( struct nc_session const* session ) (1)
| Change | Effect |
---|
1 | Type of return value has been changed from enum NC_SESSION_STATUS to NC_SESSION_STATUS. | Replacement of return type may indicate a change in its semantic meaning. |
[+] nc_session_term_string ( enum NC_SESSION_TERM_REASON reason ) (1)
changed to:nc_session_term_string ( NC_SESSION_TERM_REASON reason )
| Change | Effect |
---|
1 | Type of 1st parameter reason has been changed from enum NC_SESSION_TERM_REASON to NC_SESSION_TERM_REASON. | Replacement of parameter data type may indicate a change in its semantic meaning. |
with_defaults.h,
libnetconf.so.0.3.1
[+] ncdflt_get_basic_mode ( ) (1)
| Change | Effect |
---|
1 | Type of return value has been changed from enum NCWD_MODE to NCWD_MODE. | Replacement of return type may indicate a change in its semantic meaning. |
[+] ncdflt_get_supported ( ) (1)
| Change | Effect |
---|
1 | Type of return value has been changed from enum NCWD_MODE to NCWD_MODE. | Replacement of return type may indicate a change in its semantic meaning. |
[+] ncdflt_rpc_get_withdefaults ( nc_rpc const* rpc ) (1)
| Change | Effect |
---|
1 | Type of return value has been changed from enum NCWD_MODE to NCWD_MODE. | Replacement of return type may indicate a change in its semantic meaning. |
[+] ncdflt_rpc_withdefaults ( nc_rpc* rpc, enum NCWD_MODE mode ) (1)
changed to:ncdflt_rpc_withdefaults ( nc_rpc* rpc, NCWD_MODE mode )
| Change | Effect |
---|
1 | Type of 2nd parameter mode has been changed from enum NCWD_MODE to NCWD_MODE. | Replacement of parameter data type may indicate a change in its semantic meaning. |
[+] ncdflt_set_basic_mode ( enum NCWD_MODE mode ) (1)
changed to:ncdflt_set_basic_mode ( NCWD_MODE mode )
| Change | Effect |
---|
1 | Type of 1st parameter mode has been changed from enum NCWD_MODE to NCWD_MODE. | Replacement of parameter data type may indicate a change in its semantic meaning. |
[+] ncdflt_set_supported ( enum NCWD_MODE modes ) (1)
changed to:ncdflt_set_supported ( NCWD_MODE modes )
| Change | Effect |
---|
1 | Type of 1st parameter modes has been changed from enum NCWD_MODE to NCWD_MODE. | Replacement of parameter data type may indicate a change in its semantic meaning. |
to the top
Header Files (13)
callbacks.h
datastore.h
error.h
libnetconf.h
libnetconf_xml.h
messages.h
messages_xml.h
netconf.h
notifications.h
notifications_xml.h
session.h
ssh.h
with_defaults.h
to the top
Shared Libraries (1)
libnetconf.so.0.3.1
to the top