Fix config client type as a bit flat 19/268219/2
authorSuyeon Hwang <stom.hwang@samsung.com>
Fri, 17 Dec 2021 06:47:52 +0000 (15:47 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Fri, 17 Dec 2021 07:21:18 +0000 (16:21 +0900)
commitf5b736ec6f6b4bd1902e7026f0ba3052a40150da
tree1b217fc60b2c12c015450980cb35ac4d16176e4a
parentd1aa00da7f822aeea7373fd3db851b1137ec0947
Fix config client type as a bit flat

There is case that the app uses both client and setting API. In current code, this kind of usage
can cause invalid blocking to fix configuration file. Because current config client type is only
store single mode in one process.

To solve this problem, this patch changes config client type to bit flag variable. By this change,
a process can store multiple client type, and this can avoid wrong behavior.

Change-Id: I66bdb64cff148da5a0cc3cc725842265534d4842
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/tts.c
client/tts_setting.c
common/tts_config_mgr.c
common/tts_config_mgr.h
server/ttsd_config.c