Merge "Added support to add ipv6 route using netlink." into tizen
[platform/core/connectivity/net-config.git] / include / wifi-firmware.h
index 057d328..059ee24 100755 (executable)
@@ -1,7 +1,7 @@
 /*
  * Network Configuration Module
  *
- * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -17,7 +17,6 @@
  *
  */
 
-
 #ifndef __NETCONFIG_WIFI_FIRMWARE_H__
 #define __NETCONFIG_WIFI_FIRMWARE_H__
 
@@ -26,6 +25,7 @@ extern "C" {
 #endif
 
 #include <glib.h>
+#include "wifi.h"
 
 enum netconfig_wifi_firmware {
        NETCONFIG_WIFI_OFF              = 0x00,
@@ -36,10 +36,8 @@ enum netconfig_wifi_firmware {
 
 int netconfig_wifi_firmware(enum netconfig_wifi_firmware type, gboolean enable);
 
-gboolean netconfig_iface_wifi_start(
-               NetconfigWifi *wifi, gchar *device, GError **error);
-gboolean netconfig_iface_wifi_stop(
-               NetconfigWifi *wifi, gchar *device, GError **error);
+gboolean handle_start(WifiFirmware *firmware, GDBusMethodInvocation *context, const gchar *device);
+gboolean handle_stop(WifiFirmware *firmware, GDBusMethodInvocation *context, const gchar *device);
 
 #ifdef __cplusplus
 }