diff options
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 8836060c20..d1a3cab2f4 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1746,6 +1746,10 @@ typedef struct { * versions? */ int BridgeAuthoritativeDir; /**< Boolean: is this an authoritative directory * that aggregates bridge descriptors? */ + + int UseBridges; /**< Boolean: should we start all circuits with a bridge? */ + config_line_t *Bridges; /**< List of bootstrap bridge addresses. */ + int AvoidDiskWrites; /**< Boolean: should we never cache things to disk? * Not used yet. */ int ClientOnly; /**< Boolean: should we never evolve into a server role? */ @@ -2091,6 +2095,9 @@ int getinfo_helper_entry_guards(control_connection_t *conn, const char *question, char **answer); void entry_guards_free_all(void); +void clear_bridge_list(void); +void bridge_add_from_config(uint32_t addr, uint16_t port, char *digest); + /********************************* circuitlist.c ***********************/ circuit_t * _circuit_get_global_list(void); |