about summary refs log tree commit diff
path: root/libnm-util/nm-connection.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2011-08-23 19:17:03 +0200
committerMichael Biebl <biebl@debian.org>2011-08-23 19:17:03 +0200
commit72acf6b5cf8cf7df57288a5ebca56cd84d21ff62 (patch)
tree45a40c078a86d4043a303ca0f81735daf263f175 /libnm-util/nm-connection.h
parent232698d28a1764e179f668f480738b8c7117e70a (diff)
parent263bf4c0c89bb88dc995acd9a6a2de9095fbd461 (diff)
Merge commit 'upstream/0.9.0' into experimental
Diffstat (limited to 'libnm-util/nm-connection.h')
-rw-r--r--libnm-util/nm-connection.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libnm-util/nm-connection.h b/libnm-util/nm-connection.h
index 87b053c1..3cd18747 100644
--- a/libnm-util/nm-connection.h
+++ b/libnm-util/nm-connection.h
@@ -66,6 +66,8 @@ G_BEGIN_DECLS
  *   'connection' setting did not point to a valid connection base type; ie
  *   it was not a hardware-related setting like #NMSettingWired or
  *   #NMSettingWireless.
+ * @NM_CONNECTION_ERROR_SETTING_NOT_FOUND: the #NMConnection object
+ *   did not contain the specified #NMSetting object
  *
  * Describes errors that may result from operations involving a #NMConnection.
  *
@@ -74,7 +76,8 @@ typedef enum
 {
 	NM_CONNECTION_ERROR_UNKNOWN = 0,
 	NM_CONNECTION_ERROR_CONNECTION_SETTING_NOT_FOUND,
-	NM_CONNECTION_ERROR_CONNECTION_TYPE_INVALID
+	NM_CONNECTION_ERROR_CONNECTION_TYPE_INVALID,
+	NM_CONNECTION_ERROR_SETTING_NOT_FOUND
 } NMConnectionError;
 
 #define NM_TYPE_CONNECTION_ERROR (nm_connection_error_get_type ()) 
@@ -146,7 +149,7 @@ void          nm_connection_clear_secrets (NMConnection *connection);
 
 gboolean      nm_connection_update_secrets (NMConnection *connection,
                                             const char *setting_name,
-                                            GHashTable *setting_secrets,
+                                            GHashTable *secrets,
                                             GError **error);
 
 void          nm_connection_set_path      (NMConnection *connection,