webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
transport_common.h File Reference
#include <openssl/ssl.h>
#include <string.h>

Go to the source code of this file.

Functions

bool InitSocketLibrary ()
 
bool Connect (int *out_sock, const std::string &hostname_and_port)
 
bool Accept (int *out_sock, const std::string &port)
 
bool VersionFromString (uint16_t *out_version, const std::string &version)
 
void PrintConnectionInfo (const SSL *ssl)
 
bool SocketSetNonBlocking (int sock, bool is_non_blocking)
 
int PrintErrorCallback (const char *str, size_t len, void *ctx)
 
bool TransferData (SSL *ssl, int sock)
 
bool DoSMTPStartTLS (int sock)
 

Function Documentation

◆ Accept()

bool Accept ( int *  out_sock,
const std::string port 
)

◆ Connect()

bool Connect ( int *  out_sock,
const std::string hostname_and_port 
)

◆ DoSMTPStartTLS()

bool DoSMTPStartTLS ( int  sock)

◆ InitSocketLibrary()

bool InitSocketLibrary ( )

◆ PrintConnectionInfo()

void PrintConnectionInfo ( const SSL ssl)

◆ PrintErrorCallback()

int PrintErrorCallback ( const char *  str,
size_t  len,
void ctx 
)

◆ SocketSetNonBlocking()

bool SocketSetNonBlocking ( int  sock,
bool  is_non_blocking 
)

◆ TransferData()

bool TransferData ( SSL ssl,
int  sock 
)

◆ VersionFromString()

bool VersionFromString ( uint16_t out_version,
const std::string version 
)