* @brief Called when the engine service user requests the base information of VC engine.
* @since_tizen 5.0
*
-* @param[in] engine_uuid The engine id
-* @param[in] engine_name The engine name
+* @param[out] engine_uuid The engine id
+* @param[out] engine_name The engine name
+* @param[out] engine_setting The setting path name
+* @param[out] use_network @c true to need network @c false not to need network.
*/
-typedef int (*vce_get_info_cb)(char** engine_uuid, char** engine_name);
+typedef int (*vce_get_info_cb)(char** engine_uuid, char** engine_name, char** engine_setting, bool* use_network);
/**
char* engine_uuid;
char* engine_name;
char* engine_path;
+ char* engine_setting_path;
/* engine load info */
bool is_set;
bool is_loaded;
bool is_command_ready;
+ bool use_network;
void *handle;
vc_engine_callback_s* callbacks;
return VCD_ERROR_ENGINE_NOT_FOUND;
}
- if (0 != callback->get_info(&(g_dynamic_engine.engine_uuid), &(g_dynamic_engine.engine_name))) {
+ if (0 != callback->get_info(&(g_dynamic_engine.engine_uuid), &(g_dynamic_engine.engine_name), &(g_dynamic_engine.engine_setting_path), &(g_dynamic_engine.use_network))) {
SLOG(LOG_ERROR, TAG_VCD, "[Engine Agent ERROR] Fail to get engine info");
return VCD_ERROR_ENGINE_NOT_FOUND;
}