Opened 18 months ago

Last modified 18 months ago

#26997 new defect

tor_api: Do we want an easier way to set options?

Reported by: nickm Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords:
Cc: hellais Actual Points:
Parent ID: #25510 Points:
Reviewer: Sponsor:


In the parent ticket #25510, hellais reports:

  • Add API calls for making it easier to setup the configuration for tor

This is more of usability issue, but it would be great if the tor_api.h has some function for setting configuration options for Tor, without having to rely on passing them as command line arguments.

Child Tickets

Change History (1)

comment:1 Changed 18 months ago by nickm

So, what I would imagine here is a function that just takes two strings (a configuration key and value), accumulates those, and puts them on the command line.

But given that, I'm not sure what would be gained by having this additional complexity? Most applications already have a way to accumulate a list of strings, after all.

Note: See TracTickets for help on using tickets.