1 // Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by a apache 2.0 license that can be
3 // found in the LICENSE file.
5 #ifndef COMMON_SECURITY_REGISTRATION_H_
6 #define COMMON_SECURITY_REGISTRATION_H_
8 #include <boost/filesystem/path.hpp>
10 #include <sys/types.h>
14 #include "common/context_installer.h"
16 namespace common_installer {
18 bool RegisterSecurityContextForApps(const std::string& pkg_id,
19 const boost::filesystem::path& path, manifest_x* manifest);
20 bool UnregisterSecurityContextForApps(const std::string& pkg_id,
21 manifest_x* manifest);
23 } // namespace common_installer
25 #endif // COMMON_SECURITY_REGISTRATION_H_