GnuCash 2.4.99
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 <janssens-geert@telenet.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.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines