GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
gnc-keyring.h File Reference

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)
 

Detailed Description

Functions to save and retrieve passwords.

Author
Copyright (C) 2010 Geert Janssens janss.nosp@m.ens-.nosp@m.geert.nosp@m.@tel.nosp@m.enet..nosp@m.be

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.