- gboolean powered);
-
-static inline void *connman_device_get_data(struct connman_device *device)
-{
- return device->driver_data;
-}
-
-static inline void connman_device_set_data(struct connman_device *device,
- void *data)
-{
- device->driver_data = data;
-}
+ connman_bool_t powered);
+extern int connman_device_set_carrier(struct connman_device *device,
+ connman_bool_t carrier);
+extern int connman_device_set_scanning(struct connman_device *device,
+ connman_bool_t scanning);
+
+extern int connman_device_add_network(struct connman_device *device,
+ struct connman_network *network);
+extern struct connman_network *connman_device_get_network(struct connman_device *device,
+ const char *identifier);
+extern int connman_device_remove_network(struct connman_device *device,
+ const char *identifier);
+
+extern int connman_device_register(struct connman_device *device);
+extern void connman_device_unregister(struct connman_device *device);
+
+extern void *connman_device_get_data(struct connman_device *device);
+extern void connman_device_set_data(struct connman_device *device, void *data);