2018-06-15 13:23:02 -04:00
|
|
|
/* Copyright (c) 2001 Matej Pfajfar.
|
|
|
|
* Copyright (c) 2001-2004, Roger Dingledine.
|
|
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
2019-01-16 12:33:22 -05:00
|
|
|
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
2018-06-15 13:23:02 -04:00
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
2019-10-26 12:05:28 -04:00
|
|
|
/**
|
|
|
|
* @file vote_microdesc_hash_st.h
|
|
|
|
* @brief Microdescriptor-hash voting strcture.
|
|
|
|
**/
|
|
|
|
|
2018-06-15 13:23:02 -04:00
|
|
|
#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;
|
|
|
|
};
|
|
|
|
|
2019-06-05 09:33:35 -04:00
|
|
|
#endif /* !defined(VOTE_MICRODESC_HASH_ST_H) */
|