Opened 2 months ago

Last modified 2 months ago

#30865 assigned defect

Move option-listing, setting, validation code out of confparse.c

Reported by: nickm Owned by: nickm
Priority: Medium Milestone: Tor: 0.4.2.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: #29211 Points: 2
Reviewer: Sponsor: Sponsor31-can

Description

The code in confparse.c that handles individual options should move to src/lib so that other modules can use it. It should probably sit somewhere beneath src/log in the library graph, so that we can use it to configure everything.

Child Tickets

Change History (1)

comment:1 in reply to:  description Changed 2 months ago by nickm

Replying to nickm:

It should probably sit somewhere beneath src/log in the library graph, so that we can use it to configure everything.

Actually, let me amend that. The necessary types and functions for a subsystem to declare its configuration options should live at a low level. The configuration manager code can be at a higher level.

Note: See TracTickets for help on using tickets.