connman_bool_t __connman_device_has_driver(struct connman_device *device);
+void __connman_device_set_reconnect(struct connman_device *device,
+ connman_bool_t reconnect);
+connman_bool_t __connman_device_get_reconnect(struct connman_device *device);
+
const char *__connman_device_get_type(struct connman_device *device);
const char *__connman_device_get_ident(struct connman_device *device);
connman_bool_t carrier;
connman_bool_t scanning;
connman_bool_t disconnected;
+ connman_bool_t reconnect;
connman_uint16_t scan_interval;
char *name;
char *node;
}
}
+void __connman_device_set_reconnect(struct connman_device *device,
+ connman_bool_t reconnect)
+{
+ device->reconnect = reconnect;
+}
+
+connman_bool_t __connman_device_get_reconnect(
+ struct connman_device *device)
+{
+ return device->reconnect;
+}
+
/**
* connman_device_register:
* @device: device structure