doc: add new document quick-tutorial
[src/app-framework-main.git] / src / secmgr-wrap.h
index 3558c69..db5d0bb 100644 (file)
@@ -1,6 +1,8 @@
 /*
  Copyright 2015 IoT.bzh
 
+ author: José Bollo <jose.bollo@iot.bzh>
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  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_prepare_exec(const char *appid);