Nick Mathewson
|
47654d3249
Refactor config free logic to use a single path.
|
hace 4 años |
Nick Mathewson
|
3d1f9f583a
Use special magic to enforce manager/object connection.
|
hace 4 años |
Nick Mathewson
|
57e87cc86c
Use config_new() to construct configuration objects.
|
hace 4 años |
Nick Mathewson
|
a1b2817abe
Sort variables in config_mgr_t.all_vars alphabetically
|
hace 4 años |
Nick Mathewson
|
dde091ebc7
Add a "freeze" function for config_mgr_t objects.
|
hace 4 años |
Nick Mathewson
|
7abd43ac5f
Change CONFIG_CHECK() macro to not need a config_format_t
|
hace 4 años |
Nick Mathewson
|
627ab9dba3
Fix every place in config.c that knew about option_vars_.
|
hace 4 años |
Nick Mathewson
|
89a3051365
Lower responsibility for listing changed options into confparse.c
|
hace 4 años |
Nick Mathewson
|
7e91d4f572
Replace config_find_option with a variant that exposes less
|
hace 4 años |
Nick Mathewson
|
769fe81717
Start teaching config_mgr_t to handle sub-objects and sub-formats
|
hace 4 años |
Nick Mathewson
|
e8dc513bd0
Add a config_mgr_t type to wrap config_format_t
|
hace 4 años |
Nick Mathewson
|
c32d485942
Remove src/core/ and src/feature dependencies from confparse.c
|
hace 5 años |
Nick Mathewson
|
f8b193a74a
Make config_var and config_fmt const.
|
hace 5 años |
Nick Mathewson
|
f306d12b58
Refactor handling of TestingTorNetwork
|
hace 5 años |
Nick Mathewson
|
f3330d2be3
Make "invisibility" and "undumpability" properties of variables.
|
hace 5 años |
Nick Mathewson
|
a7835202cf
Turn several properties of types or variables into flags.
|
hace 5 años |
Nick Mathewson
|
b6457d4c08
Extend macros to allow flag arguments.
|
hace 5 años |
Nick Mathewson
|
5b252d31ed
Add a "flags" member to config_var_t
|
hace 5 años |
Nick Mathewson
|
c553750e32
Move responsibility for config var macros
|
hace 5 años |
Nick Mathewson
|
4d101b39d7
Move config_var_t info conftypes.h
|
hace 5 años |
Nick Mathewson
|
e8790971f6
changes file for ticket 30914
|
hace 5 años |
Nick Mathewson
|
c390efe84f
A few more test cases and unreachable lines
|
hace 5 años |
Nick Mathewson
|
a114df9a04
Add a function to make sure all values in a config object are ok
|
hace 5 años |
Nick Mathewson
|
a91ed23403
Use structvar to find the types for config vars.
|
hace 5 años |
Nick Mathewson
|
53e969c137
Use struct_var_{copy,eq} in confparse.c.
|
hace 5 años |
Nick Mathewson
|
59317c8a23
Use struct_magic_decl to verify magic numbers in config objects
|
hace 5 años |
Nick Mathewson
|
3a4d67cf45
Port confparse to use struct_var in place of typed_var.
|
hace 5 años |
Nick Mathewson
|
2da188667d
Add new "struct_var_" functions to manipulate struct fields.
|
hace 5 años |
Nick Mathewson
|
e16b90b88a
Partially port routerset to being a full-fledged config type again.
|
hace 5 años |
Nick Mathewson
|
705bda859e
Add unit tests for the unitparse.c module.
|
hace 5 años |