dsigs_parse.h 699 B

12345678910111213141516171819202122
  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-2018, The Tor Project, Inc. */
  5. /* See LICENSE for licensing information */
  6. /**
  7. * \file dsigs_parse.h
  8. * \brief Header file for dsigs_parse.c.
  9. **/
  10. #ifndef TOR_DSIGS_PARSE_H
  11. #define TOR_DSIGS_PARSE_H
  12. ns_detached_signatures_t *networkstatus_parse_detached_signatures(
  13. const char *s, const char *eos);
  14. void ns_detached_signatures_free_(ns_detached_signatures_t *s);
  15. #define ns_detached_signatures_free(s) \
  16. FREE_AND_NULL(ns_detached_signatures_t, ns_detached_signatures_free_, (s))
  17. #endif