Revert "Merge plugin improvement commit"
[sdk/target/sdbd.git] / src / default_plugin.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
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 __DEFAULT_PLUGIN_H
18 #define __DEFAULT_PLUGIN_H
19
20 extern eventfunc event_handler;
21
22 int get_plugin_capability ( parameters* in, parameters* out );
23 int verify_shell_cmd ( parameters* in, parameters* out );
24 int convert_shell_cmd ( parameters* in, parameters* out );
25 int verify_peer_ip ( parameters* in, parameters* out );
26 int verify_sdbd_launch ( parameters* in, parameters* out );
27 int verify_root_cmd ( parameters* in, parameters* out );
28 int get_lock_state ( parameters* in, parameters* out );
29
30 int auth_support ( parameters* in, parameters* out );
31 int auth_get_key_file_paths ( parameters* in, parameters* out );
32
33 int confirm_public_key ( parameters* in, int out_fd );
34 int appcmd_service ( parameters* in, int out_fd );
35
36 void create_pwlock_thread();
37
38 #endif // __DEFAULT_PLUGIN_H