summaryrefslogtreecommitdiffstats
path: root/common/w32help.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2021-11-17 09:30:48 +0100
committerWerner Koch <wk@gnupg.org>2021-11-17 09:30:48 +0100
commit50539394802fb9478296d52527582697a6693b52 (patch)
treec611ddd8a044c160d7cc2675aacce5ddfeeda6d9 /common/w32help.h
parentsm: Detect circular chains in --list-chain. (diff)
downloadgnupg2-50539394802fb9478296d52527582697a6693b52.tar.xz
gnupg2-50539394802fb9478296d52527582697a6693b52.zip
common,w32: New function read_w32_reg_string.
* common/w32-reg.c (get_root_key): Remove. (read_w32_registry_string): Turn into a wrapper for the gpgrt function. (read_w32_reg_string): New.
Diffstat (limited to 'common/w32help.h')
-rw-r--r--common/w32help.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/w32help.h b/common/w32help.h
index edb51b8b7..a79081f8e 100644
--- a/common/w32help.h
+++ b/common/w32help.h
@@ -44,6 +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);
/* Other stuff. */
#ifdef HAVE_W32CE_SYSTEM