-
- Downloads
Add a config_mgr_t type to wrap config_format_t
Remember that our goal in the present refactoring is to allow each subsystem to declare its own configuration structure and variables. To do this, each module will get its own config_format_t, and so we'll want a different structure that wraps several config_format_t objects. This is a "config_mgr_t".
Showing
- src/app/config/config.c 38 additions, 22 deletionssrc/app/config/config.c
- src/app/config/config.h 2 additions, 3 deletionssrc/app/config/config.h
- src/app/config/confparse.c 96 additions, 49 deletionssrc/app/config/confparse.c
- src/app/config/confparse.h 31 additions, 16 deletionssrc/app/config/confparse.h
- src/app/config/statefile.c 24 additions, 9 deletionssrc/app/config/statefile.c
- src/feature/dirauth/shared_random_state.c 21 additions, 6 deletionssrc/feature/dirauth/shared_random_state.c
- src/test/test_confparse.c 107 additions, 76 deletionssrc/test/test_confparse.c
- src/test/test_helpers.c 1 addition, 1 deletionsrc/test/test_helpers.c
- src/test/test_options.c 7 additions, 7 deletionssrc/test/test_options.c
Loading
Please register or sign in to comment