diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-02-02 20:06:43 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-02-02 20:06:43 +0000 |
commit | fefba953634ef35e2ec83716924c84a375e86ad6 (patch) | |
tree | 58f786243ef3553a70dedc8f34db668764071099 /src/or/router.c | |
parent | e521c96cb191ae746e06304b6bba49d925f63469 (diff) | |
download | tor-fefba953634ef35e2ec83716924c84a375e86ad6.tar.gz tor-fefba953634ef35e2ec83716924c84a375e86ad6.zip |
r11629@catbus: nickm | 2007-02-02 15:06:17 -0500
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch!
svn:r9477
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index f2cf47f40d..8b5905b4e8 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -27,10 +27,14 @@ extern long stats_n_seconds_working; /** Private keys for this OR. There is also an SSL key managed by tortls.c. */ static tor_mutex_t *key_lock=NULL; -static time_t onionkey_set_at=0; /* When was onionkey last changed? */ +static time_t onionkey_set_at=0; /**< When was onionkey last changed? */ +/** DOCDOC */ static crypto_pk_env_t *onionkey=NULL; +/** DOCDOC */ static crypto_pk_env_t *lastonionkey=NULL; +/** DOCDOC */ static crypto_pk_env_t *identitykey=NULL; +/** DOCDOC */ static char identitykey_digest[DIGEST_LEN]; /** Replace the current onion key with <b>k</b>. Does not affect lastonionkey; @@ -995,6 +999,7 @@ check_descriptor_bandwidth_changed(time_t now) } } +/** DOCDOC */ static void log_addr_has_changed(int severity, uint32_t prev, uint32_t cur) { @@ -1045,6 +1050,7 @@ check_descriptor_ipaddress_changed(time_t now) } } +/** DOCDOC */ static uint32_t last_guessed_ip = 0; /** A directory authority told us our IP address is <b>suggestion</b>. |