Commit 4b507685 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

wininet: Add support for SSPI authentication for HTTP.

parent 7eaf1fe2
......@@ -6,7 +6,7 @@ VPATH = @srcdir@
MODULE = wininet.dll
IMPORTLIB = libwininet.$(IMPLIBEXT)
IMPORTS = mpr shlwapi shell32 user32 advapi32 kernel32 ntdll
DELAYIMPORTS = crypt32
DELAYIMPORTS = secur32 crypt32
EXTRALIBS = @SOCKETLIBS@
C_SRCS = \
......
......@@ -166,6 +166,7 @@ typedef struct
LPWSTR lpszHostName; /* the final destination of the request */
LPWSTR lpszServerName; /* the name of the server we directly connect to */
LPWSTR lpszUserName;
LPWSTR lpszPassword;
INTERNET_PORT nHostPort; /* the final destination port of the request */
INTERNET_PORT nServerPort; /* the port of the server we directly connect to */
struct sockaddr_in socketAddress;
......@@ -184,6 +185,8 @@ typedef struct
} HTTPHEADERW, *LPHTTPHEADERW;
struct HttpAuthInfo;
typedef struct
{
WININETHANDLEHEADER hdr;
......@@ -198,6 +201,7 @@ typedef struct
DWORD dwContentRead; /* bytes of the content read so far */
HTTPHEADERW *pCustHeaders;
DWORD nCustHeaders;
struct HttpAuthInfo *pAuthInfo;
} WININETHTTPREQW, *LPWININETHTTPREQW;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment