summaryrefslogtreecommitdiff
path: root/include/peer.h
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2014-07-11 11:04:29 +0300
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2014-07-11 10:21:17 +0200
commitd267c04f38d5c11ffd3cba4dfde99d8c2039fdf6 (patch)
tree462658a456ae6938e4999dabbb13f1622855745c /include/peer.h
parente9256105fe99eaf87ae18dc60678646b3ce4af60 (diff)
downloadconnman-d267c04f38d5c11ffd3cba4dfde99d8c2039fdf6.tar.gz
peer: Add the notion of sub-device used when connected.
A peer might get connected through a newly created specific device, thus the ipconfig needs to be aware of its index so it will set the ip address on the right interface.
Diffstat (limited to 'include/peer.h')
-rw-r--r--include/peer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/peer.h b/include/peer.h
index 260c4af6..cdaee497 100644
--- a/include/peer.h
+++ b/include/peer.h
@@ -56,6 +56,8 @@ void connman_peer_set_name(struct connman_peer *peer, const char *name);
void connman_peer_set_device(struct connman_peer *peer,
struct connman_device *device);
struct connman_device *connman_peer_get_device(struct connman_peer *peer);
+void connman_peer_set_sub_device(struct connman_peer *peer,
+ struct connman_device *device);
int connman_peer_set_state(struct connman_peer *peer,
enum connman_peer_state new_state);