rend_test_helpers.h 504 B

12345678910111213141516
  1. /* Copyright (c) 2014-2017, The Tor Project, Inc. */
  2. /* See LICENSE for licensing information */
  3. #include "or.h"
  4. #ifndef TOR_REND_TEST_HELPERS_H
  5. #define TOR_REND_TEST_HELPERS_H
  6. void generate_desc(int time_diff, rend_encoded_v2_service_descriptor_t **desc,
  7. char **service_id, int intro_points);
  8. void create_descriptor(rend_service_descriptor_t **generated,
  9. char **service_id, int intro_points);
  10. rend_data_t *mock_rend_data(const char *onion_address);
  11. #endif