gnome-keyring-misc

gnome-keyring-misc — Miscellaneous Functions

Synopsis




gboolean            gnome_keyring_is_available          (void);
void                gnome_keyring_cancel_request        (gpointer request);
void                gnome_keyring_string_list_free      (GList *strings);
GnomeKeyringResult  gnome_keyring_daemon_set_display_sync
                                                        (const char *display);

Description

Details

gnome_keyring_is_available ()

gboolean            gnome_keyring_is_available          (void);

Check whether you can communicate with a gnome-keyring-daemon.

Returns : FALSE if you can't communicate with the daemon (so you can't load and save passwords).

gnome_keyring_cancel_request ()

void                gnome_keyring_cancel_request        (gpointer request);

Cancel an asynchronous request.

If a callback was registered when making the asynchronous request, that callback function will be called with a result of GNOME_KEYRING_RESULT_CANCELLED

request : The request returned from the asynchronous call function.

gnome_keyring_string_list_free ()

void                gnome_keyring_string_list_free      (GList *strings);

Free a list of string pointers.

strings : A GList of string pointers.

gnome_keyring_daemon_set_display_sync ()

GnomeKeyringResult  gnome_keyring_daemon_set_display_sync
                                                        (const char *display);

Set the display that should be used to display GNOME Keyring dialogs and prompts.

display : The X display string.
Returns : GNOME_KEYRING_RESULT_OK if the operation was succcessful or an error result otherwise.