GnuCash
2.6.99
|
Functions to save and retrieve passwords. More...
#include <glib.h>
#include <gtk/gtk.h>
Go to the source code of this file.
Functions | |
void | gnc_keyring_set_password (const gchar *access_method, const gchar *server, guint32 port, const gchar *service, const gchar *user, const gchar *password) |
gboolean | gnc_keyring_get_password (GtkWidget *parent, const gchar *access_method, const gchar *server, guint32 port, const gchar *service, gchar **user, gchar **password) |
Functions to save and retrieve passwords.
GnuCash needs passwords for some of the services it uses, like connecting to a remote database, or bank. For security these passwords shouldn't be stored unless in an encrypted password store. This is implemented for example in Gnome's keyring or Mac OS X' keychain. This file defines some convenience functions to store a password or to retrieve one.
Definition in file gnc-keyring.h.