summaryrefslogtreecommitdiffstats
path: root/misc/bstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bstr.h')
-rw-r--r--misc/bstr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/bstr.h b/misc/bstr.h
index dc8ad4030c..3da4f1639f 100644
--- a/misc/bstr.h
+++ b/misc/bstr.h
@@ -223,6 +223,12 @@ static inline bool bstr_eatend0(struct bstr *s, const char *prefix)
return bstr_eatend(s, bstr0(prefix));
}
+#ifdef _WIN32
+
+int bstr_to_wchar(void *talloc_ctx, struct bstr s, wchar_t **ret);
+
+#endif
+
// create a pair (not single value!) for "%.*s" printf syntax
#define BSTR_P(bstr) (int)((bstr).len), ((bstr).start ? (char*)(bstr).start : "")