X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fsecmgr-wrap.h;h=608ed8d53d92a0feac83e0b2d01c9aea68a49b5d;hb=70d6c64f0639b0c8ed2d8624227d1ecdf2853300;hp=b6b6890fbd05f77c5cb7f2de57e82d0ad074d9fb;hpb=f4c7d5544f91dc10539439e59e622cc40decda1a;p=src%2Fapp-framework-main.git diff --git a/src/secmgr-wrap.h b/src/secmgr-wrap.h index b6b6890..608ed8d 100644 --- a/src/secmgr-wrap.h +++ b/src/secmgr-wrap.h @@ -1,5 +1,7 @@ /* - Copyright 2015 IoT.bzh + Copyright (C) 2015-2020 IoT.bzh + + author: José Bollo Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -14,12 +16,14 @@ limitations under the License. */ -int secmgr_init(const char *id); -void secmgr_cancel(); -int secmgr_install(); -int secmgr_permit(const char *permission); -int secmgr_path_public_read_only(const char *pathname); -int secmgr_path_read_only(const char *pathname); -int secmgr_path_read_write(const char *pathname); +extern int secmgr_init(const char *id); +extern void secmgr_cancel(); +extern int secmgr_install(); +extern int secmgr_uninstall(); +extern int secmgr_permit(const char *permission); +extern int secmgr_path_public_read_only(const char *pathname); +extern int secmgr_path_read_only(const char *pathname); +extern int secmgr_path_read_write(const char *pathname); +extern int secmgr_path_private(const char *pathname); -int secmgr_prepare_exec(const char *appid); +extern int secmgr_prepare_exec(const char *appid);