*
* Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact: Danny JS Seo <S.Seo@samsung.com>
- *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
#include <unistd.h>
#include "log.h"
-#include "dbus.h"
#include "wifi.h"
#include "emulator.h"
+#include "netdbus.h"
#include "network-state.h"
+#include "network-statistics.h"
#include "signal-handler.h"
static GMainLoop *main_loop = NULL;
if (netconfig_wifi_create_and_init(connection) == NULL)
return -1;
+ if (netconfig_network_statistics_create_and_init(connection) == NULL)
+ return -1;
+
/* If its environment uses Emulator, network configuration is set by emulator default */
netconfig_emulator_test_and_start();
g_main_loop_run(main_loop);
+ netconfig_wifi_state_notifier_cleanup();
netconfig_deregister_signal();
return 0;