X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fsimulation%2Fsecurity-manager.h;h=9e70f221ac0e2ac0bdc2069c3765341c0c4cf8db;hb=3a2efc3143d89d036794f2d8274794482cb2c961;hp=6bc379a7ffb415e07b06da79ac98cedee76dea69;hpb=f4c7d5544f91dc10539439e59e622cc40decda1a;p=src%2Fapp-framework-main.git diff --git a/src/simulation/security-manager.h b/src/simulation/security-manager.h index 6bc379a..9e70f22 100644 --- a/src/simulation/security-manager.h +++ b/src/simulation/security-manager.h @@ -1,5 +1,5 @@ /* - Copyright 2015 IoT.bzh + Copyright (C) 2015-2020 IoT.bzh Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -25,9 +25,11 @@ enum lib_retcode { SECURITY_MANAGER_ERROR_ACCESS_DENIED }; enum app_install_path_type { + SECURITY_MANAGER_PATH_PRIVATE, + SECURITY_MANAGER_PATH_PUBLIC, SECURITY_MANAGER_PATH_PUBLIC_RO, + SECURITY_MANAGER_PATH_RW, SECURITY_MANAGER_PATH_RO, - SECURITY_MANAGER_PATH_RW }; typedef void app_inst_req; static int diese = 0; @@ -52,6 +54,9 @@ static int diese = 0; #define security_manager_app_install(r) \ (printf("security_manager_app_install(%p)\n",r), SECURITY_MANAGER_SUCCESS) +#define security_manager_app_uninstall(r) \ + (printf("security_manager_app_uninstall(%p)\n",r), SECURITY_MANAGER_SUCCESS) + #define security_manager_prepare_app(a) \ (printf("security_manager_prepare_app(%s)\n",a), SECURITY_MANAGER_SUCCESS)