X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fserver%2Fcommon%2Fprotocols.h;h=9f6f9ccf48e96ef16f37516fc579a17f6a3da960;hb=0e304eda6b2f62dc0444fa3f813fc89e7593c237;hp=103bf14f1d46b91e10048d9a84a6a679a5023217;hpb=a1225f1c1ea260a30c706baad673c132fdaee5a3;p=platform%2Fcore%2Fsecurity%2Fsecurity-server.git diff --git a/src/server/common/protocols.h b/src/server/common/protocols.h index 103bf14..9f6f9cc 100644 --- a/src/server/common/protocols.h +++ b/src/server/common/protocols.h @@ -1,7 +1,7 @@ /* * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd All Rights Reserved * - * Contact: Bumjin Im + * Contact: Bartlomiej Grzelewski * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,17 @@ #include #include +#include +#include +#include + +struct app_inst_req { + std::string appId; + std::string pkgId; + std::vector allowedUsers; + std::vector privileges; + std::vector> appPaths; +}; namespace SecurityServer { @@ -39,6 +50,7 @@ extern char const * const SERVICE_SOCKET_COOKIE_CHECK; 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 }; @@ -66,6 +78,12 @@ enum class PasswordHdrs 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;