guacamole/socket-ssl.h File Reference

Provides an SSL/TLS implementation of guac_socket. More...

Go to the source code of this file.

Data Structures

struct  guac_socket_ssl_data
 SSL socket-specific data. More...

Functions

guac_socketguac_socket_open_secure (SSL_CTX *context, int fd)
 Creates a new guac_socket which will use SSL for all communication.

Detailed Description

Provides an SSL/TLS implementation of guac_socket.

This header will only be available if libguac was built with SSL support.


Function Documentation

guac_socket* guac_socket_open_secure ( SSL_CTX *  context,
int  fd 
)

Creates a new guac_socket which will use SSL for all communication.

Freeing this guac_socket will automatically close the associated file descriptor.

Parameters:
context The SSL_CTX structure describing the desired SSL configuration.
fd The file descriptor to use for the SSL connection underlying the created guac_socket.
Returns:
A newly-allocated guac_socket which will transparently use SSL for all communication.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 12 Jan 2021 for libguac by  doxygen 1.6.1