diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-05 03:17:37 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-05 03:17:37 +0100 |
commit | 474f7506381da61fd69cd3446951a2bb4bbafeae (patch) | |
tree | 2cafd75cb378fa529a8bd7bc70863a42c12b1931 /plugins/supplicant.h | |
parent | ea1f8757bccdd6c52a9a3000849e1c79e4cb5a9a (diff) | |
download | connman-474f7506381da61fd69cd3446951a2bb4bbafeae.tar.gz connman-474f7506381da61fd69cd3446951a2bb4bbafeae.tar.bz2 connman-474f7506381da61fd69cd3446951a2bb4bbafeae.zip |
Add support for connecting WiFi networks
Diffstat (limited to 'plugins/supplicant.h')
-rw-r--r-- | plugins/supplicant.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/supplicant.h b/plugins/supplicant.h index ca65f699..fb49722b 100644 --- a/plugins/supplicant.h +++ b/plugins/supplicant.h @@ -20,7 +20,7 @@ */ #include <connman/device.h> -#include <connman/element.h> +#include <connman/network.h> struct supplicant_driver { const char *name; @@ -35,7 +35,5 @@ int supplicant_start(struct connman_device *device); int supplicant_stop(struct connman_device *device); int supplicant_scan(struct connman_device *device); -int __supplicant_connect(struct connman_element *element, - const unsigned char *ssid, int ssid_len, - const char *security, const char *passphrase); -int __supplicant_disconnect(struct connman_element *element); +int supplicant_connect(struct connman_network *network); +int supplicant_disconnect(struct connman_network *network); |