2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.tizenopensource.org/license
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #ifndef __LOCKD_PROCESS_MGR_H__
20 #define __LOCKD_PROCESS_MGR_H__
22 int lockd_process_mgr_start_lock(void *data, int (*dead_cb) (int, void *),
23 int phone_lock_state);
25 int lockd_process_mgr_restart_lock(int phone_lock_state);
27 int lockd_process_mgr_start_recovery_lock(void);
29 int lockd_process_mgr_start_phone_lock(void);
31 int lockd_process_mgr_start_normal_lock(void *data, int (*dead_cb) (int, void *));
33 void lockd_process_mgr_terminate_lock_app(int lock_app_pid,
36 void lockd_process_mgr_terminate_phone_lock(int phone_lock_pid);
38 int lockd_process_mgr_check_lock(int pid);
40 #endif /* __LOCKD_PROCESS_MGR_H__ */