diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2011-12-02 16:18:35 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-12-12 10:44:40 +0100 |
commit | c0f9b9846dfba12f6475018cef983bef32a7a646 (patch) | |
tree | 12568eec748bb773b4414c413344d26c098d3c1e /include | |
parent | f8b5879fec7b3035313459cd2b02928afaa36dc8 (diff) | |
download | connman-c0f9b9846dfba12f6475018cef983bef32a7a646.tar.gz connman-c0f9b9846dfba12f6475018cef983bef32a7a646.tar.bz2 connman-c0f9b9846dfba12f6475018cef983bef32a7a646.zip |
network: Add functionality to connect a hidden network
When given a struct connman_network, look up a corresponding
service. Set the earlier supplied identity and passphrase for
this service and try to connect it.
Diffstat (limited to 'include')
-rw-r--r-- | include/network.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h index e24019a2..b0a86173 100644 --- a/include/network.h +++ b/include/network.h @@ -92,6 +92,9 @@ connman_bool_t connman_network_get_connected(struct connman_network *network); connman_bool_t connman_network_get_associating(struct connman_network *network); +int connman_network_connect_hidden(struct connman_network *network, + char *identity, char* passphrase); + void connman_network_set_ipv4_method(struct connman_network *network, enum connman_ipconfig_method method); void connman_network_set_ipv6_method(struct connman_network *network, |