diff options
author | Roger Dingledine <arma@torproject.org> | 2006-01-10 22:42:44 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-01-10 22:42:44 +0000 |
commit | 7d1f675c854dc8914482fb98d853ec1cd898d853 (patch) | |
tree | 5ab4f88cef36d6e4252ae639f9c4c840c4a186e4 /src/or/or.h | |
parent | e27c47b6de9b0234db5c93cdaa00abd3a1199678 (diff) | |
download | tor-7d1f675c854dc8914482fb98d853ec1cd898d853.tar tor-7d1f675c854dc8914482fb98d853ec1cd898d853.tar.gz |
entry nodes are now entry guards.
this is our last easy chance for a wholesale change. heave ho.
svn:r5782
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/or/or.h b/src/or/or.h index 49f3bace5..5914459e9 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1361,9 +1361,9 @@ typedef struct { * log whether it was DNS-leaking or not? */ int HardwareAccel; /**< Boolean: Should we enable OpenSSL hardware * acceleration where available? */ - int UseEntryNodes; /**< Boolean: Do we try to enter from a smallish number - * of fixed nodes? */ - int NumEntryNodes; /**< How many helper nodes do we try to establish? */ + int UseEntryGuards; /**< Boolean: Do we try to enter from a smallish number + * of fixed nodes? */ + int NumEntryGuards; /**< How many entry guards do we try to establish? */ int RephistTrackTime; /**< How many seconds do we keep rephist info? */ int FastFirstHopPK; /**< If Tor believes it is safe, should we save a third * of our PK time by sending CREATE_FAST cells? */ @@ -1384,7 +1384,7 @@ typedef struct { int AccountingSecondsActive; uint64_t AccountingExpectedUsage; - config_line_t *EntryNodes; + config_line_t *EntryGuards; time_t BWHistoryReadEnds; int BWHistoryReadInterval; @@ -1484,14 +1484,14 @@ void extend_info_free(extend_info_t *info); routerinfo_t *build_state_get_exit_router(cpath_build_state_t *state); const char *build_state_get_exit_nickname(cpath_build_state_t *state); -void entry_nodes_set_status_from_directory(void); -int entry_node_set_status(const char *digest, int succeeded); +void entry_guards_set_status_from_directory(void); +int entry_guard_set_status(const char *digest, int succeeded); void entry_nodes_should_be_added(void); -void entry_nodes_prepend_from_config(void); -void entry_nodes_update_state(or_state_t *state); -int entry_nodes_parse_state(or_state_t *state, int set, const char **err); -int entry_nodes_getinfo(const char *question, char **answer); -void entry_nodes_free_all(void); +void entry_guards_prepend_from_config(void); +void entry_guards_update_state(or_state_t *state); +int entry_guards_parse_state(or_state_t *state, int set, const char **err); +int entry_guards_getinfo(const char *question, char **answer); +void entry_guards_free_all(void); /********************************* circuitlist.c ***********************/ |