Add state and parameter check logic 24/286124/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Thu, 10 Nov 2022 09:40:31 +0000 (18:40 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Wed, 28 Dec 2022 08:16:40 +0000 (17:16 +0900)
commite9ccf77dea85b191b1ea74d6cf230d1c372d4e34
tree689f0d70e2bc3077ff63f2478bca1b39d2b2a6bb
parent1064464ef9918fd39c4f3edc775b5cd849b0cd22
Add state and parameter check logic

- Issue:
Some APIs are not follow its documentation.

- Solution:
This patch adds state and parameter check logic to make each APIs
follows its documentation. Some APIs did not make error even if the API
is invoked in error situation. Through this patch, each APIs will make
error in some condition specified by documentation.

Change-Id: Ie9c92d012e8891a168a990d5e47559add0d03e49
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/vc_mgr.c