aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirparse/authcert_parse.h
blob: 7f6dd1c02f646f55a6227cd95c3e2660a724522b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* 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 authcert_parse.h
 * \brief Header file for authcert_parse.c.
 **/

#ifndef TOR_AUTHCERT_PARSE_H
#define TOR_AUTHCERT_PARSE_H

authority_cert_t *authority_cert_parse_from_string(const char *s,
                                                   size_t maxlen,
                                                   const char **end_of_string);

#endif /* !defined(TOR_AUTHCERT_PARSE_H) */