Binary compatibility report for the libwebsockets.so object between 2.4.2 and 3.0.0 versions on x86_64

Test Info


Module Namelibwebsockets
Version #12.4.2
Version #23.0.0
Archx86_64
GCC Version8.0.1

Test Results


Total Header Files1
Total Source Files21
Total Objects1
Total Symbols / Types162 / 60
Compatibility 93.2%

Problem Summary


SeverityCount
Added Symbols-33
Removed SymbolsHigh8
Problems with
Data Types
High0
Medium12
Low31
Problems with
Symbols
High0
Medium0
Low5
Problems with
Constants
Low0
Other Changes
in Data Types
-15

Added Symbols  33 


libwebsockets.h, libwebsockets.so.13
lws_add_http_common_headers ( struct lws* wsi, unsigned int code, char const* content_type, lws_filepos_t content_len, unsigned char** p, unsigned char* end )
lws_b64_decode_string_len ( char const* in, int in_len, char* out, int out_size )
lws_b64_encode_string_url ( char const* in, int in_len, char* out, int out_size )
lws_buflist_append_segment ( struct lws_buflist** head, uint8_t const* buf, size_t len )
lws_buflist_destroy_all_segments ( struct lws_buflist** head )
lws_buflist_next_segment_len ( struct lws_buflist** head, uint8_t** buf )
lws_buflist_use_segment ( struct lws_buflist** head, size_t len )
lws_callback_vhost_protocols_vhost ( struct lws_vhost* vh, int reason, void* in, size_t len )
lws_cmdline_option ( int argc, char const** argv, char const* val )
lws_compare_time_t ( struct lws_context* context, time_t t1, time_t t2 )
lws_create_adopt_udp ( struct lws_vhost* vhost, int port, int flags, char const* protocol_name, struct lws* parent_wsi )
lws_dll_add_front ( struct lws_dll* d, struct lws_dll* phead )
lws_dll_remove ( struct lws_dll* d )
lws_filename_purify_inplace ( char* filename )
lws_finalize_write_http_header ( struct lws* wsi, unsigned char* start, unsigned char** pp, unsigned char* end )
lws_get_udp ( struct lws const* wsi )
lws_get_vhost_iface ( struct lws_vhost* vhost )
lws_get_vhost_listen_port ( struct lws_vhost* vhost )
lws_get_vhost_name ( struct lws_vhost* vhost )
lws_get_vhost_port ( struct lws_vhost* vhost )
lws_get_vhost_user ( struct lws_vhost* vhost )
lws_plat_read_file ( char const* filename, void* buf, int len )
lws_plat_recommended_rsa_bits ( )
lws_plat_write_cert ( struct lws_vhost* vhost, int is_key, int fd, void* buf, int len )
lws_plat_write_file ( char const* filename, void* buf, int len )
lws_pvo_search ( struct lws_protocol_vhost_options const* pvo, char const* name )
lws_ring_dump ( struct lws_ring* ring, uint32_t* tail )
lws_set_timer_usecs ( struct lws* wsi, lws_usec_t usecs )
lws_strncpy ( char* dest, char const* src, size_t size )
lws_timed_callback_vh_protocol ( struct lws_vhost* vh, struct lws_protocols const* prot, int reason, int secs )
lws_tls_cert_updated ( struct lws_context* context, char const* certpath, char const* keypath, char const* mem_cert, size_t len_mem_cert, char const* mem_privkey, size_t len_mem_privkey )
lws_tls_peer_cert_info ( struct lws* wsi, enum lws_tls_cert_info type, union lws_tls_cert_info_results* buf, size_t len )
lws_tls_vhost_cert_info ( struct lws_vhost* vhost, enum lws_tls_cert_info type, union lws_tls_cert_info_results* buf, size_t len )

to the top

Removed Symbols  8 


libwebsockets.h, libwebsockets.so.12
lws_alloc_vfs_file ( struct lws_context* context, char const* filename, uint8_t** buf, lws_filepos_t* amount )
lws_context_destroy2 ( struct lws_context* context )
lws_ext_parse_options ( struct lws_extension const* ext, struct lws* wsi, void* ext_user, struct lws_ext_options const* opts, char const* in, int len )
lws_genhash_destroy ( struct lws_genhash_ctx* ctx, void* result )
lws_genhash_init ( struct lws_genhash_ctx* ctx, int type )
lws_genhash_size ( int type )
lws_genhash_update ( struct lws_genhash_ctx* ctx, void const* in, size_t len )
lws_read ( struct lws* wsi, unsigned char* buf, lws_filepos_t len )

to the top

Problems with Data Types, Medium Severity  12 


libwebsockets.h
[+] enum lws_token_indexes  12 

to the top

Problems with Data Types, Low Severity  31 


libwebsockets.h
[+] enum lws_extension_callback_reasons  17 
[+] enum lws_token_indexes  1 
[+] enum pending_timeout  1 
[+] struct lws_client_connect_info  3 
[+] struct lws_context_creation_info  6 
[+] struct lws_process_html_args  1 
[+] struct lws_token_limits  2 

to the top

Problems with Symbols, Low Severity  5 


libwebsockets.h, libwebsockets.so.12
[+] lws_create_context ( struct lws_context_creation_info* info )  1 
[+] lws_create_vhost ( struct lws_context* context, struct lws_context_creation_info* info )  1 
[+] lws_get_peer_write_allowance ( struct lws* wsi )  1 
[+] lws_get_socket_fd ( struct lws* wsi )  1 
[+] lws_get_ssl ( struct lws* wsi )  1 

to the top

Other Changes in Data Types  15 


libwebsockets.h
[+] enum lws_adoption_type  2 
[+] enum lws_callback_reasons  5 
[+] enum lws_close_status  1 
[+] enum lws_token_indexes  4 
[+] enum pending_timeout  3 

to the top

Header Files  1 


libwebsockets.h

to the top

Source Files  21 


alloc.c
base64-decode.c
client-handshake.c
client.c
context.c
extension-permessage-deflate.c
extension.c
handshake.c
header.c
libwebsockets.c
lws-genhash.c
lws-plat-unix.c
lws-ring.c
lws-spa.c
output.c
parsers.c
pollfd.c
server.c
service.c
sha-1.c
ssl.c

to the top

Objects  1 


libwebsockets.so.12

to the top