diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-12-14 16:46:54 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-14 16:46:54 -0500 |
commit | 4098bfa26073551fe3f525ada7fc9079a49fd4bb (patch) | |
tree | 6466127bee93e8e2ef16df654ba2d4e0885773a0 /src | |
parent | a8ac2a62cb29bc9831bafc477927b31a3204af98 (diff) | |
download | tor-4098bfa26073551fe3f525ada7fc9079a49fd4bb.tar.gz tor-4098bfa26073551fe3f525ada7fc9079a49fd4bb.zip |
Fix double-typedef of or_circuit_t.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/hs_circuitmap.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/or/hs_circuitmap.h b/src/or/hs_circuitmap.h index 79767dd535..b587039310 100644 --- a/src/or/hs_circuitmap.h +++ b/src/or/hs_circuitmap.h @@ -12,23 +12,23 @@ typedef HT_HEAD(hs_circuitmap_ht, or_circuit_t) hs_circuitmap_ht; typedef struct hs_token_s hs_token_t; -typedef struct or_circuit_t or_circuit_t; +struct or_circuit_t; /** Public HS circuitmap API: */ -or_circuit_t *hs_circuitmap_get_rend_circ(const uint8_t *cookie); -or_circuit_t * -hs_circuitmap_get_intro_circ_v3(const ed25519_public_key_t *auth_key); -or_circuit_t *hs_circuitmap_get_intro_circ_v2(const uint8_t *digest); +struct or_circuit_t *hs_circuitmap_get_rend_circ(const uint8_t *cookie); +struct or_circuit_t *hs_circuitmap_get_intro_circ_v3( + const ed25519_public_key_t *auth_key); +struct or_circuit_t *hs_circuitmap_get_intro_circ_v2(const uint8_t *digest); -void hs_circuitmap_register_rend_circ(or_circuit_t *circ, +void hs_circuitmap_register_rend_circ(struct or_circuit_t *circ, const uint8_t *cookie); -void hs_circuitmap_register_intro_circ_v2(or_circuit_t *circ, +void hs_circuitmap_register_intro_circ_v2(struct or_circuit_t *circ, const uint8_t *digest); -void hs_circuitmap_register_intro_circ_v3(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(or_circuit_t *circ); +void hs_circuitmap_remove_circuit(struct or_circuit_t *circ); void hs_circuitmap_init(void); void hs_circuitmap_free_all(void); |