diff options
author | Giovanni Campagna <gcampagna@src.gnome.org> | 2011-02-21 18:11:21 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-02-21 18:11:21 -0600 |
commit | e77acd43b663b3e1011f812bc506c176f65d1415 (patch) | |
tree | 9cd8c17ad9e8f6c01edd043827dc9dfef5bdfe22 /libnm-glib/nm-secret-agent.c | |
parent | 3b57350dd6d1f1b48119eb66dc170aaf2aef1dc3 (diff) | |
download | NetworkManager-e77acd43b663b3e1011f812bc506c176f65d1415.tar.gz |
libnm-glib: more GObject introspection fixes (bgo #181415)
Fix some annotations and add the necessary ones for new functions.
Diffstat (limited to 'libnm-glib/nm-secret-agent.c')
-rw-r--r-- | libnm-glib/nm-secret-agent.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/libnm-glib/nm-secret-agent.c b/libnm-glib/nm-secret-agent.c index 72431e2dae..64d8dc4621 100644 --- a/libnm-glib/nm-secret-agent.c +++ b/libnm-glib/nm-secret-agent.c @@ -567,6 +567,21 @@ auto_register_cb (gpointer user_data) /**************************************************************/ +/** + * nm_secret_agent_get_secrets: + * @self: a #NMSecretAgent + * @connection: the #NMConnection for which we're asked secrets + * @setting_name: the name of the secret setting + * @hints: (array zero-terminated=1): hints to the agent + * @flags: + * @callback: (scope async): a callback, invoked when the operation is done + * @callback_data: (closure): + * + * Asyncronously retrieve secrets belonging to @connection for the + * setting @setting_name. + * + * VFunc: get_secrets + */ void nm_secret_agent_get_secrets (NMSecretAgent *self, NMConnection *connection, @@ -595,6 +610,18 @@ nm_secret_agent_get_secrets (NMSecretAgent *self, callback_data); } +/** + * nm_secret_agent_save_secrets: + * @self: a #NMSecretAgent + * @connection: a #NMConnection + * @callback: (scope async): a callback, invoked when the operation is done + * @callback_data: (closure): + * + * Asyncronously ensure that all secrets inside @connection + * are stored to disk. + * + * VFunc: save_secrets + */ void nm_secret_agent_save_secrets (NMSecretAgent *self, NMConnection *connection, @@ -614,6 +641,18 @@ nm_secret_agent_save_secrets (NMSecretAgent *self, callback_data); } +/** + * nm_secret_agent_delete_secrets: + * @self: a #NMSecretAgent + * @connection: a #NMConnection + * @callback: (scope async): a callback, invoked when the operation is done + * @callback_data: (closure): + * + * Asynchronously ask the agent to delete all saved secrets belonging to + * @connection. + * + * VFunc: delete_secrets + */ void nm_secret_agent_delete_secrets (NMSecretAgent *self, NMConnection *connection, |