[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs