Binary compatibility report for the libssh library  between 0.3.4 and 0.4.0 versions on x86

Test Info


Library Namelibssh
Version #10.3.4
Version #20.4.0
CPU Typex86
GCC Version4.6.1

Test Results


Total Header Files4
Total Shared Libraries1
Total Symbols / Types195 / 88
VerdictIncompatible
(13.8%)

Problem Summary


SeverityCount
Added Symbols-55
Removed SymbolsHigh26
Problems with
Data Types
High0
Medium0
Low6
Problems with
Symbols
High2
Medium4
Low218
Problems with
Constants
Low7

Added Symbols (55)


callbacks.h, libssh.so.4.0.0
ssh_set_callbacks ( ssh_session session, ssh_callbacks cb )

libssh.h, libssh.so.4.0.0
channel_accept_x11 ( ssh_channel channel, int timeout_ms )
channel_forward_accept ( ssh_session session, int timeout_ms )
channel_forward_cancel ( ssh_session session, char const* address, int port )
channel_forward_listen ( ssh_session session, char const* address, int port, int* bound_port )
channel_request_send_signal ( ssh_channel channel, char const* signum )
channel_request_x11 ( ssh_channel channel, int single_connection, char const* protocol, char const* cookie, int screen_number )
ssh_clean_pubkey_hash unsigned char** hash )
ssh_free ssh_session session )
ssh_message_retrieve ( ssh_session session, uint32_t packettype )
ssh_options_parse_config ( ssh_session session, char const* filename )
ssh_options_set ( ssh_session session, ssh_options_e type, void const* value )
ssh_scp_accept_request ssh_scp scp )
ssh_scp_close ssh_scp scp )
ssh_scp_deny_request ssh_scp scp, char const* reason )
ssh_scp_free ssh_scp scp )
ssh_scp_init ssh_scp scp )
ssh_scp_leave_directory ssh_scp scp )
ssh_scp_new ( ssh_session session, int mode, char const* location )
ssh_scp_pull_request ssh_scp scp )
ssh_scp_push_directory ssh_scp scp, char const* dirname, int mode )
ssh_scp_push_file ssh_scp scp, char const* filename, size_t size, int perms )
ssh_scp_read ssh_scp scp, void* buffer, size_t size )
ssh_scp_request_get_filename ssh_scp scp )
ssh_scp_request_get_permissions ssh_scp scp )
ssh_scp_request_get_size ssh_scp scp )
ssh_scp_request_get_warning ssh_scp scp )
ssh_scp_write ssh_scp scp, void const* buffer, size_t len )

server.h, libssh.so.4.0.0
channel_write_stderr ( ssh_channel channel, void const* data, uint32_t len )
ssh_bind_options_set ( ssh_bind sshbind, ssh_bind_options_e type, void const* value )
ssh_message_auth_publickey ssh_message msg )
ssh_message_auth_reply_pk_ok ssh_message msg, ssh_string algo, ssh_string pubkey )
ssh_message_channel_request_channel ssh_message msg )
ssh_message_channel_request_command ssh_message msg )
ssh_message_channel_request_env_name ssh_message msg )
ssh_message_channel_request_env_value ssh_message msg )
ssh_message_channel_request_open_destination ssh_message msg )
ssh_message_channel_request_open_destination_port ssh_message msg )
ssh_message_channel_request_open_originator ssh_message msg )
ssh_message_channel_request_open_originator_port ssh_message msg )
ssh_message_channel_request_pty_height ssh_message msg )
ssh_message_channel_request_pty_pxheight ssh_message msg )
ssh_message_channel_request_pty_pxwidth ssh_message msg )
ssh_message_channel_request_pty_term ssh_message msg )
ssh_message_channel_request_pty_width ssh_message msg )
ssh_message_service_reply_success ssh_message msg )
ssh_message_service_service ssh_message msg )
ssh_set_message_callback ( ssh_session session, int(*ssh_message_callback)(ssh_session, ssh_message) )

sftp.h, libssh.so.4.0.0
sftp_extension_supported ( sftp_session sftp, char const* name, char const* data )
sftp_extensions_get_count sftp_session sftp )
sftp_extensions_get_data ( sftp_session sftp, unsigned int indexn )
sftp_extensions_get_name ( sftp_session sftp, unsigned int indexn )
sftp_fstatvfs sftp_file file )
sftp_statvfs ( sftp_session sftp, char const* path )
sftp_statvfs_free sftp_statvfs_t statvfs_o )

