Commit 34abacde authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

wininet: Rename WININETHTTPREQW to http_request_t.

parent e9f4a405
...@@ -62,12 +62,12 @@ struct WININET_ErrorDlgParams ...@@ -62,12 +62,12 @@ struct WININET_ErrorDlgParams
*/ */
static BOOL WININET_GetProxyServer( HINTERNET hRequest, LPWSTR szBuf, DWORD sz ) static BOOL WININET_GetProxyServer( HINTERNET hRequest, LPWSTR szBuf, DWORD sz )
{ {
LPWININETHTTPREQW lpwhr; http_request_t *lpwhr;
http_session_t *lpwhs = NULL; http_session_t *lpwhs = NULL;
LPWININETAPPINFOW hIC = NULL; LPWININETAPPINFOW hIC = NULL;
LPWSTR p; LPWSTR p;
lpwhr = (LPWININETHTTPREQW) WININET_GetObject( hRequest ); lpwhr = (http_request_t*) WININET_GetObject( hRequest );
if (NULL == lpwhr) if (NULL == lpwhr)
return FALSE; return FALSE;
...@@ -203,12 +203,12 @@ static BOOL WININET_GetSetPassword( HWND hdlg, LPCWSTR szServer, ...@@ -203,12 +203,12 @@ static BOOL WININET_GetSetPassword( HWND hdlg, LPCWSTR szServer,
static BOOL WININET_SetProxyAuthorization( HINTERNET hRequest, static BOOL WININET_SetProxyAuthorization( HINTERNET hRequest,
LPWSTR username, LPWSTR password ) LPWSTR username, LPWSTR password )
{ {
LPWININETHTTPREQW lpwhr; http_request_t *lpwhr;
http_session_t *lpwhs; http_session_t *lpwhs;
LPWININETAPPINFOW hIC; LPWININETAPPINFOW hIC;
LPWSTR p; LPWSTR p;
lpwhr = (LPWININETHTTPREQW) WININET_GetObject( hRequest ); lpwhr = (http_request_t*) WININET_GetObject( hRequest );
if( !lpwhr ) if( !lpwhr )
return FALSE; return FALSE;
......
...@@ -215,7 +215,7 @@ typedef struct ...@@ -215,7 +215,7 @@ typedef struct
BOOL decoding; BOOL decoding;
gzip_stream_t *gzip_stream; gzip_stream_t *gzip_stream;
} WININETHTTPREQW, *LPWININETHTTPREQW; } http_request_t;
...@@ -390,7 +390,7 @@ BOOL INTERNET_AsyncCall(LPWORKREQUEST lpWorkRequest); ...@@ -390,7 +390,7 @@ BOOL INTERNET_AsyncCall(LPWORKREQUEST lpWorkRequest);
LPSTR INTERNET_GetResponseBuffer(void); LPSTR INTERNET_GetResponseBuffer(void);
LPSTR INTERNET_GetNextLine(INT nSocket, LPDWORD dwLen); LPSTR INTERNET_GetNextLine(INT nSocket, LPDWORD dwLen);
BOOLAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders, BOOLAPI HTTP_HttpSendRequestW(http_request_t *req, LPCWSTR lpszHeaders,
DWORD dwHeaderLength, LPVOID lpOptional, DWORD dwOptionalLength, DWORD dwHeaderLength, LPVOID lpOptional, DWORD dwOptionalLength,
DWORD dwContentLength, BOOL bEndRequest); DWORD dwContentLength, BOOL bEndRequest);
INTERNETAPI HINTERNET WINAPI HTTP_HttpOpenRequestW(http_session_t *session, INTERNETAPI HINTERNET WINAPI HTTP_HttpOpenRequestW(http_session_t *session,
......
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