From 18c6e139932630615bf3fee232dc5e08fac42449 Mon Sep 17 00:00:00 2001 From: Andrea Shepard Date: Tue, 28 Jun 2016 00:09:45 +0000 Subject: Expose authority certificate download statuses on the control port --- src/or/routerlist.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/or/routerlist.h') 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); -- cgit v1.2.3-54-g00ecf