to the top

Removed Symbols (26)


libssh.h, libssh.so.3.4.0
ssh_options_allow_ssh1 ( SSH_OPTIONS* opt, int allow )
ssh_options_allow_ssh2 ( SSH_OPTIONS* opt, int allow )
ssh_options_free SSH_OPTIONS* opt )
ssh_options_new ( )
ssh_options_set_auth_callback ( SSH_OPTIONS* opt, ssh_auth_callback cb, void* userdata )
ssh_options_set_banner ( SSH_OPTIONS* opt, char const* banner )
ssh_options_set_bind ( SSH_OPTIONS* opt, char const* bindaddr, int port )
ssh_options_set_dsa_server_key ( SSH_OPTIONS* opt, char const* dsakey )
ssh_options_set_fd ( SSH_OPTIONS* opt, socket_t fd )
ssh_options_set_host ( SSH_OPTIONS* opt, char const* host )
ssh_options_set_identity ( SSH_OPTIONS* opt, char const* identity )
ssh_options_set_known_hosts_file ( SSH_OPTIONS* opt, char const* dir )
ssh_options_set_log_function ( SSH_OPTIONS* opt, void(*callback)(char const*, SSH_SESSION*, int) )
ssh_options_set_log_verbosity ( SSH_OPTIONS* opt, int verbosity )
ssh_options_set_port ( SSH_OPTIONS* opt, unsigned int port )
ssh_options_set_rsa_server_key ( SSH_OPTIONS* opt, char const* rsakey )
ssh_options_set_ssh_dir ( SSH_OPTIONS* opt, char const* dir )
ssh_options_set_status_callback ( SSH_OPTIONS* opt, void(*callback)(void*, float), void* arg )
ssh_options_set_timeout ( SSH_OPTIONS* opt, long seconds, long usec )
ssh_options_set_username ( SSH_OPTIONS* opt, char const* username )
ssh_options_set_wanted_algos ( SSH_OPTIONS* opt, int algo, char const* list )
ssh_set_options ( SSH_SESSION* session, SSH_OPTIONS* options )

server.h, libssh.so.3.4.0
ssh_bind_set_options ( SSH_BIND* ssh_bind, SSH_OPTIONS* options )

sftp.h, libssh.so.3.4.0
sftp_dir_close SFTP_DIR* dir )
sftp_file_close SFTP_FILE* file )
sftp_rm ( SFTP_SESSION* sftp, char const* file )

to the top

Problems with Symbols, High Severity (2)


libssh.h, libssh.so.3.4.0
[+] ssh_options_copy SSH_OPTIONS* opt ) (1)

server.h, libssh.so.3.4.0
[+] ssh_bind_accept SSH_BIND* ssh_bind ) (1)

to the top

Problems with Symbols, Medium Severity (4)


libssh.h, libssh.so.3.4.0
[+] ssh_options_copy SSH_OPTIONS* opt ) (2)

server.h, libssh.so.3.4.0
[+] ssh_bind_accept SSH_BIND* ssh_bind ) (2)

to the top

Problems with Data Types, Low Severity (6)


sftp.h
[+] struct sftp_session_struct (6)

to the top

Problems with Symbols, Low Severity (218)


