aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/describe.h
blob: 018af6470ed65b3a49529aef82538c543c246718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* Copyright (c) 2001 Matej Pfajfar.
 * Copyright (c) 2001-2004, Roger Dingledine.
 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
 * Copyright (c) 2007-2019, The Tor Project, Inc. */
/* See LICENSE for licensing information */

/**
 * \file describe.h
 * \brief Header file for describe.c.
 **/

#ifndef TOR_DESCRIBE_H
#define TOR_DESCRIBE_H

struct extend_info_t;
struct node_t;
struct routerinfo_t;
struct routerstatus_t;

const char *extend_info_describe(const struct extend_info_t *ei);
const char *node_describe(const struct node_t *node);
const char *router_describe(const struct routerinfo_t *ri);
const char *routerstatus_describe(const struct routerstatus_t *ri);

#endif