main: Rework config option parsing
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 16 May 2023 17:05:05 +0000 (10:05 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:26:12 +0000 (18:56 +0530)
commitfb94d6c35c54bc77ee9685a8f733582533ce4d46
treebbca39c8c41f519b5a27cc4f72685aca18fe1d8a
parent4142aea3aede5fb7ed6f83f41b84c355dd77dd22
main: Rework config option parsing

This rework config option parsing adding helper function to make it
simpler to parse new options.
src/btd.h
src/main.c