|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <openssl/base.h>#include <string>#include <vector>#include <errno.h>#include <limits.h>#include <stddef.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <arpa/inet.h>#include <fcntl.h>#include <netdb.h>#include <netinet/in.h>#include <sys/select.h>#include <sys/socket.h>#include <unistd.h>#include <openssl/err.h>#include <openssl/ssl.h>#include <openssl/x509.h>#include "internal.h"#include "transport_common.h"Classes | |
| class | SocketLineReader |
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) |
| bool Accept | ( | int * | out_sock, |
| const std::string & | port | ||
| ) |
| bool Connect | ( | int * | out_sock, |
| const std::string & | hostname_and_port | ||
| ) |
| bool DoSMTPStartTLS | ( | int | sock | ) |
| bool InitSocketLibrary | ( | ) |
| bool SocketSetNonBlocking | ( | int | sock, |
| bool | is_non_blocking | ||
| ) |
| bool TransferData | ( | SSL * | ssl, |
| int | sock | ||
| ) |
| bool VersionFromString | ( | uint16_t * | out_version, |
| const std::string & | version | ||
| ) |
1.8.13