Classes | Functions
transport_common.h File Reference
#include <openssl/ssl.h>
#include <string.h>
#include <string>
Include dependency graph for transport_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Listener
 

Functions

bool Connect (int *out_sock, const std::string &hostname_and_port)
 
bool DoHTTPTunnel (int sock, const std::string &hostname_and_port)
 
bool DoSMTPStartTLS (int sock)
 
bool InitSocketLibrary ()
 
void PrintConnectionInfo (BIO *bio, const SSL *ssl)
 
void PrintSSLError (FILE *file, const char *msg, int ssl_err, int ret)
 
bool SocketSetNonBlocking (int sock, bool is_non_blocking)
 
bool TransferData (SSL *ssl, int sock)
 
bool VersionFromString (uint16_t *out_version, const std::string &version)
 

Function Documentation

◆ Connect()

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

Definition at line 142 of file transport_common.cc.

◆ DoHTTPTunnel()

bool DoHTTPTunnel ( int  sock,
const std::string &  hostname_and_port 
)

Definition at line 958 of file transport_common.cc.

◆ DoSMTPStartTLS()

bool DoSMTPStartTLS ( int  sock)

Definition at line 901 of file transport_common.cc.

◆ InitSocketLibrary()

bool InitSocketLibrary ( )

Definition at line 79 of file transport_common.cc.

◆ PrintConnectionInfo()

void PrintConnectionInfo ( BIO bio,
const SSL ssl 
)

Definition at line 284 of file transport_common.cc.

◆ PrintSSLError()

void PrintSSLError ( FILE *  file,
const char *  msg,
int  ssl_err,
int  ret 
)

Definition at line 659 of file transport_common.cc.

◆ SocketSetNonBlocking()

bool SocketSetNonBlocking ( int  sock,
bool  is_non_blocking 
)

Definition at line 354 of file transport_common.cc.

◆ TransferData()

bool TransferData ( SSL ssl,
int  sock 
)

Definition at line 682 of file transport_common.cc.

◆ VersionFromString()

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

Definition at line 267 of file transport_common.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:35