Sha256: ddb0cbb25cca1a2f413865070fd47c354f87caf66f868022dd288b90fe93711d

Contents?: true

Size: 947 Bytes

Versions: 19

Compression:

Stored size: 947 Bytes

Contents

/*
 * 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_H__
#define PRIVATE_UNICODE_H__

#include "compat.h"

#ifdef UNICODE_ICONV
# include "unicode_iconv.h"
#elif UNICODE_BUILTIN
# include "unicode_builtin.h"
#endif

#define NTLM_UNICODE_MAX_LEN	2048

typedef struct ntlm_unicode_ctx ntlm_unicode_ctx;

extern bool ntlm_unicode_init(ntlm_client *ntlm);

bool ntlm_unicode_utf8_to_16(
	char **converted,
	size_t *converted_len,
	ntlm_client *ntlm,
	const char *string,
	size_t string_len);

bool ntlm_unicode_utf16_to_8(
	char **converted,
	size_t *converted_len,
	ntlm_client *ntlm,
	const char *string,
	size_t string_len);

extern void ntlm_unicode_shutdown(ntlm_client *ntlm);

#endif /* PRIVATE_UNICODE_H__ */

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rugged-1.9.0 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.7.2 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.6.5 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.7.1 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.6.3 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.6.2 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.5.1 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.4.5 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.5.0.1 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.5.0 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.3.2.3 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.4.4 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.3.2.1 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.4.3 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.3.2 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.4.2 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.3.1 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.3.0 vendor/libgit2/deps/ntlmclient/unicode.h
rugged-1.2.0 vendor/libgit2/deps/ntlmclient/unicode.h