Top | ![]() |
![]() |
![]() |
![]() |
void | (*NMRemoteConnectionCommitFunc) () |
void | (*NMRemoteConnectionDeleteFunc) () |
void | (*NMRemoteConnectionGetSecretsFunc) () |
NMRemoteConnection * | nm_remote_connection_new () |
void | nm_remote_connection_commit_changes () |
void | nm_remote_connection_delete () |
void | nm_remote_connection_get_secrets () |
DBusGConnection * | bus | Write / Construct Only |
DBusGConnection * | dbus-connection | Write / Construct Only |
gchar * | dbus-path | Write / Construct Only |
void (*NMRemoteConnectionCommitFunc) (NMRemoteConnection *connection
,GError *error
,gpointer user_data
);
Called when NetworkManager has committed outstanding changes to a connection
to backing storage as a result of nm_remote_connection_commit_changes()
.
connection |
the connection for which updates are to be committed |
|
error |
on failure, a descriptive error |
|
user_data |
user data passed to |
void (*NMRemoteConnectionDeleteFunc) (NMRemoteConnection *connection
,GError *error
,gpointer user_data
);
Called when NetworkManager has deleted a connection as a result of
nm_remote_connection_delete()
.
connection |
the connection to be deleted |
|
error |
on failure, a descriptive error |
|
user_data |
user data passed to |
void (*NMRemoteConnectionGetSecretsFunc) (NMRemoteConnection *connection
,GHashTable *secrets
,GError *error
,gpointer user_data
);
Called when NetworkManager returns secrets in response to a request for
secrets via nm_remote_connection_get_secrets()
.
connection |
the connection for which secrets were requested |
|
secrets |
on success, a hash table of hash tables, with each inner hash mapping a setting property to a GValue containing that property's value. |
[element-type utf8 GLib.HashTable] |
error |
on failure, a descriptive error |
|
user_data |
user data passed to |
NMRemoteConnection * nm_remote_connection_new (DBusGConnection *bus
,const char *path
);
Creates a new object representing the remote connection.
void nm_remote_connection_commit_changes (NMRemoteConnection *connection
,NMRemoteConnectionCommitFunc callback
,gpointer user_data
);
Save any local changes to the settings and properties of this connection and save them in the settings service.
void nm_remote_connection_delete (NMRemoteConnection *connection
,NMRemoteConnectionDeleteFunc callback
,gpointer user_data
);
Delete the connection.
void nm_remote_connection_get_secrets (NMRemoteConnection *connection
,const char *setting_name
,NMRemoteConnectionGetSecretsFunc callback
,gpointer user_data
);
Request the connection's secrets.
“dbus-connection”
property“dbus-connection” DBusGConnection *
DBusGConnection.
Flags: Write / Construct Only
“dbus-path”
property“dbus-path” gchar *
DBus Object Path.
Flags: Write / Construct Only
Default value: NULL
“removed”
signalvoid user_function (NMRemoteConnection *connection, gpointer user_data)
Flags: Run First
“updated”
signalvoid user_function (NMRemoteConnection *connection, gpointer user_data)
Flags: Run First
“visible”
signalvoid user_function (NMRemoteConnection *nmremoteconnection, gboolean arg1, gpointer user_data)
Flags: Run First