ABI compliance report for the library libssh from version 0.3.4 to 0.4.0 on x86_64


Summary


Total header files checked6
Total shared objects checked1
Total interfaces / types checked250 / 70
VerdictIncompatible

Problem Summary


Added interfaces55
Withdrawn interfaces26
Problems in
Data Types
High risk0
Medium risk0
Low risk4
Interface
problems
High risk0
Medium risk2
Low risk81
Constants Problems8

Added Interfaces (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

Withdrawn Interfaces (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 in Data Types, Low risk (4)


sftp.h
[+] sftp_session_struct (4)

to the top

Interface problems, Medium risk (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

Interface problems, Low risk (81)


libssh.h, libssh.so.3.4.0
[+] buffer_get_len (BUFFER* buffer) (1)
[+] channel_read (CHANNEL* channel, void* dest, u32 count, int is_stderr) (1)
[+] channel_read_buffer (CHANNEL* channel, BUFFER* buffer, u32 count, int is_stderr) (1)
[+] channel_read_nonblocking (CHANNEL* channel, void* dest, u32 count, int is_stderr) (1)
[+] channel_write (CHANNEL* channel, void const* data, u32 len) (1)

sftp.h, libssh.so.3.4.0
[+] buffer_add_attributes (BUFFER* buffer, SFTP_ATTRIBUTES* attr) (1)
[+] 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) (1)
[+] sftp_handle_alloc (SFTP_SESSION* sftp, void* info) (1)
[+] 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) (1)
[+] sftp_open (SFTP_SESSION* session, char const* file, int flags, mode_t mode) (2)
[+] 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) (2)
[+] sftp_parse_attr (SFTP_SESSION* session, BUFFER* buf, int expectname) (2)
[+] 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) (1)
[+] 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

Constants Problems (8)


libssh.h
[+] LIBSSH_VERSION_MINOR
[+] 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

Checked header files (6)


crypto.h
libssh.h
server.h
sftp.h
ssh1.h
ssh2.h

to the top

Checked shared objects (1)


libssh.so.3.4.0

to the top




Generated on Thu Dec 10 13:57:28 2009 for libssh by ABI-compliance-checker 1.12