/*
* Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd All Rights Reserved
*
- * Contact: Bumjin Im <bj.im@samsung.com>
+ * Contact: Bartlomiej Grzelewski <b.grzelewski@samsung.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include <cstddef>
#include <time.h>
+#include <vector>
+#include <utility>
+#include <string>
+
+struct app_inst_req {
+ std::string appId;
+ std::string pkgId;
+ std::vector<uid_t> allowedUsers;
+ std::vector<std::string> privileges;
+ std::vector<std::pair<std::string, int>> appPaths;
+};
namespace SecurityServer {
extern char const * const SERVICE_SOCKET_PASSWD_CHECK;
extern char const * const SERVICE_SOCKET_PASSWD_SET;
extern char const * const SERVICE_SOCKET_PASSWD_RESET;
+extern char const * const SERVICE_SOCKET_INSTALLER;
enum class AppPermissionsAction { ENABLE, DISABLE };
HDR_SET_PWD_HISTORY
};
+enum class SecurityModuleCall
+{
+ APP_INSTALL,
+ APP_UNINSTALL
+};
+
extern const size_t MAX_PASSWORD_LEN;
extern const unsigned int MAX_PASSWORD_HISTORY;
extern const unsigned int PASSWORD_INFINITE_EXPIRATION_DAYS;