Enumerations |
enum | onion_mode_e {
O_ONE = 1,
O_ONE_LOOP = 3,
O_THREADED = 4,
O_DETACH_LISTEN = 8,
O_SYSTEMD = 0x010,
O_POLL = 0x020,
O_POOL = 0x024,
O_NO_SIGPIPE = 0x040,
O_NO_SIGTERM = 0x080,
O_SSL_AVAILABLE = 0x0100,
O_SSL_ENABLED = 0x0200,
O_THREADS_AVAILABLE = 0x0400,
O_THREADS_ENABLED = 0x0800,
O_DETACHED = 0x01000,
O_LISTENING = 0x02000
} |
enum | onion_connection_status_e {
OCS_NOT_PROCESSED = 0,
OCS_NEED_MORE_DATA = 1,
OCS_PROCESSED = 2,
OCS_CLOSE_CONNECTION = -2,
OCS_KEEP_ALIVE = 3,
OCS_WEBSOCKET = 4,
OCS_REQUEST_READY = 5,
OCS_INTERNAL_ERROR = -500,
OCS_NOT_IMPLEMENTED = -501,
OCS_FORBIDDEN = -502,
OCS_YIELD = -3
} |
| The desired connection state of the connection.If <0 it means close connection. May mean also to show something to the client. More...
|
enum | onion_ssl_flags_e { O_USE_DEV_RANDOM = 0x0100
} |
enum | onion_ssl_certificate_type_e {
O_SSL_NONE = 0,
O_SSL_CERTIFICATE_KEY = 1,
O_SSL_CERTIFICATE_CRL = 2,
O_SSL_CERTIFICATE_TRUST = 3,
O_SSL_CERTIFICATE_PKCS12 = 4,
O_SSL_DER = 0x0100,
O_SSL_NO_DEINIT = 0x0200
} |