tor  0.4.0.0-alpha-dev
hs_config.h
Go to the documentation of this file.
1 /* Copyright (c) 2016-2018, The Tor Project, Inc. */
2 /* See LICENSE for licensing information */
3 
9 #ifndef TOR_HS_CONFIG_H
10 #define TOR_HS_CONFIG_H
11 
12 #include "core/or/or.h"
13 
14 /* Max value for HiddenServiceMaxStreams */
15 #define HS_CONFIG_MAX_STREAMS_PER_RDV_CIRCUIT 65535
16 /* Maximum number of intro points per version 3 services. */
17 #define HS_CONFIG_V3_MAX_INTRO_POINTS 20
18 
19 /* API */
20 
21 int hs_config_service_all(const or_options_t *options, int validate_only);
22 int hs_config_client_auth_all(const or_options_t *options, int validate_only);
23 
24 #endif /* !defined(TOR_HS_CONFIG_H) */
25 
Master header file for Tor-specific functionality.