Try the Wireless Extension driver first for now
[connman] / include / device.h
index c0042a9..8311607 100644 (file)
@@ -71,6 +71,7 @@ extern struct connman_device *connman_device_create(const char *node,
 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,
@@ -80,11 +81,17 @@ extern void connman_device_set_interface(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);