hs_circuit.h 650 B

1234567891011121314151617181920212223
  1. /* Copyright (c) 2017, The Tor Project, Inc. */
  2. /* See LICENSE for licensing information */
  3. /**
  4. * \file hs_circuit.h
  5. * \brief Header file containing circuit data for the whole HS subsytem.
  6. **/
  7. #ifndef TOR_HS_CIRCUIT_H
  8. #define TOR_HS_CIRCUIT_H
  9. #include "or.h"
  10. /* e2e circuit API. */
  11. int hs_circuit_setup_e2e_rend_circ(origin_circuit_t *circ,
  12. const uint8_t *ntor_key_seed,
  13. int is_service_side);
  14. int hs_circuit_setup_e2e_rend_circ_legacy_client(origin_circuit_t *circ,
  15. const uint8_t *rend_cell_body);
  16. #endif /* TOR_HS_CIRCUIT_H */