Tor  0.4.7.0-alpha-dev
Data Structures | Macros
crypt_path_st.h File Reference

Path structures for origin circuits. More...

#include "core/or/relay_crypto_st.h"

Go to the source code of this file.

Data Structures

struct  onion_handshake_state_t
 
struct  crypt_path_t
 

Macros

#define CRYPT_PATH_MAGIC   0x70127012u
 
#define CRYPT_PATH_PRIV_FIELD(x)   x ## _crypt_path_private_field
 
#define CPATH_STATE_CLOSED   0
 
#define CPATH_STATE_AWAITING_KEYS   1
 
#define CPATH_STATE_OPEN   2
 

Detailed Description

Path structures for origin circuits.

Definition in file crypt_path_st.h.

Macro Definition Documentation

◆ CRYPT_PATH_PRIV_FIELD

#define CRYPT_PATH_PRIV_FIELD (   x)    x ## _crypt_path_private_field

Macro to encapsulate private members of a struct.

Renames 'x' to 'x_crypt_path_private_field'.

Definition at line 36 of file crypt_path_st.h.