aboutsummaryrefslogtreecommitdiff
path: root/src/test/rend_test_helpers.h
blob: 4305c1578b5f7f39c2d5056b856b4e6ca99e1eeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Copyright (c) 2014-2015, The Tor Project, Inc. */
/* 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);

#endif