extern "C" {
#endif
+#include <connman/types.h>
#include <connman/network.h>
/**
enum connman_device_mode mode);
extern int connman_device_set_powered(struct connman_device *device,
- gboolean powered);
+ connman_bool_t powered);
extern int connman_device_set_carrier(struct connman_device *device,
- gboolean carrier);
+ connman_bool_t carrier);
extern int connman_device_set_scanning(struct connman_device *device,
- gboolean scanning);
+ connman_bool_t scanning);
extern int connman_device_add_network(struct connman_device *device,
struct connman_network *network);
* Change power state of device
*/
int connman_device_set_powered(struct connman_device *device,
- gboolean powered)
+ connman_bool_t powered)
{
DBusMessage *signal;
DBusMessageIter entry, value;
* Change carrier state of device (only for device without scanning)
*/
int connman_device_set_carrier(struct connman_device *device,
- gboolean carrier)
+ connman_bool_t carrier)
{
DBG("driver %p carrier %d", device, carrier);
* Change scanning state of device
*/
int connman_device_set_scanning(struct connman_device *device,
- gboolean scanning)
+ connman_bool_t scanning)
{
DBusMessage *signal;
DBusMessageIter entry, value;