diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-11-07 08:13:31 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-11-07 08:13:31 -0500 |
commit | 582cee723a86e44f140a5057152df06659c36e71 (patch) | |
tree | 7ddfa98303125fc428c0cadb0f1a222e3335e101 /src/feature/hs/hs_service.h | |
parent | 45698e89edecce71256bc5e2529f9610b0eea50f (diff) | |
download | tor-582cee723a86e44f140a5057152df06659c36e71.tar.gz tor-582cee723a86e44f140a5057152df06659c36e71.zip |
Fix various doxygen comments in feature/hs.
Diffstat (limited to 'src/feature/hs/hs_service.h')
-rw-r--r-- | src/feature/hs/hs_service.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/feature/hs/hs_service.h b/src/feature/hs/hs_service.h index 193e08546f..6c929c7ff1 100644 --- a/src/feature/hs/hs_service.h +++ b/src/feature/hs/hs_service.h @@ -29,6 +29,7 @@ /** As described in the specification, service publishes their next descriptor * at a random time between those two values (in seconds). */ #define HS_SERVICE_NEXT_UPLOAD_TIME_MIN (60 * 60) +/** Maximum interval for uploading next descriptor (in seconds). */ #define HS_SERVICE_NEXT_UPLOAD_TIME_MAX (120 * 60) /** Service side introduction point. */ @@ -316,6 +317,11 @@ void hs_service_free_all(void); /* Service new/free functions. */ hs_service_t *hs_service_new(const or_options_t *options); void hs_service_free_(hs_service_t *service); +/** + * @copydoc hs_service_free_ + * + * Additionally, set the pointer <b>s</b> to NULL. + **/ #define hs_service_free(s) FREE_AND_NULL(hs_service_t, hs_service_free_, (s)) MOCK_DECL(unsigned int, hs_service_get_num_services,(void)); |