From 485d149fe80915d94ed49ea6c2c0552cf7a3e79a Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 28 Oct 2011 23:04:16 +0200 Subject: Imported Upstream version 0.9.1.95 --- docs/libnm-util/html/NMSetting.html | 85 +++++++++++++++++++++++++++++++++++-- 1 file changed, 82 insertions(+), 3 deletions(-) (limited to 'docs/libnm-util/html/NMSetting.html') diff --git a/docs/libnm-util/html/NMSetting.html b/docs/libnm-util/html/NMSetting.html index 0cc1fd03..eec15973 100644 --- a/docs/libnm-util/html/NMSetting.html +++ b/docs/libnm-util/html/NMSetting.html @@ -56,6 +56,10 @@ enum NMSetti enum NMSettingSecretFlags; enum NMSettingCompareFlags; NMSetting; +gboolean (*NMSettingClearSecretsWithFlagsFn) (NMSetting *setting, + const char *secret, + NMSettingSecretFlags flags, + gpointer user_data); NMSettingClass; void (*NMSettingValueIterFn) (NMSetting *setting, const char *key, @@ -87,6 +91,9 @@ enum gpointer user_data); char * nm_setting_to_string (NMSetting *setting); void nm_setting_clear_secrets (NMSetting *setting); +void nm_setting_clear_secrets_with_flags (NMSetting *setting, + NMSettingClearSecretsWithFlagsFn func, + gpointer user_data); GPtrArray * nm_setting_need_secrets (NMSetting *setting); gboolean nm_setting_update_secrets (NMSetting *setting, GHashTable *secrets, @@ -380,6 +387,42 @@ It should only be accessed through the functions described below.
+

NMSettingClearSecretsWithFlagsFn ()

+
gboolean            (*NMSettingClearSecretsWithFlagsFn) (NMSetting *setting,
+                                                         const char *secret,
+                                                         NMSettingSecretFlags flags,
+                                                         gpointer user_data);
+
++ + + + + + + + + + + + + + + + + + + + + + +

setting :

The setting for which secrets are being iterated

secret :

The secret's name

flags :

The secret's flags, eg NM_SETTING_SECRET_FLAG_AGENT_OWNED +

user_data :

User data passed to nm_connection_clear_secrets_with_flags() +

Returns :

+TRUE to clear the secret, FALSE to not clear the secret
+
+
+

NMSettingClass

typedef struct {
 	GObjectClass parent;
@@ -414,10 +457,14 @@ It should only be accessed through the functions described below.
 	                                  const GParamSpec *prop_spec,
 	                                  NMSettingCompareFlags flags);
 
+	void        (*clear_secrets_with_flags) (NMSetting *setting,
+	                                         GParamSpec *pspec,
+	                                         NMSettingClearSecretsWithFlagsFn func,
+	                                         gpointer user_data);
+
 	/* Padding for future expansion */
 	void (*_reserved1) (void);
 	void (*_reserved2) (void);
-	void (*_reserved3) (void);
 } NMSettingClass;
 

@@ -635,8 +682,9 @@ failed validation, and in what way that property failed validation.

all_settings :

-a GSList of all settings in the connection from which setting -came +a GSList of all settings +in the connection from which setting came. [element-type NMSetting] +

error :

@@ -851,6 +899,37 @@ leakage of information.

+

nm_setting_clear_secrets_with_flags ()

+
void                nm_setting_clear_secrets_with_flags (NMSetting *setting,
+                                                         NMSettingClearSecretsWithFlagsFn func,
+                                                         gpointer user_data);
+

+Clears and frees secrets determined by func. +

+
++ + + + + + + + + + + + + + +

setting :

the NMSetting +

func :

function to be called to determine whether a +specific secret should be cleared or not. [scope call] +

user_data :

caller-supplied data passed to func +
+
+
+

nm_setting_need_secrets ()

GPtrArray *         nm_setting_need_secrets             (NMSetting *setting);

-- cgit 1.3.0-6-gf8a5