Tor
0.4.7.0-alpha-dev
|
Code to parse and validate detached-signature objects. More...
Go to the source code of this file.
Macros | |
#define | ns_detached_signatures_free(s) FREE_AND_NULL(ns_detached_signatures_t, ns_detached_signatures_free_, (s)) |
Functions | |
ns_detached_signatures_t * | networkstatus_parse_detached_signatures (const char *s, const char *eos) |
void | ns_detached_signatures_free_ (ns_detached_signatures_t *s) |
Code to parse and validate detached-signature objects.
Header file for dsigs_parse.c.
Definition in file dsigs_parse.h.
ns_detached_signatures_t* networkstatus_parse_detached_signatures | ( | const char * | s, |
const char * | eos | ||
) |
Parse a detached v3 networkstatus signature document between s and eos and return the result. Return -1 on failure.
Definition at line 67 of file dsigs_parse.c.
Referenced by dirvote_add_signatures_to_all_pending_consensuses().
void ns_detached_signatures_free_ | ( | ns_detached_signatures_t * | s | ) |
Release all storage held in s.
Definition at line 267 of file dsigs_parse.c.