1
0
mirror of https://github.com/payden/libwsclient synced 2024-10-27 17:54:01 +00:00

Update wsclient.h

Add user_data field to _wsclient structure.
This commit is contained in:
Demchenko Eugene 2020-06-10 12:13:07 +04:00 committed by GitHub
parent d416fcb62c
commit 4d3d0389f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,6 +109,7 @@ typedef struct _wsclient {
wsclient_frame *current_frame; wsclient_frame *current_frame;
struct sockaddr_un helper_sa; struct sockaddr_un helper_sa;
int helper_sock; int helper_sock;
void *user_data;
#ifdef HAVE_LIBSSL #ifdef HAVE_LIBSSL
SSL_CTX *ssl_ctx; SSL_CTX *ssl_ctx;
SSL *ssl; SSL *ssl;