[C-API] Add PERMISSION_DENIED state for privilege issue
authorSangjung Woo <sangjung.woo@samsung.com>
Tue, 6 Aug 2019 11:06:26 +0000 (20:06 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 7 Aug 2019 10:20:45 +0000 (19:20 +0900)
commit10f45ccfd1cdec166f33647892761fec0a0cbbd1
treedc2519a82d5a1c542467fd2cd634ad57da0c3f23
parenta4d8aa57d2aa6b5753316b179ac536befef180df
[C-API] Add PERMISSION_DENIED state for privilege issue

This patch newly adds the ML_ERROR_PERMISSION_DENIED error code for
privilege issue and its checking logic in ml_get_feature_enabled()
function.

Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
api/capi/include/nnstreamer-capi-private.h
api/capi/include/nnstreamer-single.h
api/capi/include/nnstreamer.h
api/capi/modify_nnstreamer_h_for_nontizen.sh
api/capi/src/nnstreamer-capi-util.c