Tor  0.4.7.0-alpha-dev
dsigs_parse.h
Go to the documentation of this file.
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2021, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 /**
8  * \file dsigs_parse.h
9  * \brief Header file for dsigs_parse.c.
10  **/
11 
12 #ifndef TOR_DSIGS_PARSE_H
13 #define TOR_DSIGS_PARSE_H
14 
16  const char *s, const char *eos);
17 
19 #define ns_detached_signatures_free(s) \
20  FREE_AND_NULL(ns_detached_signatures_t, ns_detached_signatures_free_, (s))
21 
22 #endif /* !defined(TOR_DSIGS_PARSE_H) */
ns_detached_signatures_t * networkstatus_parse_detached_signatures(const char *s, const char *eos)
Definition: dsigs_parse.c:67
void ns_detached_signatures_free_(ns_detached_signatures_t *s)
Definition: dsigs_parse.c:267