aboutsummaryrefslogtreecommitdiffstats
path: root/common/sysutils.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-08-22 12:43:48 +0000
committerWerner Koch <[email protected]>2025-08-22 12:44:15 +0000
commit7cf19d055929bbaa37b7195a0abe442a7f20b512 (patch)
tree9416ea18223114bd03f629b1987526bce46ac223 /common/sysutils.h
parentgpg: Fix list of possible algos for --edit-key. (diff)
downloadgnupg-7cf19d055929bbaa37b7195a0abe442a7f20b512.tar.gz
gnupg-7cf19d055929bbaa37b7195a0abe442a7f20b512.zip
common: Add a wrapper around the W32 OutputDebugString function.
* common/sysutils.c (output_debug_string): New.
Diffstat (limited to 'common/sysutils.h')
-rw-r--r--common/sysutils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/sysutils.h b/common/sysutils.h
index 9a90d1018..c832c7932 100644
--- a/common/sysutils.h
+++ b/common/sysutils.h
@@ -121,6 +121,8 @@ int gnupg_inotify_has_name (int fd, const char *name);
estream_t open_stream_nc (gnupg_fd_t fd, const char *mode);
+void output_debug_string (const char *format, ...) GPGRT_ATTR_PRINTF(1,2);
+
#ifdef HAVE_W32_SYSTEM
int gnupg_w32_set_errno (int ec);
void *w32_get_user_sid (void);