diff options
author | Werner Koch <wk@gnupg.org> | 2017-11-17 17:25:58 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-11-17 17:25:58 +0100 |
commit | b5c4a2721d7b4bd54705c53e6f294ab2ef66a6f7 (patch) | |
tree | c6cb5174ba5144b6ba289c8a0e8d72960a8c7455 /src/gpg-error.def.in | |
parent | 0d8d46c76a32176be440b062d2501bbb044fb99d (diff) | |
download | libgpg-error-b5c4a2721d7b4bd54705c53e6f294ab2ef66a6f7.tar.gz |
w32: Add new API fucntion gpgrt_w32_reg_query_string.
* src/w32-reg.c: New.
* src/w32-add.h: Add gpgrt_w32_reg_query_string.
* src/visibility.c (gpgrt_w32_reg_query_string): New wrapper.
* src/gpg-error.def.in: Add gpgrt_w32_reg_query_string.
* configure.ac (ac_check_funcs): Add stpcpy.
* src/Makefile.am (arch_sources): Add w32-reg.c
(socklibs): New.
(libgpg_error_la_LIBADD): Add socklibs.
* src/gpgrt-int.h (xfree, xtrymalloc, xtrycalloc)
(xtryrealloc): New internal macros.
(_gpgrt_stpcpy, stpcpy): New replacement fucntion and macro.
* src/logging.c (_gpgrt_logv_internal): Use new registry query
function and add standard registry key.
--
This also fixes the build failure on Widnwos for logging.c.
The code for gpgrt_w32_reg_query_string has been taken from the
function read_w32_registry_string in w32-utils.c in the GPGME package.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'src/gpg-error.def.in')
-rw-r--r-- | src/gpg-error.def.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpg-error.def.in b/src/gpg-error.def.in index 7c39502..5c7835f 100644 --- a/src/gpg-error.def.in +++ b/src/gpg-error.def.in @@ -189,4 +189,8 @@ EXPORTS gpgrt_strdup @144 gpgrt_strconcat @145 +#ifdef HAVE_W32_SYSTEM + gpgrt_w32_reg_query_string @148 +#endif + ;; end of file with public symbols for Windows. |