aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-add.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32-add.h')
-rw-r--r--src/w32-add.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/w32-add.h b/src/w32-add.h
index 07e3c7d..3428961 100644
--- a/src/w32-add.h
+++ b/src/w32-add.h
@@ -37,6 +37,10 @@ int _gpg_w32_gettext_use_utf8 (int value);
# define gettext_use_utf8(a) _gpg_w32_gettext_use_utf8 (a)
#endif /*GPG_ERR_ENABLE_GETTEXT_MACROS*/
+/* Force the use of the locale NAME or if NAME is NULL the one derived
+ * from LANGID. This function must be used early and is not thread-safe. */
+void gpgrt_w32_override_locale (const char *name, unsigned short langid);
+
/* A simple iconv implementation w/o the need for an extra DLL. */
struct _gpgrt_w32_iconv_s;