1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-10-31 20:08:43 +01:00
gnupg/kbx
Werner Koch 22a7ef01aa
Replace use of opt.homedir by accessor functions.
* common/homedir.c (the_gnupg_homedir): New var.
(gnupg_set_homedir): New.
(gnupg_homedir): New.
* g10/options.h (struct opt): Remove 'homedir' and replace all users
by the new accessor functions.
* g13/g13-common.h (struct opt): Ditto.
* scd/scdaemon.h (struct opt): Ditto.
* sm/gpgsm.h (struct opt): Ditto.
* dirmngr/dirmngr.h (struct opt): Ditto.
* agent/preset-passphrase.c (opt_homedir): Ditto.
* agent/protect-tool.c (opt_homedir): Ditto.
--

This will make detection of a non-default homedir easier.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-06-07 10:59:46 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
kbxutil.c common: Rename log and gcc attribute macros (jnlib merge). 2015-04-24 16:10:47 +02:00
keybox-blob.c Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
keybox-defs.h Replace use of opt.homedir by accessor functions. 2016-06-07 10:59:46 +02:00
keybox-dump.c kbx: Avoid warnings about useless assignments. 2016-01-07 19:09:15 +01:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c kbx: Avoid undefined behavior. 2016-03-07 14:38:11 +01:00
keybox-init.c w32: Fix deadlock introduced by keybox_file_rename. 2016-01-14 20:45:33 +01:00
keybox-openpgp.c kbx: Avoid faulty fclose in an error case. 2016-01-06 08:39:08 +01:00
keybox-search-desc.h Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
keybox-search.c kbx: Change return type of search functions to gpg_error_t. 2016-01-13 15:08:42 +01:00
keybox-update.c kbx: New function keybox_file_rename to replace rename. 2016-01-14 16:50:24 +01:00
keybox-util.c kbx,w32: Use shorter retry intervals for keybox_file_rename. 2016-01-15 08:15:40 +01:00
keybox.h kbx: New function keybox_file_rename to replace rename. 2016-01-14 16:50:24 +01:00
Makefile.am gpg: Avoid linking to Libksba 2015-08-17 16:17:19 +02:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
mkerrors Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00