Tor 0.4.9.0-alpha-dev
Data Structures | Macros | Enumerations
tortls_st.h File Reference

Structure declarations for internal TLS types. More...

#include "lib/net/socket.h"

Go to the source code of this file.

Data Structures

struct  tor_tls_context_t
 
struct  tor_tls_t
 

Macros

#define TOR_TLS_MAGIC   0x71571571
 
#define tor_tls_state_bitfield_t   ENUM_BF(tor_tls_state_t)
 

Enumerations

enum  tor_tls_state_t {
  TOR_TLS_ST_HANDSHAKE , TOR_TLS_ST_OPEN , TOR_TLS_ST_GOTCLOSE , TOR_TLS_ST_SENTCLOSE ,
  TOR_TLS_ST_CLOSED , TOR_TLS_ST_RENEGOTIATE , TOR_TLS_ST_BUFFEREVENT
}
 

Detailed Description

Structure declarations for internal TLS types.

These should generally be treated as opaque outside of the lib/tls module.

Definition in file tortls_st.h.

Macro Definition Documentation

◆ TOR_TLS_MAGIC

#define TOR_TLS_MAGIC   0x71571571

Definition at line 19 of file tortls_st.h.

◆ tor_tls_state_bitfield_t

#define tor_tls_state_bitfield_t   ENUM_BF(tor_tls_state_t)

Definition at line 26 of file tortls_st.h.

Enumeration Type Documentation

◆ tor_tls_state_t

enum tor_tls_state_t

Definition at line 21 of file tortls_st.h.