|  |  |  | libnm-glib Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Prerequisites | Known Implementations | ||||
#define NM_SETTINGS_CONNECTION_INTERFACE_UPDATED #define NM_SETTINGS_CONNECTION_INTERFACE_REMOVED NMSettingsConnectionInterface; void (*NMSettingsConnectionInterfaceUpdateFunc) (NMSettingsConnectionInterface *connection,GError *error,gpointer user_data); void (*NMSettingsConnectionInterfaceDeleteFunc) (NMSettingsConnectionInterface *connection,GError *error,gpointer user_data); void (*NMSettingsConnectionInterfaceGetSecretsFunc) (NMSettingsConnectionInterface *connection,GHashTable *secrets,GError *error,gpointer user_data); gboolean nm_settings_connection_interface_update (NMSettingsConnectionInterface *connection,NMSettingsConnectionInterfaceUpdateFunc callback,gpointer user_data); gboolean nm_settings_connection_interface_delete (NMSettingsConnectionInterface *connection,NMSettingsConnectionInterfaceDeleteFunc callback,gpointer user_data); gboolean nm_settings_connection_interface_get_secrets (NMSettingsConnectionInterface *connection,const char *setting_name,const char **hints,gboolean request_new,NMSettingsConnectionInterfaceGetSecretsFunc callback,gpointer user_data); void nm_settings_connection_interface_emit_updated (NMSettingsConnectionInterface *connection);
NMSettingsConnectionInterface is implemented by NMExportedConnection and NMRemoteConnection.
typedef struct _NMSettingsConnectionInterface NMSettingsConnectionInterface;
void (*NMSettingsConnectionInterfaceUpdateFunc) (NMSettingsConnectionInterface *connection,GError *error,gpointer user_data);
| 
 | |
| 
 | |
| 
 | 
void (*NMSettingsConnectionInterfaceDeleteFunc) (NMSettingsConnectionInterface *connection,GError *error,gpointer user_data);
| 
 | |
| 
 | |
| 
 | 
void (*NMSettingsConnectionInterfaceGetSecretsFunc) (NMSettingsConnectionInterface *connection,GHashTable *secrets,GError *error,gpointer user_data);
| 
 | |
| 
 | |
| 
 | |
| 
 | 
gboolean nm_settings_connection_interface_update (NMSettingsConnectionInterface *connection,NMSettingsConnectionInterfaceUpdateFunc callback,gpointer user_data);
Update the connection with current settings and properties.
| 
 | an object implementing NMSettingsConnectionInterface | 
| 
 | a function to be called when the update completes | 
| 
 | caller-specific data to be passed to callback | 
| Returns : | TRUE on success, FALSE on failure | 
gboolean nm_settings_connection_interface_delete (NMSettingsConnectionInterface *connection,NMSettingsConnectionInterfaceDeleteFunc callback,gpointer user_data);
Delete the connection.
| 
 | a objecting implementing NMSettingsConnectionInterface | 
| 
 | a function to be called when the delete completes | 
| 
 | caller-specific data to be passed to callback | 
| Returns : | TRUE on success, FALSE on failure | 
gboolean nm_settings_connection_interface_get_secrets (NMSettingsConnectionInterface *connection,const char *setting_name,const char **hints,gboolean request_new,NMSettingsConnectionInterfaceGetSecretsFunc callback,gpointer user_data);
Request the connection's secrets.
| 
 | a object implementing NMSettingsConnectionInterface | 
| 
 | the NMSetting object name to get secrets for | 
| 
 | NMSetting key names to get secrets for (optional) | 
| 
 | hint that new secrets (instead of cached or stored secrets) should be returned | 
| 
 | a function to be called when the update completes | 
| 
 | caller-specific data to be passed to callback | 
| Returns : | TRUE on success, FALSE on failure | 
void                nm_settings_connection_interface_emit_updated
                                                        (NMSettingsConnectionInterface *connection);
| 
 |