diff options
author | David Goulet <dgoulet@torproject.org> | 2016-12-22 16:40:21 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-04-07 09:22:52 -0400 |
commit | 419c0c07881c71050546c1049173a7eadf936799 (patch) | |
tree | a5b371cbea93ae0bdeec9c9b135451d07cc185f7 /src/or/hs_common.h | |
parent | 489ef6b38ba66f59bb6562a4702c0500478a7495 (diff) | |
download | tor-419c0c07881c71050546c1049173a7eadf936799.tar.gz tor-419c0c07881c71050546c1049173a7eadf936799.zip |
hs: Move service check private dir to hs_common.c
Another building blocks for prop224 service work. This also makes the function
takes specific argument instead of the or_option_t object.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_common.h')
-rw-r--r-- | src/or/hs_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/hs_common.h b/src/or/hs_common.h index 7ac2a15ea1..890797c565 100644 --- a/src/or/hs_common.h +++ b/src/or/hs_common.h @@ -23,6 +23,10 @@ /* String prefix for the signature of ESTABLISH_INTRO */ #define ESTABLISH_INTRO_SIG_PREFIX "Tor establish-intro cell v1" +int hs_check_service_private_dir(const char *username, const char *path, + unsigned int dir_group_readable, + unsigned int create); + void rend_data_free(rend_data_t *data); rend_data_t *rend_data_dup(const rend_data_t *data); rend_data_t *rend_data_client_create(const char *onion_address, |