libssh.h, libssh.so.3.4.0
[+] buffer_free BUFFER* buffer ) (1)
[+] buffer_get BUFFER* buffer ) (1)
[+] buffer_get_len BUFFER* buffer ) (2)
[+] buffer_new ( ) (1)
[+] channel_change_pty_size ( CHANNEL* channel, int cols, int rows ) (1)
[+] channel_close CHANNEL* channel ) (1)
[+] channel_free CHANNEL* channel ) (1)
[+] channel_get_exit_status CHANNEL* channel ) (1)
[+] channel_get_session CHANNEL* channel ) (2)
[+] channel_is_closed CHANNEL* channel ) (1)
[+] channel_is_eof CHANNEL* channel ) (1)
[+] channel_is_open CHANNEL* channel ) (1)
[+] channel_new SSH_SESSION* session ) (2)
[+] channel_open_forward ( CHANNEL* channel, char const* remotehost, int remoteport, char const* sourcehost, int localport ) (1)
[+] channel_open_session CHANNEL* channel ) (1)
[+] channel_poll ( CHANNEL* channel, int is_stderr ) (1)
[+] channel_read ( CHANNEL* channel, void* dest, u32 count, int is_stderr ) (2)
[+] channel_read_buffer ( CHANNEL* channel, BUFFER* buffer, u32 count, int is_stderr ) (3)
[+] channel_read_nonblocking ( CHANNEL* channel, void* dest, u32 count, int is_stderr ) (2)
[+] channel_request_env ( CHANNEL* channel, char const* name, char const* value ) (1)
[+] channel_request_exec ( CHANNEL* channel, char const* cmd ) (1)
[+] channel_request_pty CHANNEL* channel ) (1)
[+] channel_request_pty_size ( CHANNEL* channel, char const* term, int cols, int rows ) (1)
[+] channel_request_sftp CHANNEL* channel ) (1)
[+] channel_request_shell CHANNEL* channel ) (1)
[+] channel_request_subsystem ( CHANNEL* channel, char const* system ) (2)
[+] channel_select ( CHANNEL** readchans, CHANNEL** writechans, CHANNEL** exceptchans, timeval* timeout ) (3)
[+] channel_send_eof CHANNEL* channel ) (1)
[+] channel_set_blocking ( CHANNEL* channel, int blocking ) (1)
[+] channel_write ( CHANNEL* channel, void const* data, u32 len ) (2)
[+] privatekey_free PRIVATE_KEY* prv ) (1)
[+] privatekey_from_file ( SSH_SESSION* session, char const* filename, int type, char const* passphrase ) (2)
[+] publickey_free PUBLIC_KEY* key ) (1)
[+] publickey_from_file ( SSH_SESSION* session, char const* filename, int* type ) (2)
[+] publickey_from_privatekey PRIVATE_KEY* prv ) (2)
[+] publickey_to_string PUBLIC_KEY* key ) (2)
[+] ssh_auth_list SSH_SESSION* session ) (1)
[+] ssh_connect SSH_SESSION* session ) (1)
[+] ssh_disconnect SSH_SESSION* session ) (1)
[+] ssh_get_disconnect_message SSH_SESSION* session ) (1)
[+] ssh_get_fd SSH_SESSION* session ) (1)
[+] ssh_get_issue_banner SSH_SESSION* session ) (1)
[+] ssh_get_openssh_version SSH_SESSION* session ) (1)
[+] ssh_get_pubkey SSH_SESSION* session ) (2)
[+] ssh_get_pubkey_hash ( SSH_SESSION* session, unsigned char** hash ) (1)
[+] ssh_get_status SSH_SESSION* session ) (1)
[+] ssh_get_version SSH_SESSION* session ) (1)
[+] ssh_is_server_known SSH_SESSION* session ) (1)
[+] ssh_log ( SSH_SESSION* session, int prioriry, char const* format, ... ) (1)
[+] ssh_new ( ) (1)
[+] ssh_options_copy SSH_OPTIONS* opt ) (1)
[+] ssh_options_getopt ( SSH_OPTIONS* options, int* argcptr, char** argv ) (2)
[+] ssh_select ( CHANNEL** channels, CHANNEL** outchannels, socket_t maxfd, fd_set* readfds, timeval* timeout ) (2)
[+] ssh_service_request ( SSH_SESSION* session, char const* service ) (1)
[+] ssh_set_blocking ( SSH_SESSION* session, int blocking ) (1)
[+] ssh_set_fd_except SSH_SESSION* session ) (1)
[+] ssh_set_fd_toread SSH_SESSION* session ) (1)
[+] ssh_set_fd_towrite SSH_SESSION* session ) (1)
[+] ssh_silent_disconnect SSH_SESSION* session ) (1)
[+] ssh_userauth_agent_pubkey ( SSH_SESSION* session, char const* username, PUBLIC_KEY* publickey ) (2)
[+] ssh_userauth_autopubkey ( SSH_SESSION* session, char const* passphrase ) (1)
[+] ssh_userauth_kbdint ( SSH_SESSION* session, char const* user, char const* submethods ) (1)
[+] ssh_userauth_kbdint_getinstruction SSH_SESSION* session ) (1)
[+] ssh_userauth_kbdint_getname SSH_SESSION* session ) (1)
[+] ssh_userauth_kbdint_getnprompts SSH_SESSION* session ) (1)
[+] ssh_userauth_kbdint_getprompt ( SSH_SESSION* session, unsigned int i, char* echo ) (1)
[+] ssh_userauth_kbdint_setanswer ( SSH_SESSION* session, unsigned int i, char const* answer ) (1)
[+] ssh_userauth_list ( SSH_SESSION* session, char const* username ) (1)
[+] ssh_userauth_none ( SSH_SESSION* session, char const* username ) (1)
[+] ssh_userauth_offer_pubkey ( SSH_SESSION* session, char const* username, int type, STRING* publickey ) (2)
[+] ssh_userauth_password ( SSH_SESSION* session, char const* username, char const* password ) (1)
[+] ssh_userauth_pubkey ( SSH_SESSION* session, char const* username, STRING* publickey, PRIVATE_KEY* privatekey ) (3)
[+] ssh_write_knownhost SSH_SESSION* session ) (1)
[+] string_burn STRING* str ) (1)
[+] string_copy STRING* str ) (2)
[+] string_data STRING* str ) (1)
[+] string_fill STRING* str, void const* data, size_t len ) (1)
[+] string_free STRING* str ) (1)
[+] string_from_char char const* what ) (1)
[+] string_len STRING* str ) (1)
[+] string_new size_t size ) (1)
[+] string_to_char STRING* str ) (1)

