Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5b3d0b88
Commit
5b3d0b88
authored
Aug 30, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Add a skeleton winhttp.h and use it.
parent
93f7444d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
100 additions
and
2 deletions
+100
-2
main.c
dlls/winhttp/main.c
+1
-2
Makefile.in
include/Makefile.in
+1
-0
winhttp.h
include/winhttp.h
+98
-0
No files found.
dlls/winhttp/main.c
View file @
5b3d0b88
...
@@ -20,10 +20,9 @@
...
@@ -20,10 +20,9 @@
#include <stdarg.h>
#include <stdarg.h>
#define COBJMACROS
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "winhttp.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
...
include/Makefile.in
View file @
5b3d0b88
...
@@ -370,6 +370,7 @@ SRCDIR_INCLUDES = \
...
@@ -370,6 +370,7 @@ SRCDIR_INCLUDES = \
wine/unicode.h
\
wine/unicode.h
\
winerror.h
\
winerror.h
\
wingdi.h
\
wingdi.h
\
winhttp.h
\
wininet.h
\
wininet.h
\
winineti.h
\
winineti.h
\
winioctl.h
\
winioctl.h
\
...
...
include/winhttp.h
0 → 100644
View file @
5b3d0b88
/*
* Copyright (C) 2007 Francois Gouget
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_WINHTTP_H
#define __WINE_WINHTTP_H
#define WINHTTPAPI
#define BOOLAPI WINHTTPAPI BOOL WINAPI
typedef
LPVOID
HINTERNET
;
typedef
HINTERNET
*
LPHINTERNET
;
#define INTERNET_DEFAULT_PORT 0
#define INTERNET_DEFAULT_HTTP_PORT 80
#define INTERNET_DEFAULT_HTTPS_PORT 443
typedef
WORD
INTERNET_PORT
;
typedef
INTERNET_PORT
*
LPINTERNET_PORT
;
#define INTERNET_SCHEME_HTTP 1
#define INTERNET_SCHEME_HTTPS 2
typedef
int
INTERNET_SCHEME
,
*
LPINTERNET_SCHEME
;
typedef
struct
{
DWORD
dwStructSize
;
LPWSTR
lpszScheme
;
DWORD
dwSchemeLength
;
INTERNET_SCHEME
nScheme
;
LPWSTR
lpszHostName
;
DWORD
dwHostNameLength
;
INTERNET_PORT
nPort
;
LPWSTR
lpszUserName
;
DWORD
dwUserNameLength
;
LPWSTR
lpszPassword
;
DWORD
dwPasswordLength
;
LPWSTR
lpszUrlPath
;
DWORD
dwUrlPathLength
;
LPWSTR
lpszExtraInfo
;
DWORD
dwExtraInfoLength
;
}
URL_COMPONENTS
,
*
LPURL_COMPONENTS
;
typedef
URL_COMPONENTS
URL_COMPONENTSW
;
typedef
LPURL_COMPONENTS
LPURL_COMPONENTSW
;
typedef
struct
{
DWORD_PTR
dwResult
;
DWORD
dwError
;
}
WINHTTP_ASYNC_RESULT
,
*
LPWINHTTP_ASYNC_RESULT
;
typedef
struct
{
FILETIME
ftExpiry
;
FILETIME
ftStart
;
LPWSTR
lpszSubjectInfo
;
LPWSTR
lpszIssuerInfo
;
LPWSTR
lpszProtocolName
;
LPWSTR
lpszSignatureAlgName
;
LPWSTR
lpszEncryptionAlgName
;
DWORD
dwKeySize
;
}
WINHTTP_CERTIFICATE_INFO
;
typedef
struct
{
DWORD
dwAccessType
;
LPCWSTR
lpszProxy
;
LPCWSTR
lpszProxyBypass
;
}
WINHTTP_PROXY_INFO
,
*
LPWINHTTP_PROXY_INFO
;
typedef
WINHTTP_PROXY_INFO
WINHTTP_PROXY_INFOW
;
typedef
LPWINHTTP_PROXY_INFO
LPWINHTTP_PROXY_INFOW
;
#ifdef __cplusplus
extern
"C"
{
#endif
BOOL
WINAPI
WinHttpCheckPlatform
(
void
);
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_WINHTTP_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment