summaryrefslogtreecommitdiff
path: root/src/openvpn/win32.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-02-09 16:35:34 +0100
committerJörg Frings-Fürst <debian@jff.email>2022-02-09 16:35:34 +0100
commit1a7f9ade59d3cf092d8fe2c341d13e9abb834b2c (patch)
treec2862c0ce46b80f565a18a25fa96145ef59ad0b2 /src/openvpn/win32.h
parent1aff45d6fdfbc63a0256a831a8f8644a84708e9f (diff)
parent9d320b2bf4b83f6e2a3c679a399b88dfe57b879e (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/openvpn/win32.h')
-rw-r--r--src/openvpn/win32.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/openvpn/win32.h b/src/openvpn/win32.h
index 5d3371a..5c3bcc3 100644
--- a/src/openvpn/win32.h
+++ b/src/openvpn/win32.h
@@ -327,7 +327,13 @@ bool send_msg_iservice(HANDLE pipe, const void *data, size_t size,
int
openvpn_execve(const struct argv *a, const struct env_set *es, const unsigned int flags);
-bool impersonate_as_system();
+/*
+ * openvpn_swprintf() is currently only used by Windows code paths
+ * and when enabled for all platforms it will currently break older
+ * OpenBSD versions lacking vswprintf(3) support in their libc.
+ */
+bool
+openvpn_swprintf(wchar_t *const str, const size_t size, const wchar_t *const format, ...);
#endif /* ifndef OPENVPN_WIN32_H */
#endif /* ifdef _WIN32 */