Adding signature checking
[platform/core/system/tizen-platform-wrapper.git] / src / shared-api.h
1 /*
2  * Copyright (C) 2013-2014 Intel Corporation.
3  * 
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
17  *
18  * Authors:
19  *   José Bollo <jose.bollo@open.eurogiciel.org>
20  *   Stéphane Desneux <stephane.desneux@open.eurogiciel.org>
21  *   Jean-Benoit Martin <jean-benoit.martin@open.eurogiciel.org>
22  *
23  */
24
25 #ifndef SHARED_API_H
26 #define SHARED_API_H
27
28 extern const char* _getname_tzplatform_(int id, char signup[33]);
29 extern int _getid_tzplatform_(const char *name, char signup[33]);
30 extern const char* _getenv_tzplatform_(int id, char signup[33]) ;
31 extern const char* _context_getenv_tzplatform_(int id, char signup[33], struct tzplatform_context *context);
32 extern int _getenv_int_tzplatform_(int id, char signup[33]);
33 extern int _context_getenv_int_tzplatform_(int id, char signup[33], struct tzplatform_context *context);
34 extern const char* _mkstr_tzplatform_(int id, const char * str, char signup[33]);
35 extern const char* _context_mkstr_tzplatform_(int id, const char *str, char signup[33], struct tzplatform_context *context);
36 extern const char* _mkpath_tzplatform_(int id, const char * path, char signup[33]);
37 extern const char* _context_mkpath_tzplatform_(int id, const char *path, char signup[33], struct tzplatform_context *context);
38 extern const char* _mkpath3_tzplatform_(int id, const char * path, const char* path2, char signup[33]);
39 extern const char* _context_mkpath3_tzplatform_(int id, const char *path, const char *path2, char signup[33], struct tzplatform_context *context);
40 extern const char* _mkpath4_tzplatform_(int id, const char * path, const char* path2, const char *path3, char signup[33]);
41 extern const char* _context_mkpath4_tzplatform_(int id, const char *path, const char *path2, const char *path3, char signup[33], struct tzplatform_context *context);
42 extern uid_t _getuid_tzplatform_(int id, char signup[33]);
43 extern uid_t _context_getuid_tzplatform_(int id, char signup[33], struct tzplatform_context *context);
44 extern gid_t _getgid_tzplatform_(int id, char signup[33]);
45 extern gid_t _context_getgid_tzplatform_(int id, char signup[33], struct tzplatform_context *context);
46
47 #endif
48