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
..
2016-06-07 10:59:46 +02:00
2015-11-17 12:50:22 +01:00
2016-01-20 11:22:44 +01:00
2016-01-08 06:33:27 +01:00
2015-10-28 10:20:17 +01:00
2016-06-07 10:59:46 +02:00
2016-06-07 10:59:46 +02:00
2016-04-12 14:38:44 +02:00
2015-12-24 14:19:53 +09:00
2015-11-17 12:50:22 +01:00
2016-06-07 10:59:46 +02:00
2016-04-12 14:38:44 +02:00
2013-05-07 21:35:48 +02:00
2016-06-07 10:59:46 +02:00
2016-04-21 14:38:53 +02:00
2015-04-03 17:33:11 +09:00
2016-04-14 12:29:29 +02:00
2014-12-02 14:13:53 +01:00
2016-01-05 10:15:49 +09:00
2016-06-07 10:59:46 +02:00
2016-06-07 10:59:46 +02:00
2016-04-14 12:29:36 +02:00
2016-04-12 14:38:44 +02:00
2007-07-04 19:49:40 +00:00
2016-06-07 10:59:46 +02:00
2015-11-17 12:50:22 +01:00
2007-07-04 19:49:40 +00:00