aboutsummaryrefslogtreecommitdiffstats
path: root/src/sys-util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-08-24 13:03:20 +0000
committerWerner Koch <[email protected]>2015-08-24 13:03:20 +0000
commitdf098d6a437109c57516db75addf3764a6dfda81 (patch)
tree14dcbc874682bb4fd2e272c5591adfc6811f5f74 /src/sys-util.h
parentAdd an export secret key feature. (diff)
downloadgpgme-df098d6a437109c57516db75addf3764a6dfda81.tar.gz
gpgme-df098d6a437109c57516db75addf3764a6dfda81.zip
w32: Print the installation directory in debug mode.
* src/debug.c (debug_init) [W32]: Show libgpgme installation dir. -- I expect that gpgme will be distributed by applications and thus it will be helpful to see in the debug log which gpgme is actually used. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/sys-util.h')
-rw-r--r--src/sys-util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sys-util.h b/src/sys-util.h
index 7180fca3..589634b2 100644
--- a/src/sys-util.h
+++ b/src/sys-util.h
@@ -27,4 +27,8 @@ int _gpgme_set_default_gpgconf_name (const char *name);
char *_gpgme_get_gpg_path (void);
char *_gpgme_get_gpgconf_path (void);
+#ifdef HAVE_W32_SYSTEM
+const char *_gpgme_get_inst_dir (void);
+#endif
+
#endif /* SYS_UTIL_H */