[tor-bugs] #31240 [Core Tor/Tor]: Make confparse able to handle multiple config_format_t objects at once
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Aug 26 23:06:26 UTC 2019
#31240: Make confparse able to handle multiple config_format_t objects at once
-----------------------------------------+---------------------------------
Reporter: nickm | Owner: nickm
Type: enhancement | Status: needs_revision
Priority: Medium | Milestone: Tor:
| 0.4.2.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: network-team-roadmap-august | Actual Points: 3
Parent ID: #29211 | Points: 3
Reviewer: teor | Sponsor: Sponsor31-can
-----------------------------------------+---------------------------------
Comment (by nickm):
I agree with your summary of the change above. More specifically, it will
be like this:
Final state:
* configuration manager
* Toplevel config_format_t
* (existing config types)
* Multiple second-level config_format_t objects **
* (existing config types)
There will be a similar change eventually, ''but not in this branch'', for
the corresponding configuration objects. For example:
Current state:
* or_options_t
* (many option-holding variables)
Eventual state:
* or_options_t
* (variables for all options that have not been ported)
* config_suite_t **
* mainloop_options_t (example)
* (variables for mainloop options)
* process_options_t (example)
* (variables for process options)
* ...
Note that every second-level config_format_t object in the config_manager
corresponds to a member of the config_suite_t. They are linked by their
indices.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31240#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list