[Core/Conf] Add an API to get the current running mode
authorWook Song <wook16.song@samsung.com>
Tue, 5 Nov 2019 04:29:00 +0000 (13:29 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Thu, 7 Nov 2019 09:18:28 +0000 (18:18 +0900)
commit36078d6e250f9e80f7ad9ea3e3d43838c5a7892b
treee686f4cb935b9418871e4870d5b39b98bebd20a4
parentcbd95bae2dbbcbf8761a7217f70b48c264c07f41
[Core/Conf] Add an API to get the current running mode

Although the config data has a global scope, it would be removed after
all and replaced with APIs to get information from it. This patch adds
an API to get the current running mode from the global config data.

Signed-off-by: Wook Song <wook16.song@samsung.com>
src/core/ne-conf.c
src/core/ne-conf.h