Revert "Do not pass app_id in security-manager registration"
[platform/core/appfw/app-installers.git] / src / common / security_registration.h
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.
4
5 #ifndef COMMON_SECURITY_REGISTRATION_H_
6 #define COMMON_SECURITY_REGISTRATION_H_
7
8 #include <boost/filesystem/path.hpp>
9
10 #include <sys/types.h>
11
12 #include <string>
13
14 #include "common/context_installer.h"
15
16 namespace common_installer {
17
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);
22
23 }  // namespace common_installer
24
25 #endif  // COMMON_SECURITY_REGISTRATION_H_