summaryrefslogtreecommitdiff
path: root/include/peer.h
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2014-07-17 14:00:50 +0300
committerDaniel Wagner <wagi@monom.org>2014-07-18 00:59:24 +0400
commit449b18dd49e16aa96056024bc7613c41bd4c2b54 (patch)
treece9f5cda68308bd8fe4e7fe9498ccd36e9b70fae /include/peer.h
parent751294eb6e70f4676c3e12605feb0882bfd7a51c (diff)
downloadconnman-449b18dd49e16aa96056024bc7613c41bd4c2b54.tar.gz
peer: Add a function to tell the dhcp role of the peer
This will be used afterwards, in configuration state, to start dhcp as a client or as a server.
Diffstat (limited to 'include/peer.h')
-rw-r--r--include/peer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/peer.h b/include/peer.h
index cdaee497..720d65be 100644
--- a/include/peer.h
+++ b/include/peer.h
@@ -58,6 +58,7 @@ void connman_peer_set_device(struct connman_peer *peer,
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);
+void connman_peer_set_as_master(struct connman_peer *peer, bool master);
int connman_peer_set_state(struct connman_peer *peer,
enum connman_peer_state new_state);