mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
common: Add GNUPG_MODULE_NAME_GPGV.
* common/util.h (GNUPG_MODULE_NAME_GPGV): New. * common/homedir.c (gnupg_module_name): Implement. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
8ea72a776a
commit
ece9ade4b4
@ -953,6 +953,13 @@ gnupg_module_name (int which)
|
||||
X(bindir, GPG_NAME);
|
||||
#endif
|
||||
|
||||
case GNUPG_MODULE_NAME_GPGV:
|
||||
#if USE_GPG2_HACK
|
||||
X(bindir, GPG_NAME "v2");
|
||||
#else
|
||||
X(bindir, GPG_NAME "v");
|
||||
#endif
|
||||
|
||||
case GNUPG_MODULE_NAME_CONNECT_AGENT:
|
||||
X(bindir, "gpg-connect-agent");
|
||||
|
||||
|
@ -244,6 +244,7 @@ char *_gnupg_socketdir_internal (int skip_checks, unsigned *r_info);
|
||||
#define GNUPG_MODULE_NAME_CONNECT_AGENT 9
|
||||
#define GNUPG_MODULE_NAME_GPGCONF 10
|
||||
#define GNUPG_MODULE_NAME_DIRMNGR_LDAP 11
|
||||
#define GNUPG_MODULE_NAME_GPGV 12
|
||||
const char *gnupg_module_name (int which);
|
||||
void gnupg_module_name_flush_some (void);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user