3b56dc4a6881d572f1448d0c42e1168b88e10d3e
[framework/connectivity/mobileap-agent.git] / include / mobileap_network.h
1 /*
2  *  mobileap-agent
3  *
4  * Copyright 2012-2013  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://floralicense.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 __MOBILEAP_NETWORK_H__
21 #define __MOBILEAP_NETWORK_H__
22
23 #include <glib.h>
24
25 gboolean _get_network_interface_name(char **if_name);
26 gboolean _is_trying_network_operation(void);
27 gboolean _set_masquerade(void);
28 gboolean _unset_masquerade(void);
29 gboolean _open_network(void);
30 gboolean _close_network(void);
31 gboolean _init_network(void *user_data);
32 gboolean _deinit_network(void);
33
34 #endif /* __MOBILEAP_NETWORK_H__ */