summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-05-21 12:07:09 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-05-21 12:07:09 -0700
commit56970b2638b76dafbd4109962c54cb716815ab15 (patch)
tree771f7f04fcbce2c7cf6252944977bc8b5871989f /include
parent36b19e423a2d66c0c9d722d4ee2fc65c03163b43 (diff)
downloadconnman-56970b2638b76dafbd4109962c54cb716815ab15.tar.gz
connman-56970b2638b76dafbd4109962c54cb716815ab15.tar.bz2
connman-56970b2638b76dafbd4109962c54cb716815ab15.zip
Add helpers for setting network name and signal strength values
Diffstat (limited to 'include')
-rw-r--r--include/network.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h
index 0e827c5d..3764e08f 100644
--- a/include/network.h
+++ b/include/network.h
@@ -80,6 +80,11 @@ 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_name(struct connman_network *network,
+ const char *name);
+extern int connman_network_set_strength(struct connman_network *network,
+ connman_uint8_t strength);
+
extern int connman_network_set_string(struct connman_network *network,
const char *key, const char *value);
extern const char *connman_network_get_string(struct connman_network *network,