summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-05-01 09:03:13 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-05-01 09:03:13 -0700
commitf47ba233b60652cda14e4aa543b8d43f177f2d17 (patch)
treec5c69b1deaf221e45cc7cce95e15d3dc73ab5c82 /include
parentd165e9b31ffc44a06ab5064812113556ade18c4d (diff)
downloadconnman-f47ba233b60652cda14e4aa543b8d43f177f2d17.tar.gz
connman-f47ba233b60652cda14e4aa543b8d43f177f2d17.tar.bz2
connman-f47ba233b60652cda14e4aa543b8d43f177f2d17.zip
Add support for marking devices as secondary
Diffstat (limited to 'include')
-rw-r--r--include/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h
index 17a2a0ca..8311607b 100644
--- a/include/device.h
+++ b/include/device.h
@@ -89,6 +89,9 @@ extern void connman_device_set_policy(struct connman_device *device,
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);