[TSAM-14049] fix null pointer reference
[platform/core/connectivity/net-config.git] / include / wifi-tdls.h
1 /*
2  * Network Configuration Module
3  *
4  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. All rights reserved.
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 __TIZEN_NETWORK_WIFI_TDLS_H__
20 #define __TIZEN_NETWORK_WIFI_TDLS_H__
21
22 #ifdef __cplusplus
23          extern "C" {
24 #endif
25
26 #include <glib.h>
27 #include "netsupplicant.h"
28
29 void netconfig_wifi_tlds_connected_event(GVariant *message);
30 void netconfig_wifi_tlds_disconnected_event(GVariant *message);
31 void __netconfig_wifi_notify_tdls_connected_event(const char *peer_mac);
32 gboolean handle_tdls_disconnect(Wifi *wifi, GDBusMethodInvocation *context, gchar *peer_mac_addr);
33 gboolean handle_tdls_connected_peer(Wifi *wifi, GDBusMethodInvocation *context);
34
35
36 #ifdef __cplusplus
37 }
38 #endif
39
40 #endif /* __TIZEN_NETWORK_WIFI_TDLS_H__ */
41