server.h, libssh.so.3.4.0
[+] ssh_accept SSH_SESSION* session ) (1)
[+] ssh_bind_accept SSH_BIND* ssh_bind ) (1)
[+] ssh_bind_fd_toaccept SSH_BIND* ssh_bind ) (2)
[+] ssh_bind_free SSH_BIND* ssh_bind ) (2)
[+] ssh_bind_get_fd SSH_BIND* ssh_bind ) (2)
[+] ssh_bind_listen SSH_BIND* ssh_bind ) (2)
[+] ssh_bind_new ( ) (1)
[+] ssh_bind_set_blocking ( SSH_BIND* ssh_bind, int blocking ) (2)
[+] ssh_bind_set_fd ( SSH_BIND* ssh_bind, socket_t fd ) (2)
[+] ssh_message_auth_password SSH_MESSAGE* msg ) (1)
[+] ssh_message_auth_reply_success ( SSH_MESSAGE* msg, int partial ) (1)
[+] ssh_message_auth_set_methods ( SSH_MESSAGE* msg, int methods ) (1)
[+] ssh_message_auth_user SSH_MESSAGE* msg ) (1)
[+] ssh_message_channel_request_open_reply_accept SSH_MESSAGE* msg ) (2)
[+] ssh_message_channel_request_reply_success SSH_MESSAGE* msg ) (1)
[+] ssh_message_channel_request_subsystem SSH_MESSAGE* msg ) (1)
[+] ssh_message_free SSH_MESSAGE* msg ) (1)
[+] ssh_message_get SSH_SESSION* session ) (2)
[+] ssh_message_reply_default SSH_MESSAGE* msg ) (1)
[+] ssh_message_subtype SSH_MESSAGE* msg ) (1)
[+] ssh_message_type SSH_MESSAGE* msg ) (1)

