Pass adjusted file path to backend
[platform/core/appfw/pkgmgr-server.git] / include / pkgmgr-server.h
index e22bfeb..0180fcb 100644 (file)
@@ -94,7 +94,8 @@ void _send_fail_signal(struct backend_job *job);
 int _set_restriction_mode(uid_t uid, const char *pkgid, int mode);
 int _unset_restriction_mode(uid_t uid, const char *pkgid, int mode);
 int _get_restriction_mode(uid_t uid, const char *pkgid, int *mode);
-const char *_get_pkgtype_from_file(const char *file_path, uid_t uid);
+const char *_get_pkgtype_from_file(const char *file_path);
 char *_get_pkgtype_from_pkgid(const char *pkgid, uid_t uid);
+const char *_get_adjusted_pkgpath(const char *org_file_path, uid_t caller_uid);
 
 #endif/*  _PKGMGR_SERVER_H_ */