/*
* 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.
#include "wifi.h"
-void netconfig_wifi_bgscan_start(void);
-void netconfig_wifi_bgscan_stop(void);
-gboolean netconfig_wifi_get_bgscan_state(void);
+void netconfig_wifi_bgscan_start(const char *interface_name, gboolean immediate_scan);
+void netconfig_wifi_bgscan_stop(const char *interface_name);
+
+gboolean handle_set_bgscan(Wifi *wifi, GDBusMethodInvocation *context,
+ const gchar *ifname, guint scan_mode);
+gboolean handle_resume_bgscan(Wifi *wifi, GDBusMethodInvocation *context,
+ const gchar *ifname);
+gboolean handle_pause_bgscan(Wifi *wifi, GDBusMethodInvocation *context,
+ const gchar *ifname);
+gboolean handle_reset_bgscan_interval(Wifi *wifi, GDBusMethodInvocation *context,
+ const gchar *ifname);
+
+gboolean handle_get_autoscan(Wifi *wifi, GDBusMethodInvocation *context,
+ const gchar *ifname);
+gboolean handle_get_autoscanmode(Wifi *wifi, GDBusMethodInvocation *context,
+ const gchar *ifname);
+
-gboolean netconfig_wifi_get_scanning(void);
-void netconfig_wifi_set_scanning(gboolean scanning);
-gboolean netconfig_iface_wifi_set_bgscan(NetconfigWifi *wifi, guint scan_mode, GError **error);
#ifdef __cplusplus
}