2008-02-07 Dan Williams <dcbw@redhat.com>
* system-settings/src/nm-system-config-interface.c system-settings/src/nm-system-config-interface.h - Add a get_secrets() interface function to retrieve secrets for a specific setting of a specific connection. Document the interface a bit more too. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3297 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -128,3 +128,17 @@ nm_system_config_interface_get_connections (NMSystemConfigInterface *config)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
GHashTable *
|
||||
nm_system_config_interface_get_secrets (NMSystemConfigInterface *config,
|
||||
NMConnection *connection,
|
||||
NMSetting *setting)
|
||||
{
|
||||
g_return_val_if_fail (config != NULL, NULL);
|
||||
g_return_val_if_fail (connection != NULL, NULL);
|
||||
g_return_val_if_fail (setting != NULL, NULL);
|
||||
|
||||
if (NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->get_secrets)
|
||||
return NM_SYSTEM_CONFIG_INTERFACE_GET_INTERFACE (config)->get_secrets (config, connection, setting);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user