summaryrefslogtreecommitdiff
path: root/include/network.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-05-21 12:54:52 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-05-21 12:54:52 -0700
commit5ff3fa9a377546180d6b0b6acb59d3a278ca1896 (patch)
tree9c43476b448adb0dfd6ccb843d89842b8ac25d24 /include/network.h
parenta122608612253a3195c6098ce477ddb4c243c9e7 (diff)
downloadconnman-5ff3fa9a377546180d6b0b6acb59d3a278ca1896.tar.gz
connman-5ff3fa9a377546180d6b0b6acb59d3a278ca1896.tar.bz2
connman-5ff3fa9a377546180d6b0b6acb59d3a278ca1896.zip
Add helper for setting network address and use it
Diffstat (limited to 'include/network.h')
-rw-r--r--include/network.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h
index 3764e08f..7710913e 100644
--- a/include/network.h
+++ b/include/network.h
@@ -80,6 +80,8 @@ extern int connman_network_set_connected(struct connman_network *network,
connman_bool_t connected);
extern connman_bool_t connman_network_get_connected(struct connman_network *network);
+extern int connman_network_set_address(struct connman_network *network,
+ const void *address, unsigned int size);
extern int connman_network_set_name(struct connman_network *network,
const char *name);
extern int connman_network_set_strength(struct connman_network *network,