diff options
author | Roger Dingledine <arma@torproject.org> | 2004-08-17 06:27:32 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-08-17 06:27:32 +0000 |
commit | ee23b7a470c6bc0f5cf08ea2ca13d541626de6b6 (patch) | |
tree | 26f82c4502527df17a58b2faeda78827cba0a549 /src/or/or.h | |
parent | 590cd621f86ba5d454ed35ff411fab4ab48a6c61 (diff) | |
download | tor-ee23b7a470c6bc0f5cf08ea2ca13d541626de6b6.tar.gz tor-ee23b7a470c6bc0f5cf08ea2ca13d541626de6b6.zip |
use unverified routers in the desired positions
svn:r2249
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/or/or.h b/src/or/or.h index a0c1a7c113..fd5b9ccbd3 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -808,10 +808,11 @@ struct circuit_t { typedef struct circuit_t circuit_t; -#define ALLOW_UNVERIFIED_ENTRY 1 -#define ALLOW_UNVERIFIED_EXIT 2 -#define ALLOW_UNVERIFIED_MIDDLE 4 - +#define ALLOW_UNVERIFIED_ENTRY 1 +#define ALLOW_UNVERIFIED_EXIT 2 +#define ALLOW_UNVERIFIED_MIDDLE 4 +#define ALLOW_UNVERIFIED_RENDEZVOUS 8 +#define ALLOW_UNVERIFIED_INTRODUCTION 16 /** Configuration options for a Tor process */ typedef struct { @@ -1392,12 +1393,11 @@ routerinfo_t *router_pick_directory_server(int requireauth, int requireothers); int all_directory_servers_down(void); struct smartlist_t; void add_nickname_list_to_smartlist(struct smartlist_t *sl, const char *list); -void router_add_running_routers_to_smartlist(struct smartlist_t *sl); int router_nickname_matches(routerinfo_t *router, const char *nickname); routerinfo_t *router_choose_random_node(char *preferred, char *excluded, struct smartlist_t *excludedsmartlist, int preferuptime, int preferbandwidth, - int strict); + int allow_unverified, int strict); routerinfo_t *router_get_by_addr_port(uint32_t addr, uint16_t port); routerinfo_t *router_get_by_nickname(const char *nickname); routerinfo_t *router_get_by_hexdigest(const char *hexdigest); |