diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-01-18 12:01:49 +0200 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-04-07 09:11:09 -0400 |
commit | 037ce360bd0a7b0db1d6b6e441c90b1773b4cb06 (patch) | |
tree | 4a63e133b509033e90cd8d6f2cdd1111fd2dc0f1 /src/or/hs_circuitmap.h | |
parent | 489ef6b38ba66f59bb6562a4702c0500478a7495 (diff) | |
download | tor-037ce360bd0a7b0db1d6b6e441c90b1773b4cb06.tar.gz tor-037ce360bd0a7b0db1d6b6e441c90b1773b4cb06.zip |
hs: Refactor circuitmap to use circuit_t instead of or_circuit_t.
Diffstat (limited to 'src/or/hs_circuitmap.h')
-rw-r--r-- | src/or/hs_circuitmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/hs_circuitmap.h b/src/or/hs_circuitmap.h index 6e0c2d44f2..79dea1a572 100644 --- a/src/or/hs_circuitmap.h +++ b/src/or/hs_circuitmap.h @@ -9,7 +9,7 @@ #ifndef TOR_HS_CIRCUITMAP_H #define TOR_HS_CIRCUITMAP_H -typedef HT_HEAD(hs_circuitmap_ht, or_circuit_t) hs_circuitmap_ht; +typedef HT_HEAD(hs_circuitmap_ht, circuit_t) hs_circuitmap_ht; typedef struct hs_token_s hs_token_t; struct or_circuit_t; @@ -28,7 +28,7 @@ void hs_circuitmap_register_intro_circ_v2(struct or_circuit_t *circ, void hs_circuitmap_register_intro_circ_v3(struct or_circuit_t *circ, const ed25519_public_key_t *auth_key); -void hs_circuitmap_remove_circuit(struct or_circuit_t *circ); +void hs_circuitmap_remove_circuit(struct circuit_t *circ); void hs_circuitmap_init(void); void hs_circuitmap_free_all(void); |