summaryrefslogtreecommitdiffstats
path: root/common/w32help.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2022-08-02 12:25:23 +0200
committerWerner Koch <wk@gnupg.org>2022-08-02 14:35:38 +0200
commitea7aba6e605d0469fc5c9cf38bafa7eb46e69c22 (patch)
tree6e7beffb96420905a51b478ed4d0b131cc4da654 /common/w32help.h
parenttests: Install links for tpm2daemon (diff)
downloadgnupg2-ea7aba6e605d0469fc5c9cf38bafa7eb46e69c22.tar.xz
gnupg2-ea7aba6e605d0469fc5c9cf38bafa7eb46e69c22.zip
gpgconf: Improve registry dumping.
* common/w32-reg.c (read_w32_reg_string): Add arg r_hklm_fallback and change all callers. (show_configs): Indicate whether the HKLM fallback was used. * tools/gpgconf.c (show_other_registry_entries): Fix the Outlook Addin Registry key. Indicate whether the HKLM fallback was used. -- Note that this is backport from 2.2. The new support there for REG_DWORD needs to be implemented in libgpg-error, though.
Diffstat (limited to 'common/w32help.h')
-rw-r--r--common/w32help.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/w32help.h b/common/w32help.h
index 33000acc7..5a4e5752c 100644
--- a/common/w32help.h
+++ b/common/w32help.h
@@ -44,7 +44,7 @@ char **w32_parse_commandline (char *cmdline, int globing, int *r_argv,
/*-- w32-reg.c --*/
char *read_w32_registry_string (const char *root,
const char *dir, const char *name );
-char *read_w32_reg_string (const char *key);
+char *read_w32_reg_string (const char *key, int *r_hklm_fallback);
#endif /*HAVE_W32_SYSTEM*/