diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-07-23 11:32:52 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-08-28 09:40:53 -0400 |
commit | 38b770bbbb37aef6cd3cef5fd6f425cd951affe2 (patch) | |
tree | 65a613a67a7f9baf09c4f8cdcbe1e7efb8b613bb /src/app/config/or_options_st.h | |
parent | 47654d32497acae23aafbe3316ae73d3c00429c8 (diff) | |
download | tor-38b770bbbb37aef6cd3cef5fd6f425cd951affe2.tar.gz tor-38b770bbbb37aef6cd3cef5fd6f425cd951affe2.zip |
Make a config_suite_t type to hold multiple config sub-objects
Right now, it doesn't do anything; this patch is meant to make sure
that we're doing memory management correctly.
Diffstat (limited to 'src/app/config/or_options_st.h')
-rw-r--r-- | src/app/config/or_options_st.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/config/or_options_st.h b/src/app/config/or_options_st.h index 8156d2ca11..2c1a8f0c00 100644 --- a/src/app/config/or_options_st.h +++ b/src/app/config/or_options_st.h @@ -18,6 +18,7 @@ struct smartlist_t; struct config_line_t; +struct config_suite_t; /** Enumeration of outbound address configuration types: * Exit-only, OR-only, or both */ @@ -1107,6 +1108,9 @@ struct or_options_t { * a possible previous dormant state. **/ int DormantCanceledByStartup; + + /**DOCDOC*/ + struct config_suite_t *subconfigs_; }; #endif /* !defined(TOR_OR_OPTIONS_ST_H) */ |