Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
18a1d353
Commit
18a1d353
authored
Nov 03, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use proper dllimports for httpapi functions.
parent
9db1bbf2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
22 deletions
+27
-22
httpapi_main.c
dlls/httpapi/httpapi_main.c
+1
-0
http.h
include/http.h
+26
-22
No files found.
dlls/httpapi/httpapi_main.c
View file @
18a1d353
...
...
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define HTTPAPI_LINKAGE
#include "wine/http.h"
#include "winsvc.h"
#include "winternl.h"
...
...
include/http.h
View file @
18a1d353
...
...
@@ -28,6 +28,10 @@
extern
"C"
{
#endif
#ifndef HTTPAPI_LINKAGE
#define HTTPAPI_LINKAGE DECLSPEC_IMPORT
#endif
typedef
struct
_HTTPAPI_VERSION
{
USHORT
HttpApiMajorVersion
;
...
...
@@ -462,28 +466,28 @@ typedef struct _HTTP_QOS_SETTING_INFO
void
*
QosSetting
;
}
HTTP_QOS_SETTING_INFO
,
*
PHTTP_QOS_SETTING_INFO
;
ULONG
WINAPI
HttpAddUrl
(
HANDLE
,
PCWSTR
,
PVOID
);
ULONG
WINAPI
HttpAddUrlToUrlGroup
(
HTTP_URL_GROUP_ID
id
,
const
WCHAR
*
url
,
HTTP_URL_CONTEXT
context
,
ULONG
reserved
);
ULONG
WINAPI
HttpCloseRequestQueue
(
HANDLE
handle
);
ULONG
WINAPI
HttpCloseServerSession
(
HTTP_SERVER_SESSION_ID
id
);
ULONG
WINAPI
HttpCloseUrlGroup
(
HTTP_URL_GROUP_ID
id
);
ULONG
WINAPI
HttpCreateHttpHandle
(
PHANDLE
,
ULONG
);
ULONG
WINAPI
HttpCreateRequestQueue
(
HTTPAPI_VERSION
version
,
const
WCHAR
*
name
,
SECURITY_ATTRIBUTES
*
sa
,
ULONG
flags
,
HANDLE
*
handle
);
ULONG
WINAPI
HttpCreateServerSession
(
HTTPAPI_VERSION
,
PHTTP_SERVER_SESSION_ID
,
ULONG
);
ULONG
WINAPI
HttpCreateUrlGroup
(
HTTP_SERVER_SESSION_ID
session_id
,
HTTP_URL_GROUP_ID
*
group_id
,
ULONG
reserved
);
ULONG
WINAPI
HttpDeleteServiceConfiguration
(
HANDLE
,
HTTP_SERVICE_CONFIG_ID
,
PVOID
,
ULONG
,
LPOVERLAPPED
);
ULONG
WINAPI
HttpInitialize
(
HTTPAPI_VERSION
version
,
ULONG
flags
,
void
*
reserved
);
ULONG
WINAPI
HttpTerminate
(
ULONG
flags
,
void
*
reserved
);
ULONG
WINAPI
HttpQueryServiceConfiguration
(
HANDLE
,
HTTP_SERVICE_CONFIG_ID
,
PVOID
,
ULONG
,
PVOID
,
ULONG
,
PULONG
,
LPOVERLAPPED
);
ULONG
WINAPI
HttpReceiveHttpRequest
(
HANDLE
queue
,
HTTP_REQUEST_ID
id
,
ULONG
flags
,
HTTP_REQUEST
*
request
,
ULONG
size
,
ULONG
*
ret_size
,
OVERLAPPED
*
ovl
);
ULONG
WINAPI
HttpReceiveRequestEntityBody
(
HANDLE
queue
,
HTTP_REQUEST_ID
id
,
ULONG
flags
,
void
*
buffer
,
ULONG
size
,
ULONG
*
ret_size
,
OVERLAPPED
*
ovl
);
ULONG
WINAPI
HttpRemoveUrl
(
HANDLE
queue
,
const
WCHAR
*
url
);
ULONG
WINAPI
HttpRemoveUrlFromUrlGroup
(
HTTP_URL_GROUP_ID
id
,
const
WCHAR
*
url
,
ULONG
flags
);
ULONG
WINAPI
HttpSendHttpResponse
(
HANDLE
queue
,
HTTP_REQUEST_ID
id
,
ULONG
flags
,
HTTP_RESPONSE
*
response
,
HTTP_CACHE_POLICY
*
cache_policy
,
ULONG
*
ret_size
,
void
*
reserved1
,
ULONG
reserved2
,
OVERLAPPED
*
ovl
,
HTTP_LOG_DATA
*
log_data
);
ULONG
WINAPI
HttpSetRequestQueueProperty
(
HANDLE
queue
,
HTTP_SERVER_PROPERTY
property
,
void
*
value
,
ULONG
length
,
ULONG
reserved1
,
void
*
reserved2
);
ULONG
WINAPI
HttpSetServerSessionProperty
(
HTTP_SERVER_SESSION_ID
id
,
HTTP_SERVER_PROPERTY
property
,
void
*
value
,
ULONG
size
);
ULONG
WINAPI
HttpSetServiceConfiguration
(
HANDLE
,
HTTP_SERVICE_CONFIG_ID
,
PVOID
,
ULONG
,
LPOVERLAPPED
);
ULONG
WINAPI
HttpSetUrlGroupProperty
(
HTTP_URL_GROUP_ID
id
,
HTTP_SERVER_PROPERTY
property
,
void
*
value
,
ULONG
length
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpAddUrl
(
HANDLE
,
PCWSTR
,
PVOID
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpAddUrlToUrlGroup
(
HTTP_URL_GROUP_ID
id
,
const
WCHAR
*
url
,
HTTP_URL_CONTEXT
context
,
ULONG
reserved
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpCloseRequestQueue
(
HANDLE
handle
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpCloseServerSession
(
HTTP_SERVER_SESSION_ID
id
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpCloseUrlGroup
(
HTTP_URL_GROUP_ID
id
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpCreateHttpHandle
(
PHANDLE
,
ULONG
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpCreateRequestQueue
(
HTTPAPI_VERSION
version
,
const
WCHAR
*
name
,
SECURITY_ATTRIBUTES
*
sa
,
ULONG
flags
,
HANDLE
*
handle
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpCreateServerSession
(
HTTPAPI_VERSION
,
PHTTP_SERVER_SESSION_ID
,
ULONG
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpCreateUrlGroup
(
HTTP_SERVER_SESSION_ID
session_id
,
HTTP_URL_GROUP_ID
*
group_id
,
ULONG
reserved
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpDeleteServiceConfiguration
(
HANDLE
,
HTTP_SERVICE_CONFIG_ID
,
PVOID
,
ULONG
,
LPOVERLAPPED
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpInitialize
(
HTTPAPI_VERSION
version
,
ULONG
flags
,
void
*
reserved
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpTerminate
(
ULONG
flags
,
void
*
reserved
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpQueryServiceConfiguration
(
HANDLE
,
HTTP_SERVICE_CONFIG_ID
,
PVOID
,
ULONG
,
PVOID
,
ULONG
,
PULONG
,
LPOVERLAPPED
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpReceiveHttpRequest
(
HANDLE
queue
,
HTTP_REQUEST_ID
id
,
ULONG
flags
,
HTTP_REQUEST
*
request
,
ULONG
size
,
ULONG
*
ret_size
,
OVERLAPPED
*
ovl
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpReceiveRequestEntityBody
(
HANDLE
queue
,
HTTP_REQUEST_ID
id
,
ULONG
flags
,
void
*
buffer
,
ULONG
size
,
ULONG
*
ret_size
,
OVERLAPPED
*
ovl
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpRemoveUrl
(
HANDLE
queue
,
const
WCHAR
*
url
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpRemoveUrlFromUrlGroup
(
HTTP_URL_GROUP_ID
id
,
const
WCHAR
*
url
,
ULONG
flags
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpSendHttpResponse
(
HANDLE
queue
,
HTTP_REQUEST_ID
id
,
ULONG
flags
,
HTTP_RESPONSE
*
response
,
HTTP_CACHE_POLICY
*
cache_policy
,
ULONG
*
ret_size
,
void
*
reserved1
,
ULONG
reserved2
,
OVERLAPPED
*
ovl
,
HTTP_LOG_DATA
*
log_data
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpSetRequestQueueProperty
(
HANDLE
queue
,
HTTP_SERVER_PROPERTY
property
,
void
*
value
,
ULONG
length
,
ULONG
reserved1
,
void
*
reserved2
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpSetServerSessionProperty
(
HTTP_SERVER_SESSION_ID
id
,
HTTP_SERVER_PROPERTY
property
,
void
*
value
,
ULONG
size
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpSetServiceConfiguration
(
HANDLE
,
HTTP_SERVICE_CONFIG_ID
,
PVOID
,
ULONG
,
LPOVERLAPPED
);
HTTPAPI_LINKAGE
ULONG
WINAPI
HttpSetUrlGroupProperty
(
HTTP_URL_GROUP_ID
id
,
HTTP_SERVER_PROPERTY
property
,
void
*
value
,
ULONG
length
);
#ifdef __cplusplus
}
...
...
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