]>
git.ipfire.org Git - thirdparty/squid.git/blob - include/sspwin32.h
2bcc3128a46d648b58c425b63451c481a61c1d01
2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
10 * AUTHOR: Guido Serassio <serassio@squid-cache.org>
11 * Based on previous work of Francesco Chemolli, Robert Collins and Andrew Doran
14 #ifndef _LIBSSPWIN32_H_
15 #define _LIBSSPWIN32_H_
19 #if defined(__cplusplus)
23 #define SECURITY_WIN32
24 #define NTLM_PACKAGE_NAME "NTLM"
25 #define NEGOTIATE_PACKAGE_NAME "Negotiate"
38 typedef char * SSP_blobP
;
40 #define WINNT_SECURITY_DLL "security.dll"
41 #define WIN2K_SECURITY_DLL "secur32.dll"
46 #define SSP_MAX_CRED_LEN 848
53 HMODULE
LoadSecurityDll(int, const char *);
54 void UnloadSecurityDll(void);
55 BOOL WINAPI
SSP_LogonUser(PTSTR
, PTSTR
, PTSTR
);
56 BOOL WINAPI
SSP_ValidateNTLMCredentials(PVOID
, int, char *);
57 const char * WINAPI
SSP_ValidateNegotiateCredentials(PVOID
, int, PBOOL
, int *, char *);
58 const char * WINAPI
SSP_MakeChallenge(PVOID
, int);
59 const char * WINAPI
SSP_MakeNegotiateBlob(PVOID
, int, PBOOL
, int *, char *);
61 extern BOOL Use_Unicode
;
62 extern BOOL NTLM_LocalCall
;
64 #if defined(__cplusplus)
68 #endif /* _SQUID_WINDOWS_ */
69 #endif /* LIBSSPWIN32_H_ */