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-02-23 15:40:28 +01:00
2016-02-23 15:40:28 +01:00
2016-02-23 15:40:28 +01:00
2016-02-23 15:40:28 +01:00
2016-05-27 15:41:55 +02:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2016-02-23 15:40:28 +01:00
2016-02-23 15:40:28 +01:00
2011-12-01 11:09:02 +01:00
2016-02-13 17:06:54 +01:00
2016-02-13 17:06:54 +01:00
2010-11-10 12:49:39 +00:00
2010-11-10 12:49:39 +00:00
2015-09-16 19:03:09 +02:00
2016-06-07 10:59:46 +02:00
2016-06-07 10:59:46 +02:00
2016-02-23 15:40:28 +01:00
2016-06-07 10:59:46 +02:00
2016-02-13 17:06:54 +01:00
2016-02-13 17:06:54 +01:00
2016-02-13 17:06:54 +01:00
2016-02-23 15:40:28 +01:00
2016-02-23 15:40:28 +01:00
2016-02-23 15:40:28 +01:00
2016-02-23 15:40:28 +01:00
2016-02-23 15:40:28 +01:00
2016-02-13 17:06:39 +01:00
2011-02-04 12:57:53 +01:00
2015-09-16 19:03:09 +02:00
2011-02-04 12:57:53 +01:00
2016-06-07 10:59:46 +02:00
2011-02-04 12:57:53 +01:00
2016-02-13 17:06:39 +01:00
2016-02-23 15:40:28 +01:00
2016-02-23 15:40:28 +01:00
2016-02-23 15:40:28 +01:00
2016-02-23 15:40:28 +01:00
2016-02-13 17:06:39 +01:00