diff options
author | Jooseok Park <jooseok.park@samsung.com> | 2016-12-21 14:39:21 +0900 |
---|---|---|
committer | Jooseok Park <jooseok.park@samsung.com> | 2016-12-21 14:41:12 +0900 |
commit | 367e91b244ceab0b37a6d0be04be5d3a1a190290 (patch) | |
tree | abebae8fc361f342271e47bfd6d3593c53e6fab0 /src/ic-ioty-ocprocess.c | |
parent | 41e94254edeca4344310fcc9d3ccfcf4519e1fa3 (diff) | |
download | iotcon-367e91b244ceab0b37a6d0be04be5d3a1a190290.tar.gz iotcon-367e91b244ceab0b37a6d0be04be5d3a1a190290.tar.bz2 iotcon-367e91b244ceab0b37a6d0be04be5d3a1a190290.zip |
add log in API entry pointsubmit/tizen_3.0/20161221.010528accepted/tizen/3.0/wearable/20161221.103305accepted/tizen/3.0/tv/20161221.103243accepted/tizen/3.0/mobile/20161221.103225accepted/tizen/3.0/ivi/20161221.103324accepted/tizen/3.0/common/20161221.181501
- it is helpful for debugging tc issues
Change-Id: I163ae9870f9a93832af0f71f2e50a3616c5c4b47
Diffstat (limited to 'src/ic-ioty-ocprocess.c')
-rw-r--r-- | src/ic-ioty-ocprocess.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ic-ioty-ocprocess.c b/src/ic-ioty-ocprocess.c index 15659b1..2e1fe46 100644 --- a/src/ic-ioty-ocprocess.c +++ b/src/ic-ioty-ocprocess.c @@ -57,6 +57,7 @@ void icl_ioty_ocprocess_start() API int iotcon_polling_get_interval(int *interval) { + FN_CALL; RETV_IF(false == ic_utils_check_ocf_feature(), IOTCON_ERROR_NOT_SUPPORTED); RETV_IF(NULL == interval, IOTCON_ERROR_INVALID_PARAMETER); @@ -68,6 +69,7 @@ API int iotcon_polling_get_interval(int *interval) API int iotcon_polling_set_interval(int interval) { + FN_CALL; RETV_IF(false == ic_utils_check_ocf_feature(), IOTCON_ERROR_NOT_SUPPORTED); RETV_IF(interval <= ICL_IOTY_TIME_INTERVAL_MIN, IOTCON_ERROR_INVALID_PARAMETER); @@ -81,6 +83,7 @@ API int iotcon_polling_set_interval(int interval) API int iotcon_polling_invoke(void) { + FN_CALL; RETV_IF(false == ic_utils_check_ocf_feature(), IOTCON_ERROR_NOT_SUPPORTED); ic_utils_cond_signal(IC_UTILS_COND_POLLING); @@ -138,6 +141,7 @@ static gboolean _icl_ioty_ocprocess_find_idle_cb(gpointer p) resource = resource_list->data; resource->is_found = true; cb = (iotcon_found_resource_cb)cb_data->cb; + INFO("Call the callback"); if (IOTCON_FUNC_STOP == cb(resource, IOTCON_ERROR_NONE, cb_data->user_data)) { /* Stop */ INFO("Stop the callback"); |