vote_microdesc_hash_st.h (778B)
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-2021, The Tor Project, Inc. */ 5 /* See LICENSE for licensing information */ 6 7 /** 8 * @file vote_microdesc_hash_st.h 9 * @brief Microdescriptor-hash voting structure. 10 **/ 11 12 #ifndef VOTE_MICRODESC_HASH_ST_H 13 #define VOTE_MICRODESC_HASH_ST_H 14 15 /** Linked list of microdesc hash lines for a single router in a directory 16 * vote. 17 */ 18 struct vote_microdesc_hash_t { 19 /** Next element in the list, or NULL. */ 20 struct vote_microdesc_hash_t *next; 21 /** The raw contents of the microdesc hash line, from the "m" through the 22 * newline. */ 23 char *microdesc_hash_line; 24 }; 25 26 #endif /* !defined(VOTE_MICRODESC_HASH_ST_H) */