#include <errno.h>
#include <string.h>
-#include <gdbus.h>
-
#include "connman.h"
-static DBusConnection *connection = NULL;
-
struct connman_device {
struct connman_element element;
enum connman_device_type type;
{
DBG("");
- connection = connman_dbus_get_connection();
-
if (connman_storage_register(&device_storage) < 0)
connman_error("Failed to register device storage");
connman_driver_unregister(&device_driver);
connman_storage_unregister(&device_storage);
-
- dbus_connection_unref(connection);
}
#include <errno.h>
#include <string.h>
-#include <gdbus.h>
-
#include "connman.h"
static unsigned int hidden_counter = 0;
__connman_element_initialize(&network->element);
- //temp = connman_dbus_encode_string(identifier);
if (identifier == NULL) {
temp = g_strdup_printf("hidden_%d", hidden_counter++);
network->hidden = TRUE;