int runtime_info_vconf_get_value_int(const char *vconf_key, int *value);
int runtime_info_vconf_get_value_bool(const char *vconf_key, int *value);
-int runtime_info_vconf_get_value_double(const char *vconf_key, double *value);
-int runtime_info_vconf_get_value_string(const char *vconf_key, char **value);
int runtime_info_vconf_set_event_cb(const char *vconf_key, runtime_info_key_e runtime_info_key, int slot);
void runtime_info_vconf_unset_event_cb(const char *vconf_key, int slot);
return ret;
}
-//LCOV_EXCL_START : not used function
-int runtime_info_vconf_get_value_double(const char *vconf_key, double *value)
-{
- int ret = vconf_get_dbl(vconf_key, value);
- CHECK_VCONF_RESULT(ret);
- return ret;
-}
-
-int runtime_info_vconf_get_value_string(const char *vconf_key, char **value)
-{
- char *str_value = NULL;
- int ret;
-
- str_value = vconf_get_str(vconf_key);
- if (!str_value) {
- ret = -1;
- CHECK_VCONF_RESULT(ret);
- return ret;
- }
-
- *value = str_value;
- return RUNTIME_INFO_ERROR_NONE;
-}
-//LCOV_EXCL_STOP
-
//LCOV_EXCL_START : not called callback
typedef void (*runtime_info_vconf_event_cb)(keynode_t *node, void *event_data);