aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-reg.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove WindowsCE support.NIIBE Yutaka2022-06-071-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Remove contrib/ChangeLog-2011. * configure.ac (have_w32ce_system): Remove. (HAVE_W32CE_SYSTEM): Remove. * contrib/*: Remove. * src/w32ce-add.h: Remove * src/Makefile.am [HAVE_W32CE_SYSTEM]: Remove. * src/estream-printf.c [HAVE_W32CE_SYSTEM]: Remove. * src/estream.c: Likewise. * src/gpg-error.def.in: Likewise. * src/gpgrt-int.h: Fix comments. * src/init.c: Remove HAVE_W32CE_SYSTEM support. * src/init.h: Likewise. * src/spawn-posix.c: Likewise. * src/spawn-w32.c: Likewise. * src/sysutils.c: Likewise. * src/w32-estream.c: Likewise. * src/w32-reg.c: Likewise. * tests/Makefile.am: Remove HAVE_W32CE_SYSTEM support. -- GnuPG-bug-id: 5912 Signed-off-by: NIIBE Yutaka <[email protected]>
* core: new internal function _gpgrt_w32_reg_get_string.Werner Koch2021-10-221-6/+55
| | | | | | | | | | * src/w32-reg.c (_gpgrt_w32_reg_query_string): Allow abbreviated root names. (_gpgrt_w32_reg_get_string): New. -- This should eventually be made public. Noet that we have a copy in gnupg.
* doc: Add a comment to the Windows registry functions.Werner Koch2017-11-271-1/+5
| | | | --
* w32: Add new API fucntion gpgrt_w32_reg_query_string.Werner Koch2017-11-171-0/+150
* 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 <[email protected]>