extern struct connman_device *connman_device_ref(struct connman_device *device);
extern void connman_device_unref(struct connman_device *device);
+extern enum connman_device_type connman_device_get_type(struct connman_device *device);
extern const char *connman_device_get_name(struct connman_device *device);
extern const char *connman_device_get_path(struct connman_device *device);
extern void connman_device_set_index(struct connman_device *device,
const char *interface);
extern const char *connman_device_get_interface(struct connman_device *device);
+extern void connman_device_set_ident(struct connman_device *device,
+ const char *ident);
+
extern void connman_device_set_policy(struct connman_device *device,
enum connman_device_policy policy);
extern void connman_device_set_mode(struct connman_device *device,
enum connman_device_mode mode);
extern enum connman_device_mode connman_device_get_mode(struct connman_device *device);
+extern void connman_device_set_secondary(struct connman_device *device,
+ connman_bool_t secondary);
+extern connman_bool_t connman_device_get_secondary(struct connman_device *device);
extern int connman_device_set_powered(struct connman_device *device,
connman_bool_t powered);
int (*enable) (struct connman_device *device);
int (*disable) (struct connman_device *device);
int (*scan) (struct connman_device *device);
+ int (*join) (struct connman_device *device,
+ struct connman_network *network);
};
extern int connman_device_driver_register(struct connman_device_driver *driver);