9 #ifndef TOR_HS_CIRCUITMAP_H
10 #define TOR_HS_CIRCUITMAP_H
14 typedef struct hs_token_t hs_token_t;
30 const uint8_t *cookie);
53 const uint8_t *cookie);
56 const uint8_t *cookie);
63 #ifdef HS_CIRCUITMAP_PRIVATE
68 HS_TOKEN_REND_RELAY_SIDE,
70 HS_TOKEN_INTRO_V3_RELAY_SIDE,
73 HS_TOKEN_REND_SERVICE_SIDE,
75 HS_TOKEN_INTRO_V3_SERVICE_SIDE,
78 HS_TOKEN_REND_CLIENT_SIDE,
98 hs_circuitmap_ht *get_hs_circuitmap(
void);
void hs_circuitmap_register_intro_circ_v3_service_side(origin_circuit_t *circ, const ed25519_public_key_t *auth_key)
void hs_circuitmap_register_intro_circ_v3_relay_side(or_circuit_t *circ, const ed25519_public_key_t *auth_key)
struct or_circuit_t * hs_circuitmap_get_intro_circ_v3_relay_side(const struct ed25519_public_key_t *auth_key)
void hs_circuitmap_free_all(void)
struct origin_circuit_t * hs_circuitmap_get_established_rend_circ_client_side(const uint8_t *cookie)
struct or_circuit_t * hs_circuitmap_get_rend_circ_relay_side(const uint8_t *cookie)
void hs_circuitmap_init(void)
struct origin_circuit_t * hs_circuitmap_get_rend_circ_service_side(const uint8_t *cookie)
smartlist_t * hs_circuitmap_get_all_intro_circ_relay_side(void)
void hs_circuitmap_register_rend_circ_client_side(struct origin_circuit_t *circ, const uint8_t *cookie)
void hs_circuitmap_remove_circuit(struct circuit_t *circ)
void hs_circuitmap_register_rend_circ_relay_side(struct or_circuit_t *circ, const uint8_t *cookie)
struct origin_circuit_t * hs_circuitmap_get_rend_circ_client_side(const uint8_t *cookie)
struct origin_circuit_t * hs_circuitmap_get_intro_circ_v3_service_side(const struct ed25519_public_key_t *auth_key)
void hs_circuitmap_register_rend_circ_service_side(struct origin_circuit_t *circ, const uint8_t *cookie)
typedef HT_HEAD(hs_service_ht, hs_service_t) hs_service_ht