wininet: De-Hungarian HTTP request member names.
This commit is contained in:
parent
8e05039102
commit
2098006d68
|
@ -74,7 +74,7 @@ static BOOL WININET_GetProxyServer( HINTERNET hRequest, LPWSTR szBuf, DWORD sz )
|
||||||
if (NULL == request)
|
if (NULL == request)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
session = request->lpHttpSession;
|
session = request->session;
|
||||||
if (NULL == session)
|
if (NULL == session)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ static BOOL WININET_GetServer( HINTERNET hRequest, LPWSTR szBuf, DWORD sz )
|
||||||
if (NULL == request)
|
if (NULL == request)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
session = request->lpHttpSession;
|
session = request->session;
|
||||||
if (NULL == session)
|
if (NULL == session)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
|
@ -250,7 +250,7 @@ static BOOL WININET_SetAuthorization( HINTERNET hRequest, LPWSTR username,
|
||||||
if( !request )
|
if( !request )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
session = request->lpHttpSession;
|
session = request->session;
|
||||||
if (NULL == session || session->hdr.htype != WH_HHTTPSESSION)
|
if (NULL == session || session->hdr.htype != WH_HHTTPSESSION)
|
||||||
{
|
{
|
||||||
INTERNET_SetLastError(ERROR_INTERNET_INCORRECT_HANDLE_TYPE);
|
INTERNET_SetLastError(ERROR_INTERNET_INCORRECT_HANDLE_TYPE);
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -263,25 +263,25 @@ typedef struct gzip_stream_t gzip_stream_t;
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
object_header_t hdr;
|
object_header_t hdr;
|
||||||
http_session_t *lpHttpSession;
|
http_session_t *session;
|
||||||
LPWSTR lpszPath;
|
LPWSTR path;
|
||||||
LPWSTR lpszVerb;
|
LPWSTR verb;
|
||||||
LPWSTR lpszRawHeaders;
|
LPWSTR rawHeaders;
|
||||||
WININET_NETCONNECTION netConnection;
|
WININET_NETCONNECTION netConnection;
|
||||||
LPWSTR lpszVersion;
|
LPWSTR version;
|
||||||
LPWSTR lpszStatusText;
|
LPWSTR statusText;
|
||||||
DWORD dwBytesToWrite;
|
DWORD bytesToWrite;
|
||||||
DWORD dwBytesWritten;
|
DWORD bytesWritten;
|
||||||
HTTPHEADERW *pCustHeaders;
|
HTTPHEADERW *custHeaders;
|
||||||
DWORD nCustHeaders;
|
DWORD nCustHeaders;
|
||||||
HANDLE hCacheFile;
|
HANDLE hCacheFile;
|
||||||
LPWSTR lpszCacheFile;
|
LPWSTR cacheFile;
|
||||||
struct HttpAuthInfo *pAuthInfo;
|
struct HttpAuthInfo *authInfo;
|
||||||
struct HttpAuthInfo *pProxyAuthInfo;
|
struct HttpAuthInfo *proxyAuthInfo;
|
||||||
|
|
||||||
CRITICAL_SECTION read_section; /* section to protect the following fields */
|
CRITICAL_SECTION read_section; /* section to protect the following fields */
|
||||||
DWORD dwContentLength; /* total number of bytes to be read */
|
DWORD contentLength; /* total number of bytes to be read */
|
||||||
DWORD dwContentRead; /* bytes of the content read so far */
|
DWORD contentRead; /* bytes of the content read so far */
|
||||||
BOOL read_chunked; /* are we reading in chunked mode? */
|
BOOL read_chunked; /* are we reading in chunked mode? */
|
||||||
DWORD read_pos; /* current read position in read_buf */
|
DWORD read_pos; /* current read position in read_buf */
|
||||||
DWORD read_size; /* valid data size in read_buf */
|
DWORD read_size; /* valid data size in read_buf */
|
||||||
|
|
Loading…
Reference in New Issue