Nick Mathewson
|
47654d3249
Refactor config free logic to use a single path.
|
4 years ago |
Nick Mathewson
|
3d1f9f583a
Use special magic to enforce manager/object connection.
|
4 years ago |
Nick Mathewson
|
a1b2817abe
Sort variables in config_mgr_t.all_vars alphabetically
|
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
|
769fe81717
Start teaching config_mgr_t to handle sub-objects and sub-formats
|
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
|
f3330d2be3
Make "invisibility" and "undumpability" properties of variables.
|
5 years ago |
Nick Mathewson
|
a7835202cf
Turn several properties of types or variables into flags.
|
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
|
53e969c137
Use struct_var_{copy,eq} in confparse.c.
|
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
|
e16b90b88a
Partially port routerset to being a full-fledged config type again.
|
5 years ago |
Nick Mathewson
|
c60a85d22a
Add a "typed_var" abstraction to implement lvalue access in C.
|
5 years ago |
Nick Mathewson
|
458da8a80d
Move unit-parsing code to src/lib/confmgt
|
5 years ago |
Nick Mathewson
|
7c6cc470f1
Merge branch 'bug30894_035' into ticket30893
|
5 years ago |
Nick Mathewson
|
26436fb1b6
Add more unit tests for confparse.c, so we can refactor.
|
5 years ago |
Nick Mathewson
|
4ab1d1c0c4
Fix memleak when failing to parse a CSV_INTERVAL.
|
5 years ago |
Nick Mathewson
|
fe9d15cf4b
Remove the PORT configuration type: nothing uses it.
|
5 years ago |
Nick Mathewson
|
ac5e44d9ce
Renaming: CONFIG_TYPE_UINT -> CONFIG_TYPE_POSINT
|
5 years ago |
Nick Mathewson
|
2f683465d4
Bump copyright date to 2019
|
5 years ago |
Nick Mathewson
|
efe55b8898
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 |