sftp.h, libssh.so.3.4.0
[+] buffer_add_attributes BUFFER* buffer, SFTP_ATTRIBUTES* attr ) (2)
[+] sftp_async_read SFTP_FILE* file, void* data, u32 len, u32 id ) (3)
[+] sftp_async_read_begin SFTP_FILE* file, u32 len ) (2)
[+] sftp_attributes_free SFTP_ATTRIBUTES* file ) (1)
[+] sftp_canonicalize_path ( SFTP_SESSION* sftp, char const* path ) (1)
[+] sftp_chmod ( SFTP_SESSION* sftp, char const* file, mode_t mode ) (1)
[+] sftp_chown ( SFTP_SESSION* sftp, char const* file, uid_t owner, gid_t group ) (1)
[+] sftp_client_message_free SFTP_CLIENT_MESSAGE* msg ) (1)
[+] sftp_close SFTP_FILE* file ) (1)
[+] sftp_closedir SFTP_DIR* dir ) (1)
[+] sftp_dir_eof SFTP_DIR* dir ) (1)
[+] sftp_file_set_blocking SFTP_FILE* handle ) (1)
[+] sftp_file_set_nonblocking SFTP_FILE* handle ) (1)
[+] sftp_free SFTP_SESSION* sftp ) (1)
[+] sftp_fstat SFTP_FILE* file ) (2)
[+] sftp_get_client_message SFTP_SESSION* sftp ) (2)
[+] sftp_get_error SFTP_SESSION* sftp ) (1)
[+] sftp_handle ( SFTP_SESSION* sftp, STRING* handle ) (2)
[+] sftp_handle_alloc ( SFTP_SESSION* sftp, void* info ) (2)
[+] sftp_handle_remove ( SFTP_SESSION* sftp, void* handle ) (1)
[+] sftp_init SFTP_SESSION* sftp ) (1)
[+] sftp_lstat ( SFTP_SESSION* session, char const* path ) (2)
[+] sftp_mkdir ( SFTP_SESSION* sftp, char const* directory, mode_t mode ) (1)
[+] sftp_new SSH_SESSION* session ) (2)
[+] sftp_open ( SFTP_SESSION* session, char const* file, int flags, mode_t mode ) (3)
[+] sftp_opendir ( SFTP_SESSION* session, char const* path ) (2)
[+] sftp_packet_free SFTP_PACKET* packet ) (1)
[+] sftp_packet_read SFTP_SESSION* sftp ) (2)
[+] sftp_packet_write ( SFTP_SESSION* sftp, u8 type, BUFFER* payload ) (3)
[+] sftp_parse_attr ( SFTP_SESSION* session, BUFFER* buf, int expectname ) (3)
[+] sftp_read SFTP_FILE* file, void* buf, size_t count ) (1)
[+] sftp_readdir ( SFTP_SESSION* session, SFTP_DIR* dir ) (3)
[+] sftp_readlink ( SFTP_SESSION* sftp, char const* path ) (1)
[+] sftp_rename ( SFTP_SESSION* sftp, char const* original, char const* newname ) (1)
[+] sftp_reply_attr ( SFTP_CLIENT_MESSAGE* msg, SFTP_ATTRIBUTES* attr ) (2)
[+] sftp_reply_data ( SFTP_CLIENT_MESSAGE* msg, void const* data, int len ) (1)
[+] sftp_reply_handle ( SFTP_CLIENT_MESSAGE* msg, STRING* handle ) (2)
[+] sftp_reply_name ( SFTP_CLIENT_MESSAGE* msg, char const* name, SFTP_ATTRIBUTES* attr ) (2)
[+] sftp_reply_names SFTP_CLIENT_MESSAGE* msg ) (1)
[+] sftp_reply_names_add ( SFTP_CLIENT_MESSAGE* msg, char const* file, char const* longname, SFTP_ATTRIBUTES* attr ) (2)
[+] sftp_reply_status ( SFTP_CLIENT_MESSAGE* msg, u32 status, char const* message ) (2)
[+] sftp_rewind SFTP_FILE* file ) (1)
[+] sftp_rmdir ( SFTP_SESSION* sftp, char const* directory ) (1)
[+] sftp_seek SFTP_FILE* file, u32 new_offset ) (2)
[+] sftp_seek64 SFTP_FILE* file, u64 new_offset ) (2)
[+] sftp_server_version SFTP_SESSION* sftp ) (1)
[+] sftp_setstat ( SFTP_SESSION* sftp, char const* file, SFTP_ATTRIBUTES* attr ) (2)
[+] sftp_stat ( SFTP_SESSION* session, char const* path ) (2)
[+] sftp_symlink ( SFTP_SESSION* sftp, char const* target, char const* dest ) (1)
[+] sftp_tell SFTP_FILE* file ) (1)
[+] sftp_tell64 SFTP_FILE* file ) (2)
[+] sftp_unlink ( SFTP_SESSION* sftp, char const* file ) (1)
[+] sftp_utimes ( SFTP_SESSION* sftp, char const* file, timeval const* times ) (1)
[+] sftp_write SFTP_FILE* file, void const* buf, size_t count ) (1)

to the top

Problems with Constants (7)


libssh.h
[+] SSH_AUTH_METHOD_HOSTBASED
[+] SSH_AUTH_METHOD_INTERACTIVE
[+] SSH_AUTH_METHOD_PASSWORD
[+] SSH_AUTH_METHOD_PUBLICKEY
[+] SSH_CLOSED
[+] SSH_CLOSED_ERROR
[+] SSH_READ_PENDING

to the top

Header Files (4)


libssh.h
server.h
sftp.h
ssh2.h

to the top

Shared Libraries (1)


libssh.so.3.4.0

to the top




Generated on Fri Apr 6 16:31:18 2012 for libssh by ABI Compliance Checker 1.97.3  
A tool for checking backward compatibility of a C/C++ library API