config: Move relay config checks into the relay module
This commit: * moves relay config checks into relay_config.[ch], * exposes some code from src/app/config.c (we'll refactor it later in 29211), and * adds thin wrappers to make the moved code compile. No functional changes: the moved code is still enabled, even if the relay module is disabled. (Some of the checks are re-ordered, so the order of some warnings may change.) Part of 32213.
Showing
- src/app/config/config.c 11 additions, 369 deletionssrc/app/config/config.c
- src/app/config/config.h 0 additions, 4 deletionssrc/app/config/config.h
- src/feature/relay/relay_config.c 531 additions, 2 deletionssrc/feature/relay/relay_config.c
- src/feature/relay/relay_config.h 35 additions, 0 deletionssrc/feature/relay/relay_config.h
- src/test/test_config.c 2 additions, 0 deletionssrc/test/test_config.c
- src/test/test_options.c 2 additions, 0 deletionssrc/test/test_options.c
Loading
Please register or sign in to comment