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

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

#ifndef TOR_MICRODESC_PARSE_H
#define TOR_MICRODESC_PARSE_H

smartlist_t *microdescs_parse_from_string(const char *s, const char *eos,
                                          int allow_annotations,
                                          saved_location_t where,
                                          smartlist_t *invalid_digests_out);

#endif /* !defined(TOR_MICRODESC_PARSE_H) */