[tor-bugs] #32319 [Core Tor/Tor]: Macros and definitions for declaring per-module configuration

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 28 15:03:36 UTC 2019


#32319: Macros and definitions for declaring per-module configuration
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  nickm
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.4.3.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:  .2            |  Parent ID:  #29211
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Our existing macros work well when we only have a few configuration
 objects, but they are fiddly to set up, and they involve redundant
 declarations of a C structure and a configuration table of config_var_t[].
 Further, they rely on some questionable tricks (see conftesting.h).

 Instead, we should have a better way to generate configuration structures
 and tables from a single definition.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32319>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list