2017-01-16 13:19:44 -05:00
|
|
|
/* Copyright (c) 2016, The Tor Project, Inc. */
|
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* \file hs_config.h
|
|
|
|
* \brief Header file containing configuration ABI/API for the HS subsytem.
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef TOR_HS_CONFIG_H
|
|
|
|
#define TOR_HS_CONFIG_H
|
|
|
|
|
|
|
|
#include "or.h"
|
|
|
|
|
2017-01-13 16:00:07 -05:00
|
|
|
/* Max value for HiddenServiceMaxStreams */
|
|
|
|
#define HS_CONFIG_MAX_STREAMS_PER_RDV_CIRCUIT 65535
|
2017-05-10 09:37:41 -04:00
|
|
|
/* Maximum number of intro points per version 3 services. */
|
|
|
|
#define HS_CONFIG_V3_MAX_INTRO_POINTS 20
|
|
|
|
|
2017-01-16 13:19:44 -05:00
|
|
|
/* API */
|
|
|
|
|
|
|
|
int hs_config_service_all(const or_options_t *options, int validate_only);
|
|
|
|
|
2017-09-15 16:24:44 -04:00
|
|
|
#endif /* !defined(TOR_HS_CONFIG_H) */
|
2017-01-16 13:19:44 -05:00
|
|
|
|