Nick Mathewson
|
47654d3249
Refactor config free logic to use a single path.
|
4 years ago |
Nick Mathewson
|
dde091ebc7
Add a "freeze" function for config_mgr_t objects.
|
4 years ago |
Nick Mathewson
|
7abd43ac5f
Change CONFIG_CHECK() macro to not need a config_format_t
|
4 years ago |
Nick Mathewson
|
627ab9dba3
Fix every place in config.c that knew about option_vars_.
|
4 years ago |
Nick Mathewson
|
89a3051365
Lower responsibility for listing changed options into confparse.c
|
4 years ago |
Nick Mathewson
|
7e91d4f572
Replace config_find_option with a variant that exposes less
|
4 years ago |
Nick Mathewson
|
e8dc513bd0
Add a config_mgr_t type to wrap config_format_t
|
4 years ago |
Nick Mathewson
|
c32d485942
Remove src/core/ and src/feature dependencies from confparse.c
|
5 years ago |
Nick Mathewson
|
f8b193a74a
Make config_var and config_fmt const.
|
5 years ago |
Nick Mathewson
|
a7835202cf
Turn several properties of types or variables into flags.
|
5 years ago |
Nick Mathewson
|
c553750e32
Move responsibility for config var macros
|
5 years ago |
Nick Mathewson
|
4d101b39d7
Move config_var_t info conftypes.h
|
5 years ago |
Nick Mathewson
|
a114df9a04
Add a function to make sure all values in a config object are ok
|
5 years ago |
Nick Mathewson
|
59317c8a23
Use struct_magic_decl to verify magic numbers in config objects
|
5 years ago |
Nick Mathewson
|
3a4d67cf45
Port confparse to use struct_var in place of typed_var.
|
5 years ago |
Nick Mathewson
|
246599abb4
Start moving types that will be used for config vars to lib/conf
|
5 years ago |
Nick Mathewson
|
26436fb1b6
Add more unit tests for confparse.c, so we can refactor.
|
5 years ago |
Nick Mathewson
|
fe9d15cf4b
Remove the PORT configuration type: nothing uses it.
|
5 years ago |
Nick Mathewson
|
2f683465d4
Bump copyright date to 2019
|
5 years ago |
Nick Mathewson
|
8812f562a0
Fix a memory leak in --dump-config
|
5 years ago |
Nick Mathewson
|
fe3bacf50a
Convert __OwningControllerFD to a 64-bit value
|
5 years ago |
Nick Mathewson
|
ef106ce788
Document the headers in src/app/config/
|
5 years ago |
Nick Mathewson
|
63b4ea22af
Move literally everything out of src/or
|
5 years ago |