summaryrefslogtreecommitdiff
path: root/src/or/confparse.h
AgeCommit message (Collapse)Author
2017-12-15Simplify the very repetitious options_transition_allowed()Nick Mathewson
2017-12-08Merge branch 'macro_free_v2_squashed'Nick Mathewson
2017-12-08Update free functions into macros: src/or/ part 1Nick Mathewson
This covers addressmap.h (no change needed) through confparse.h
2017-11-21re-run ./scripts/maint/annotate_ifdef_directivesNick Mathewson
2017-09-26Eat redundant semicolonsTaylor Yu
2017-09-26Add test to make sure all confparse variables are well-typedNick Mathewson
New approach, suggested by Taylor: During testing builds, we initialize a union member of an appropriate pointer type with the address of the member field we're trying to test, so we can make sure that the compiler doesn't warn. My earlier approach invoked undefined behavior.
2017-09-15Run our #else/#endif annotator on our source code.Nick Mathewson
2017-05-18Add support for %include funcionality on torrc #1922Daniel Pinto
config_get_lines is now split into two functions: - config_get_lines which is the same as before we had %include - config_get_lines_include which actually processes %include
2017-04-04Move config_line_t functions from confparse.c into common.Nick Mathewson
I'm doing this to storagedir to used config_line_t.
2017-03-15Run the copyright update script.Nick Mathewson
2016-08-19Log a warning when Testing options are deprecated.Nick Mathewson
2016-08-03Add new warn_deprecated option to config_assign*().Nick Mathewson
Also, collapse all the config_assign*() options into a flags argument, since having two boolean arguments was already confusing.
2016-08-03Mark a big pile of options as deprecated.Nick Mathewson
2016-08-03Add deprecation for configuration options that need to go away.Nick Mathewson
2016-08-03We no longer use config_var_description_tNick Mathewson
2016-02-27Update the copyright year.Nick Mathewson
2015-01-02Bump copyright dates to 2015, in case someday this matters.Nick Mathewson
2014-10-28Add another year to our copyright dates.Nick Mathewson
Because in 95 years, we or our successors will surely care about enforcing the BSD license terms on this code. Right?
2013-09-13Add a --dump-config option to help testing option parsing.Nick Mathewson
2013-09-13Use commandline parser for other optionsNick Mathewson
These were previously allowed only in the initial position: --help, -h , --version, --digests, --list-torrc-options
2013-07-18Start of a unit test for options_validate.Nick Mathewson
I added this so I could write a unit test for ServerTransportOptions, but it incidentally exercises the succeed-on-defaults case of options_validate too.
2013-05-16Lower dir fetch retry schedules in testing networks.Karsten Loesing
Also lower maximum interval without directory requests, and raise maximum download tries. Implements #6752.
2013-01-16Update the copyright date to 201.Nick Mathewson
2012-11-23In comments and logs, say "UTC" not "GMT"Nick Mathewson
Fix for #6113. Note that the RFC1123 times we generate still all say 'GMT'. I'm going to suggest this is not worth changing.
2012-09-13Split the generic config_fmt_t code into a new confparse.c fileNick Mathewson
This helps us split up one of our larger files, and sets the stage for refactoring the configuration backend a little