Macros | Functions
SSLSocket.h File Reference
#include <pthread.h>
#include <semaphore.h>
#include <openssl/ssl.h>
#include "SocketBuffer.h"
#include "Clients.h"
Include dependency graph for SSLSocket.h:

Go to the source code of this file.

Macros

#define ssl_mutex_type   pthread_mutex_t
 
#define URI_SSL   "ssl://"
 

Functions

int SSLSocket_close (networkHandles *net)
 
int SSLSocket_connect (SSL *ssl, int sock, const char *hostname, int verify, int(*cb)(const char *str, size_t len, void *u), void *u)
 
int SSLSocket_continueWrite (pending_writes *pw)
 
int SSLSocket_getch (SSL *ssl, int socket, char *c)
 
char * SSLSocket_getdata (SSL *ssl, int socket, size_t bytes, size_t *actual_len, int *rc)
 
int SSLSocket_getPendingRead (void)
 
void SSLSocket_handleOpensslInit (int bool_value)
 
int SSLSocket_initialize (void)
 
int SSLSocket_putdatas (SSL *ssl, int socket, char *buf0, size_t buf0len, PacketBuffers bufs)
 
int SSLSocket_setSocketForSSL (networkHandles *net, MQTTClient_SSLOptions *opts, const char *hostname, size_t hostname_len)
 
void SSLSocket_terminate (void)
 

Macro Definition Documentation

#define ssl_mutex_type   pthread_mutex_t

Definition at line 26 of file SSLSocket.h.

#define URI_SSL   "ssl://"

Definition at line 33 of file SSLSocket.h.

Function Documentation

int SSLSocket_close ( networkHandles net)
int SSLSocket_connect ( SSL *  ssl,
int  sock,
const char *  hostname,
int  verify,
int(*)(const char *str, size_t len, void *u)  cb,
void *  u 
)
int SSLSocket_continueWrite ( pending_writes pw)
int SSLSocket_getch ( SSL *  ssl,
int  socket,
char *  c 
)
char* SSLSocket_getdata ( SSL *  ssl,
int  socket,
size_t  bytes,
size_t *  actual_len,
int *  rc 
)
int SSLSocket_getPendingRead ( void  )
void SSLSocket_handleOpensslInit ( int  bool_value)

if we should handle openssl initialization (bool_value == 1) or depend on it to be initalized externally (bool_value == 0)

int SSLSocket_initialize ( void  )
int SSLSocket_putdatas ( SSL *  ssl,
int  socket,
char *  buf0,
size_t  buf0len,
PacketBuffers  bufs 
)
int SSLSocket_setSocketForSSL ( networkHandles net,
MQTTClient_SSLOptions opts,
const char *  hostname,
size_t  hostname_len 
)
void SSLSocket_terminate ( void  )


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49