vote_microdesc_hash_st.h 645 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-2019, The Tor Project, Inc. */
  5. /* See LICENSE for licensing information */
  6. #ifndef VOTE_MICRODESC_HASH_ST_H
  7. #define VOTE_MICRODESC_HASH_ST_H
  8. /** Linked list of microdesc hash lines for a single router in a directory
  9. * vote.
  10. */
  11. struct vote_microdesc_hash_t {
  12. /** Next element in the list, or NULL. */
  13. struct vote_microdesc_hash_t *next;
  14. /** The raw contents of the microdesc hash line, from the "m" through the
  15. * newline. */
  16. char *microdesc_hash_line;
  17. };
  18. #endif