Apply coding rule
[platform/core/api/wifi.git] / include / wifi_dbus_private.h
1 #ifndef __WIFI_DBUS_H__
2 #define __WIFI_DBUS_H__
3
4 #include <gio/gio.h>
5
6 #define DBUS_REPLY_TIMEOUT      (120 * 1000)
7
8 #define NETCONFIG_SERVICE                                       "net.netconfig"
9 #define NETCONFIG_IWIFI                                         "net.netconfig.wifi"
10 #define NETCONFIG_INETWORK                                      "net.netconfig.network"
11 #define NETCONFIG_ISTATISTICS                           "net.netconfig.network_statistics"
12
13 #define NETCONFIG_WIFI_PATH                             "/net/netconfig/wifi"
14 #define NETCONFIG_NETWORK_PATH                  "/net/netconfig/network"
15 #define NETCONFIG_STATISTICS_PATH                       "/net/netconfig/network_statistics"
16
17 struct _wifi_dbus {
18         GDBusConnection *dbus_conn;
19         GCancellable *ca;
20 };
21
22 typedef struct _wifi_dbus wifi_dbus;
23
24 int wifi_dbus_init(wifi_dbus **handle);
25 int wifi_dbus_deinit(wifi_dbus *handle);
26
27 #endif