open62541 1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
bearssl_sockets.h File Reference
#include <sys/socket.h>
#include <netdb.h>
#include <errno.h>
#include <fcntl.h>
#include <bearssl.h>

Go to the source code of this file.

Functions

int open_nb_socket (bearssl_context *ctx, const char *hostname, const char *port, unsigned char *bearssl_iobuf, size_t bearssl_iobuf_len)
 
int close_socket (bearssl_context *ctx)
 

Function Documentation

◆ open_nb_socket()

int open_nb_socket ( bearssl_context * ctx,
const char * hostname,
const char * port,
unsigned char * bearssl_iobuf,
size_t bearssl_iobuf_len )

Definition at line 105 of file bearssl_sockets.h.

◆ close_socket()

int close_socket ( bearssl_context * ctx)

Definition at line 125 of file bearssl_sockets.h.