RetroArch
|
#include <string.h>
#include <net/net_compat.h>
#include <net/net_socket.h>
#include <net/net_socket_ssl.h>
#include <mbedtls/config.h>
#include <mbedtls/certs.h>
#include <mbedtls/debug.h>
#include <mbedtls/platform.h>
#include <mbedtls/net_sockets.h>
#include <mbedtls/ssl.h>
#include <mbedtls/ctr_drbg.h>
#include <mbedtls/entropy.h>
#include "../../deps/mbedtls/cacert.h"
Classes | |
struct | ssl_state |
Macros | |
#define | DEBUG_LEVEL 0 |
Functions | |
static void | ssl_debug (void *ctx, int level, const char *file, int line, const char *str) |
void * | ssl_socket_init (int fd, const char *domain) |
int | ssl_socket_connect (void *state_data, void *data, bool timeout_enable, bool nonblock) |
ssize_t | ssl_socket_receive_all_nonblocking (void *state_data, bool *error, void *data_, size_t size) |
int | ssl_socket_receive_all_blocking (void *state_data, void *data_, size_t size) |
int | ssl_socket_send_all_blocking (void *state_data, const void *data_, size_t size, bool no_signal) |
ssize_t | ssl_socket_send_all_nonblocking (void *state_data, const void *data_, size_t size, bool no_signal) |
void | ssl_socket_close (void *state_data) |
void | ssl_socket_free (void *state_data) |
Variables | |
static const char * | pers = "libretro" |
#define DEBUG_LEVEL 0 |
|
static |
ssize_t ssl_socket_receive_all_nonblocking | ( | void * | state_data, |
bool * | error, | ||
void * | data_, | ||
size_t | size | ||
) |
int ssl_socket_send_all_blocking | ( | void * | state_data, |
const void * | data_, | ||
size_t | size, | ||
bool | no_signal | ||
) |
ssize_t ssl_socket_send_all_nonblocking | ( | void * | state_data, |
const void * | data_, | ||
size_t | size, | ||
bool | no_signal | ||
) |
|
static |