4 * Copyright 2012 Samsung Electronics Co., Ltd
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
10 * http://www.tizenopensource.org/license
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.
20 #ifndef __WLAN_ALTERNATIVE_CONNECTION_H__
21 #define __WLAN_ALTERNATIVE_CONNECTION_H__
29 #include <wifi-manager.h>
37 int wlan_initialize(wifi_manager_h *wifi);
38 int wlan_disconnect(wifi_manager_ap_h ap, wifi_manager_disconnected_cb callback, void *user_data);
39 int wlan_connect(wifi_manager_ap_h ap, wifi_manager_connected_cb callback, void *user_data,
40 wps_type_t type, const char *pin);
41 gboolean wlan_connetion_next_item_exist(void);
42 gboolean wlan_is_same_with_current(wifi_manager_ap_h ap);
43 void wlan_connect_cleanup(void);
44 void wlan_connect_next();
45 void wlan_go_fast_next();
50 #endif /* __WLAN_ALTERNATIVE_CONNECTION_H__ */