diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-07-25 22:56:44 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-07-25 22:56:44 +0000 |
commit | a66f25935483b1b415a878ed208896886dd1df66 (patch) | |
tree | 5e3009b8c32a3f5a9a0aafd95b6203e5523c4096 /src/or/dirserv.c | |
parent | 1b7a704c34443315a1f89280425aa89509a528ee (diff) | |
download | tor-a66f25935483b1b415a878ed208896886dd1df66.tar.gz tor-a66f25935483b1b415a878ed208896886dd1df66.zip |
r13902@catbus: nickm | 2007-07-25 17:43:52 -0400
Some dirvote code to handle generating votes and slinging them around. More code is still needed.
svn:r10927
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 33b3efd9a8..b0716d46f2 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1116,7 +1116,7 @@ cached_dir_decref(cached_dir_t *d) /** Allocate and return a new cached_dir_t containing the string <b>s</b>, * published at <b>published</b>. */ -static cached_dir_t * +cached_dir_t * new_cached_dir(char *s, time_t published) { cached_dir_t *d = tor_malloc_zero(sizeof(cached_dir_t)); @@ -2075,7 +2075,9 @@ format_networkstatus_vote(crypto_pk_env_t *private_signing_key, return status; } -static cached_dir_t * +/** DOCDOC */ +/* XXXX020 possibly rename and relocate to dirvote.c? */ +cached_dir_t * generate_v3_networkstatus(void) { crypto_pk_env_t *key = get_my_v3_authority_signing_key(); |