aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/vote_microdesc_hash_st.h
blob: 7f8ebf7fd77986f54a57e8edfb7785492a2e75df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* 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 vote_microdesc_hash_st.h
 * @brief Microdescriptor-hash voting strcture.
 **/

#ifndef VOTE_MICRODESC_HASH_ST_H
#define VOTE_MICRODESC_HASH_ST_H

/** Linked list of microdesc hash lines for a single router in a directory
 * vote.
 */
struct vote_microdesc_hash_t {
  /** Next element in the list, or NULL. */
  struct vote_microdesc_hash_t *next;
  /** The raw contents of the microdesc hash line, from the "m" through the
   * newline. */
  char *microdesc_hash_line;
};

#endif /* !defined(VOTE_MICRODESC_HASH_ST_H) */