|
SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
|
#include "SharkSSL.h"Go to the source code of this file.
Data Structures | |
| struct | Proxy |
| Caller-owned proxy settings with borrowed string pointers. More... | |
Macros | |
| #define | E_PROXY_AUTH -1000 |
| Authentication required or credentials rejected. More... | |
| #define | E_PROXY_GENERAL -1001 |
| General proxy failure or unacceptable HTTP reply. More... | |
| #define | E_PROXY_NOT_ALLOWED -1002 |
| SOCKS connection forbidden by ruleset. More... | |
| #define | E_PROXY_NETWORK -1003 |
| SOCKS destination network unreachable. More... | |
| #define | E_PROXY_HOST -1004 |
| SOCKS host unreachable or HTTP 404 response. More... | |
| #define | E_PROXY_REFUSED -1005 |
| SOCKS connection refused. More... | |
| #define | E_PROXY_TTL -1006 |
| SOCKS TTL expired. More... | |
| #define | E_PROXY_COMMAND_NOT_SUP -1007 |
| SOCKS command unsupported. More... | |
| #define | E_PROXY_ADDRESS_NOT_SUP -1008 |
| SOCKS address type unsupported. More... | |
| #define | E_PROXY_NOT_COMPATIBLE -1009 |
| Unsupported SOCKS version. More... | |
| #define | E_PROXY_UNKNOWN -1010 |
| Unknown SOCKS reply or authentication method. More... | |
| #define | E_PROXY_CLOSED -1011 |
| Transport closed or failed during proxy negotiation. More... | |
| #define | E_PROXY_CANNOTCONNECT -1012 |
| Proxy resolution or TCP connection failed. More... | |
Typedefs | |
| typedef int(* | ProxyConnect) (struct Proxy *o, struct ProxyArgs *args) |
| Internal connector selected by Proxy_constructor; applications do not call it. More... | |
| typedef struct Proxy | Proxy |
| Caller-owned proxy settings with borrowed string pointers. More... | |
Functions | |
| void | Proxy_constructor (Proxy *o, const char *proxyName, U16 proxyPortNo, const char *proxyUserPass, int socks) |
| Initialize settings without allocating memory or opening a connection. More... | |
Optional proxy configuration for the SharkMQ example library.