hs_client.h 612 B

1234567891011121314151617181920212223
  1. /* Copyright (c) 2017, The Tor Project, Inc. */
  2. /* See LICENSE for licensing information */
  3. /**
  4. * \file hs_client.h
  5. * \brief Header file containing client data for the HS subsytem.
  6. **/
  7. #ifndef TOR_HS_CLIENT_H
  8. #define TOR_HS_CLIENT_H
  9. #include "hs_descriptor.h"
  10. void hs_client_note_connection_attempt_succeeded(
  11. const edge_connection_t *conn);
  12. int hs_client_decode_descriptor(
  13. const char *desc_str,
  14. const ed25519_public_key_t *service_identity_pk,
  15. hs_descriptor_t **desc);
  16. #endif /* TOR_HS_CLIENT_H */