diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-04-08 14:35:02 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-05-03 18:15:00 +0300 |
commit | c3a5e6b4363eba5157c7cccc049f31f6ae144fcf (patch) | |
tree | 5a70768d551d943396ce5a78d8d93e2a64ef17ce | |
parent | b3492d53c3f643a1e6b2e62bb8b2ad5bfa77213e (diff) | |
download | tor-c3a5e6b4363eba5157c7cccc049f31f6ae144fcf.tar.gz tor-c3a5e6b4363eba5157c7cccc049f31f6ae144fcf.zip |
Hiding crypt_path_t: Introduce opaque crypt_path_private_t .
This will be our base for incrementally hiding crypt_path_t.
-rw-r--r-- | src/core/or/crypt_path_st.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/or/crypt_path_st.h b/src/core/or/crypt_path_st.h index 429480f8ab..90f6a37881 100644 --- a/src/core/or/crypt_path_st.h +++ b/src/core/or/crypt_path_st.h @@ -24,6 +24,15 @@ struct onion_handshake_state_t { } u; }; +#ifdef CRYPT_PATH_PRIVATE + +/* The private parts of crypt path that don't need to be exposed to all the + * modules. */ +struct crypt_path_private_t { +}; + +#endif + /** Holds accounting information for a single step in the layered encryption * performed by a circuit. Used only at the client edge of a circuit. */ struct crypt_path_t { @@ -65,6 +74,10 @@ struct crypt_path_t { * at this step? */ int deliver_window; /**< How many cells are we willing to deliver originating * at this step? */ + + /* Private parts of the crypt_path. Eventually everything should be + * private. */ + struct crypt_path_private_t *private; }; #endif |