Apply device policy for wifi and wifi profile
[platform/core/connectivity/libnet-client.git] / src / include / network-signal-handler.h
1 /*
2  * Network Client Library
3  *
4  * Copyright 2012 Samsung Electronics Co., Ltd
5  *
6  * Licensed under the Flora License, Version 1.1 (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.tizenopensource.org/license
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
20 #ifndef __NETWORK_SIGNAL_HANDLER_H__
21 #define __NETWORK_SIGNAL_HANDLER_H__
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 /*****************************************************************************
28  *      Macros and Typedefs
29  *****************************************************************************/
30
31 /*****************************************************************************
32  *      Global Structures
33  *****************************************************************************/
34
35 /*****************************************************************************
36  *      Global Functions
37  *****************************************************************************/
38 int _net_deregister_signal(void);
39 int _net_register_signal(void);
40 int _net_subscribe_signal_wifi(void);
41 int _net_init_service_state_table(void);
42 int _net_get_dpm_wifi_state(void);
43 void _net_set_dpm_wifi_state(int state);
44 int _net_get_dpm_wifi_profile_state(void);
45 void _net_set_dpm_wifi_profile_state(int state);
46
47
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #endif /** __NETWORK_SIGNAL_HANDLER_H__ */