2 * Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved
\r
4 * Licensed under the Apache License, Version 2.0 (the License);
\r
5 * you may not use this file except in compliance with the License.
\r
6 * You may obtain a copy of the License at
\r
8 * http://www.apache.org/licenses/LICENSE-2.0
\r
10 * Unless required by applicable law or agreed to in writing, software
\r
11 * distributed under the License is distributed on an AS IS BASIS,
\r
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 * See the License for the specific language governing permissions and
\r
14 * limitations under the License.
\r
17 #ifndef _PRIVACY_CHECKER_CLIENT_H
\r
18 #define _PRIVACY_CHECKER_CLIENT_H
\r
20 #include <privacy_manager_client_types.h>
\r
26 EXTERN_API int privacy_checker_initialize(const char *package_id);
\r
27 EXTERN_API int privacy_checker_check_privacy(const char *privacy_id);
\r
28 EXTERN_API int privacy_checker_check_by_privilege(const char *privilege_id);
\r
29 EXTERN_API int privacy_checker_check_by_device_cap(const char *device_cap);
\r
30 EXTERN_API int privacy_checker_finalize(void);
\r
32 EXTERN_API int privacy_checker_check_package_by_privilege(const char* package_id, const char *privilege_id);
\r
33 EXTERN_API int privacy_checker_check_package_by_device_cap(const char* package_id, const char *device_cap);
\r
35 EXTERN_API int privacy_checker_finalize(void);
\r
42 #endif //_PRIVACY_CHECKER_CLIENT_H
\r