*/
int vc_cmd_list_remove_all(vc_cmd_list_h vc_cmd_list, bool free_command);
-/**
-* @brief Sets pid.
-* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
-*
-* @param[in] vc_command The command handle
-* @param[in] pid Process id
-*
-* @return 0 on success, otherwise a negative error value
-* @retval #VC_CMD_ERROR_NONE Successful
-* @retval #VC_CMD_ERROR_INVALID_PARAMETER Invalid parameter
-*
-* @see vc_cmd_get_pid()
-*/
-int vc_cmd_set_pid(vc_cmd_h vc_command, int pid);
-
-/**
-* @brief Sets command domain
-* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
-*
-* @param[in] vc_command The command handle
-* @param[out] pid Process id
-*
-* @return 0 on success, otherwise a negative error value
-* @retval #VC_CMD_ERROR_NONE Successful
-* @retval #VC_CMD_ERROR_INVALID_PARAMETER Invalid parameter
-* @retval #VC_CMD_ERROR_PERMISSION_DENIED Permission denied
-* @retval #VC_CMD_ERROR_NOT_SUPPORTED Not supported feature
-*
-* @see vc_cmd_set_pid()
-*/
-int vc_cmd_get_pid(vc_cmd_h vc_command, int* pid);
-
/**
* @brief Sets app id.
* @since_tizen 3.0
*/
int vc_cmd_get_fixed_command(vc_cmd_h vc_command, char** fixed);
-/**
-* @brief Sets unfixed command.
-* @since_tizen 3.0
-*
-* @param[in] vc_command The command handle
-* @param[in] command The unfixed command
-*
-* @return 0 on success, otherwise a negative error value
-* @retval #VC_CMD_ERROR_NONE Successful
-* @retval #VC_CMD_ERROR_INVALID_PARAMETER Invalid parameter
-* @retval #VC_CMD_ERROR_NOT_SUPPORTED Not supported feature
-*
-* @see vc_cmd_get_unfixed_command()
-*/
-int vc_cmd_set_unfixed_command(vc_cmd_h vc_command, const char* command);
-
/**
* @brief Gets fixed command
* @since_tizen 3.0
}
/* Write size */
- fprintf(fp, "size(%d)\n", strlen(nlu_result));
+ fprintf(fp, "size(%d)\n", (int)strlen(nlu_result));
write_size = fwrite(nlu_result, 1, strlen(nlu_result), fp);
fclose(fp);
*/
int vc_cmd_list_filter_by_type(vc_cmd_list_h original, int type, vc_cmd_list_h* filtered);
+/**
+* @brief Sets pid.
+* @since_tizen 3.0
+*
+* @param[in] vc_command The command handle
+* @param[in] pid Process id
+*
+* @return 0 on success, otherwise a negative error value
+* @retval #VC_CMD_ERROR_NONE Successful
+* @retval #VC_CMD_ERROR_INVALID_PARAMETER Invalid parameter
+*
+* @see vc_cmd_get_pid()
+*/
+int vc_cmd_set_pid(vc_cmd_h vc_command, int pid);
+
+/**
+* @brief Sets command domain
+* @since_tizen 3.0
+*
+* @param[in] vc_command The command handle
+* @param[out] pid Process id
+*
+* @return 0 on success, otherwise a negative error value
+* @retval #VC_CMD_ERROR_NONE Successful
+* @retval #VC_CMD_ERROR_INVALID_PARAMETER Invalid parameter
+* @retval #VC_CMD_ERROR_PERMISSION_DENIED Permission denied
+* @retval #VC_CMD_ERROR_NOT_SUPPORTED Not supported feature
+*
+* @see vc_cmd_set_pid()
+*/
+int vc_cmd_get_pid(vc_cmd_h vc_command, int* pid);
+
+/**
+* @brief Sets unfixed command.
+* @since_tizen 3.0
+*
+* @param[in] vc_command The command handle
+* @param[in] command The unfixed command
+*
+* @return 0 on success, otherwise a negative error value
+* @retval #VC_CMD_ERROR_NONE Successful
+* @retval #VC_CMD_ERROR_INVALID_PARAMETER Invalid parameter
+* @retval #VC_CMD_ERROR_NOT_SUPPORTED Not supported feature
+*
+* @see vc_cmd_get_unfixed_command()
+*/
+int vc_cmd_set_unfixed_command(vc_cmd_h vc_command, const char* command);
+
#ifdef __cplusplus
}
#endif