diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-11-19 16:31:50 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-11-26 16:32:40 -0500 |
commit | 02843c4a4e2fab9c5d9cdb95c425c37ff3d1a4ae (patch) | |
tree | 7e5905c0ade8f6a7cf4cd48a7fb153e3dc223ae6 /src/feature/hs/hs_service.h | |
parent | 55512ef022de39770e0787e9dfc2e29e762652ae (diff) | |
download | tor-02843c4a4e2fab9c5d9cdb95c425c37ff3d1a4ae.tar.gz tor-02843c4a4e2fab9c5d9cdb95c425c37ff3d1a4ae.zip |
Test for check_network_participation_callback()
Diffstat (limited to 'src/feature/hs/hs_service.h')
-rw-r--r-- | src/feature/hs/hs_service.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/hs/hs_service.h b/src/feature/hs/hs_service.h index a8a9faaea9..be1155bcd1 100644 --- a/src/feature/hs/hs_service.h +++ b/src/feature/hs/hs_service.h @@ -310,7 +310,7 @@ hs_service_t *hs_service_new(const or_options_t *options); void hs_service_free_(hs_service_t *service); #define hs_service_free(s) FREE_AND_NULL(hs_service_t, hs_service_free_, (s)) -unsigned int hs_service_get_num_services(void); +MOCK_DECL(unsigned int, hs_service_get_num_services,(void)); void hs_service_stage_services(const smartlist_t *service_list); int hs_service_load_all_keys(void); int hs_service_get_version_from_key(const hs_service_t *service); |