Tor  0.4.6.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.