tizen 2.3 release
[framework/system/deviced.git] / src / pass / pass-core.h
1 /*
2  * deviced
3  *
4  * Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd.
5  *
6  * Licensed under the Apache License, Version 2.0 (the License);
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *     http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18
19 #ifndef __PASS_CORE__
20 #define __PASS_CORE__
21 /*
22  * pass_get_governor - Return specific governor instance according to type
23  *
24  * @policy: the instance of struct pass_policy
25  * @type: the type of PASS governor
26  */
27 struct pass_governor* pass_get_governor(struct pass_policy *policy,
28                                                 enum pass_gov_type type);
29
30 /*
31  * pass_get_hotplug - Return specific hotplug instance according to type
32  *
33  * @policy: the instance of struct pass_policy
34  * @type: the type of PASS governor
35  */
36 struct pass_hotplug* pass_get_hotplug(struct pass_policy *policy,
37                                                 enum pass_gov_type type);
38
39 #endif  /* __PASS_CORE__ */