2017-03-15 21:13:17 +01:00
|
|
|
/* Copyright (c) 2014-2017, The Tor Project, Inc. */
|
2015-09-07 19:22:33 +02:00
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
|
|
|
#include "or.h"
|
|
|
|
|
|
|
|
#ifndef TOR_REND_TEST_HELPERS_H
|
|
|
|
#define TOR_REND_TEST_HELPERS_H
|
|
|
|
|
|
|
|
void generate_desc(int time_diff, rend_encoded_v2_service_descriptor_t **desc,
|
|
|
|
char **service_id, int intro_points);
|
|
|
|
void create_descriptor(rend_service_descriptor_t **generated,
|
|
|
|
char **service_id, int intro_points);
|
2017-05-02 15:35:22 +02:00
|
|
|
rend_data_t *mock_rend_data(const char *onion_address);
|
2015-09-07 19:22:33 +02:00
|
|
|
|
2017-09-15 22:24:44 +02:00
|
|
|
#endif /* !defined(TOR_REND_TEST_HELPERS_H) */
|
2015-09-07 19:22:33 +02:00
|
|
|
|