summaryrefslogtreecommitdiff
path: root/deps/ntlmclient/unicode_iconv.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-08-24 11:56:22 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2021-08-24 16:23:46 -0400
commit5158b0b70ade89268b22b7c388802b5f5b6debce (patch)
treed485b5d0329efeb92c949da5e4acd52ebfdba0b0 /deps/ntlmclient/unicode_iconv.h
parentc9b80c257309c68bcb66476dee42134d80975072 (diff)
downloadlibgit2-5158b0b70ade89268b22b7c388802b5f5b6debce.tar.gz
ntlmclient: update to ntlmclient 0.9.1
The ntlmclient dependency can now dynamically load OpenSSL.
Diffstat (limited to 'deps/ntlmclient/unicode_iconv.h')
-rw-r--r--deps/ntlmclient/unicode_iconv.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/deps/ntlmclient/unicode_iconv.h b/deps/ntlmclient/unicode_iconv.h
new file mode 100644
index 000000000..87a96a67d
--- /dev/null
+++ b/deps/ntlmclient/unicode_iconv.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) Edward Thomson. All rights reserved.
+ *
+ * This file is part of ntlmclient, distributed under the MIT license.
+ * For full terms and copyright information, and for third-party
+ * copyright information, see the included LICENSE.txt file.
+ */
+
+#ifndef PRIVATE_UNICODE_ICONV_H__
+#define PRIVATE_UNICODE_ICONV_H__
+
+#include <locale.h>
+#include <iconv.h>
+
+#include "ntlmclient.h"
+
+struct ntlm_unicode_ctx {
+ iconv_t utf8_to_16;
+ iconv_t utf16_to_8;
+};
+
+#endif /* PRIVATE_UNICODE_ICONV_H__ */