aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-06-28 00:09:45 +0000
committerAndrea Shepard <andrea@torproject.org>2016-06-29 05:55:42 +0000
commit18c6e139932630615bf3fee232dc5e08fac42449 (patch)
tree3da4c5aea5fe1820c1120c91f36f9006c5094633 /src/or/routerlist.h
parent8cf9fe5ba63c1c2b711d852b61e734c48cf482b5 (diff)
downloadtor-18c6e139932630615bf3fee232dc5e08fac42449.tar.gz
tor-18c6e139932630615bf3fee232dc5e08fac42449.zip
Expose authority certificate download statuses on the control port
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r--src/or/routerlist.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index be242d6e87..65ba88db42 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -104,6 +104,14 @@ void routerlist_remove(routerlist_t *rl, routerinfo_t *ri, int make_old,
void routerlist_free_all(void);
void routerlist_reset_warnings(void);
+smartlist_t * list_authority_ids_with_downloads(void);
+download_status_t * id_only_download_status_for_authority_id(
+ const char *digest);
+smartlist_t * list_sk_digests_for_authority_id(const char *digest);
+download_status_t * download_status_for_authority_id_and_sk(
+ const char *id_digest,
+ const char *sk_digest);
+
static int WRA_WAS_ADDED(was_router_added_t s);
static int WRA_WAS_OUTDATED(was_router_added_t s);
static int WRA_WAS_REJECTED(was_router_added_t s);