tizen_2.0_build
[apps/home/starter.git] / lock-mgr / include / lockd-process-mgr.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
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
7  *
8  *  http://www.tizenopensource.org/license
9  *
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.
15  */
16
17 #ifndef __LOCKD_PROCESS_MGR_H__
18 #define __LOCKD_PROCESS_MGR_H__
19
20 int lockd_process_mgr_start_lock(void *data, int (*dead_cb) (int, void *));
21
22 int lockd_process_mgr_restart_lock(void);
23
24 void lockd_process_mgr_terminate_lock_app(int lock_app_pid,
25                                           int state);
26
27 int lockd_process_mgr_check_lock(int pid);
28
29 #endif                          /* __LOCKD_PROCESS_MGR_H__ */