X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fsimulation%2Fsecurity-manager.h;h=e996ec2a4fc2c43b077dea6b4080a7d1743a021b;hb=2a319cf90daa6e3b01e8139923f7073e1c9bcf28;hp=496955573ab1a60788ae9637e0f47cd19c01c1e5;hpb=e2de563d1ecb4585ce68521bd42f3ef45ac79f16;p=src%2Fapp-framework-main.git diff --git a/src/simulation/security-manager.h b/src/simulation/security-manager.h index 4969555..e996ec2 100644 --- a/src/simulation/security-manager.h +++ b/src/simulation/security-manager.h @@ -1,5 +1,5 @@ /* - Copyright 2015 IoT.bzh + Copyright (C) 2015-2019 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; @@ -51,3 +53,10 @@ 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) +