diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-06-16 09:44:53 +0200 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-06-16 15:26:11 +0200 |
commit | 914e310b8b5cb0c1495d4b9479a8e00d2f2caa21 (patch) | |
tree | 7d38852d82146461ca580f4348280431e75c0be8 /include | |
parent | c4a2cdcfcae4ee047616bb4455508f22bd1fbb54 (diff) | |
download | connman-914e310b8b5cb0c1495d4b9479a8e00d2f2caa21.tar.gz connman-914e310b8b5cb0c1495d4b9479a8e00d2f2caa21.tar.bz2 connman-914e310b8b5cb0c1495d4b9479a8e00d2f2caa21.zip |
network: Use setter/getters for connman_network_set/get_uint8()
Diffstat (limited to 'include')
-rw-r--r-- | include/network.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/network.h b/include/network.h index 1ed6f6ab..b2d491cb 100644 --- a/include/network.h +++ b/include/network.h @@ -110,6 +110,7 @@ int connman_network_set_name(struct connman_network *network, const char *name); int connman_network_set_strength(struct connman_network *network, connman_uint8_t strength); +connman_uint8_t connman_network_get_strength(struct connman_network *network); int connman_network_set_roaming(struct connman_network *network, connman_bool_t roaming); @@ -121,10 +122,7 @@ int connman_network_set_bool(struct connman_network *network, const char *key, connman_bool_t value); connman_bool_t connman_network_get_bool(struct connman_network *network, const char *key); -int connman_network_set_uint8(struct connman_network *network, - const char *key, connman_uint8_t value); -connman_uint8_t connman_network_get_uint8(struct connman_network *network, - const char *key); + int connman_network_set_uint16(struct connman_network *network, const char *key, connman_uint16_t value); connman_uint16_t connman_network_get_uint16(struct connman_network *network, |