mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Fix double-typedef of or_circuit_t.
This commit is contained in:
parent
a8ac2a62cb
commit
4098bfa260
@ -12,23 +12,23 @@
|
|||||||
typedef HT_HEAD(hs_circuitmap_ht, or_circuit_t) hs_circuitmap_ht;
|
typedef HT_HEAD(hs_circuitmap_ht, or_circuit_t) hs_circuitmap_ht;
|
||||||
|
|
||||||
typedef struct hs_token_s hs_token_t;
|
typedef struct hs_token_s hs_token_t;
|
||||||
typedef struct or_circuit_t or_circuit_t;
|
struct or_circuit_t;
|
||||||
|
|
||||||
/** Public HS circuitmap API: */
|
/** Public HS circuitmap API: */
|
||||||
|
|
||||||
or_circuit_t *hs_circuitmap_get_rend_circ(const uint8_t *cookie);
|
struct or_circuit_t *hs_circuitmap_get_rend_circ(const uint8_t *cookie);
|
||||||
or_circuit_t *
|
struct or_circuit_t *hs_circuitmap_get_intro_circ_v3(
|
||||||
hs_circuitmap_get_intro_circ_v3(const ed25519_public_key_t *auth_key);
|
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_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);
|
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);
|
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);
|
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_init(void);
|
||||||
void hs_circuitmap_free_all(void);
|
void hs_circuitmap_free_all(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user