[tor-commits] [tor/master] Add bw_file_headers to networkstatus_t

nickm at torproject.org nickm at torproject.org
Mon Jul 30 12:45:07 UTC 2018


commit 106eb08d276144972a573b0480c0189eabc8fafc
Author: juga0 <juga at riseup.net>
Date:   Fri Jun 29 13:43:38 2018 +0000

    Add bw_file_headers to networkstatus_t
---
 src/feature/nodelist/networkstatus_st.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/feature/nodelist/networkstatus_st.h b/src/feature/nodelist/networkstatus_st.h
index 46b0f53c0..2bb0e3ae3 100644
--- a/src/feature/nodelist/networkstatus_st.h
+++ b/src/feature/nodelist/networkstatus_st.h
@@ -96,6 +96,9 @@ struct networkstatus_t {
 
   /** Contains the shared random protocol data from a vote or consensus. */
   networkstatus_sr_info_t sr_info;
+
+  /** List of key=value strings from the headers of the bandwidth list file */
+  smartlist_t *bw_file_headers;
 };
 
 #endif





More information about the tor-commits mailing list