Index: chromeos_network.h |
diff --git a/chromeos_network.h b/chromeos_network.h |
index a73620913064533a1cc233facc6bb63abebdf6e4..f6fa6013ec450ff1201d29c364db0c5ef4ea1aaa 100644 |
--- a/chromeos_network.h |
+++ b/chromeos_network.h |
@@ -149,6 +149,7 @@ extern bool (*ConnectToNetworkWithCertInfo)(const char* service_path, |
const char* passphrase, |
const char* identity, |
const char* certpath); |
+ |
// Connects to the network with the |service_path|. |
// |
// Set |passphrase| to NULL if the network doesn't require authentication. |
@@ -160,6 +161,9 @@ extern bool (*ConnectToNetworkWithCertInfo)(const char* service_path, |
extern bool (*ConnectToNetwork)(const char* service_path, |
const char* passphrase); |
+// Disconnects from the network with the |service_path|. |
+extern bool (*DisconnectFromNetwork)(const char* service_path); |
+ |
// This will delete this service from the list of remembered service. |
// |
// Returns false on failure and true on success. |
@@ -209,6 +213,11 @@ extern bool (*SetOfflineMode)(bool offline); |
// Returns true on success. |
extern bool (*SetAutoConnect)(const char* service_path, bool auto_connect); |
+// Set passphrase for service. |
+// |
+// Returns true on success. |
+extern bool (*SetPassphrase)(const char* service_path, const char* passphrase); |
+ |
// Gets a list of all the IPConfigs using a given device path |
extern IPConfigStatus* (*ListIPConfigs)(const char* device_path); |