Add a const qualifier to tep_path.
Change-Id: Ic90623a9a0be2a242dfff212e03333be542b5f6a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
* @retval PKGMGR_R_OK success
* @retval PKGMGR_R_EINVAL invalid argument
*/
-int pkgmgr_client_set_tep_path(pkgmgr_client *pc, char *tep_path, bool tep_move);
+int pkgmgr_client_set_tep_path(pkgmgr_client *pc, const char *tep_path, bool tep_move);
/**
* @brief This API installs package.
return strdup(pkg_type);
}
-API int pkgmgr_client_set_tep_path(pkgmgr_client *pc, char *tep_path,
+API int pkgmgr_client_set_tep_path(pkgmgr_client *pc, const char *tep_path,
bool tep_move)
{
struct pkgmgr_client_t *client = (struct pkgmgr_client_t *) pc;