hs_config.h 592 B

123456789101112131415161718192021222324
  1. /* Copyright (c) 2016, The Tor Project, Inc. */
  2. /* See LICENSE for licensing information */
  3. /**
  4. * \file hs_config.h
  5. * \brief Header file containing configuration ABI/API for the HS subsytem.
  6. **/
  7. #ifndef TOR_HS_CONFIG_H
  8. #define TOR_HS_CONFIG_H
  9. #include "or.h"
  10. /* Max value for HiddenServiceMaxStreams */
  11. #define HS_CONFIG_MAX_STREAMS_PER_RDV_CIRCUIT 65535
  12. /* Maximum number of intro points per version 3 services. */
  13. #define HS_CONFIG_V3_MAX_INTRO_POINTS 20
  14. /* API */
  15. int hs_config_service_all(const or_options_t *options, int validate_only);
  16. #endif /* !defined(TOR_HS_CONFIG_H) */