diff options
author | David Goulet <dgoulet@torproject.org> | 2016-12-21 15:00:02 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-12-21 15:00:19 -0500 |
commit | 2d1fa58fb442122a64cdef9be1d18e8f53067038 (patch) | |
tree | c23cbf29cad1e81ce3eac4e5413154d9a611e5f4 /src/or/rendservice.h | |
parent | 36b5ca2c8b07f4cbdb1b76e9fb0c10fff3d540ac (diff) | |
download | tor-2d1fa58fb442122a64cdef9be1d18e8f53067038.tar.gz tor-2d1fa58fb442122a64cdef9be1d18e8f53067038.zip |
test: Add unit test for prune_services_on_reload()
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/rendservice.h')
-rw-r--r-- | src/or/rendservice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/rendservice.h b/src/or/rendservice.h index 4e6b9a2536..3bfac0bece 100644 --- a/src/or/rendservice.h +++ b/src/or/rendservice.h @@ -132,6 +132,9 @@ STATIC int rend_service_poison_new_single_onion_dir( STATIC ssize_t encode_establish_intro_cell_legacy(char *cell_body_out, crypto_pk_t *intro_key, char *rend_circ_nonce); +STATIC void prune_services_on_reload(smartlist_t *old_service_list, + smartlist_t *new_service_list); + #endif int num_rend_services(void); |