mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
61 lines
2.3 KiB
Diff
61 lines
2.3 KiB
Diff
From 13541d8ff0af57d8b3bc1dfbcb83bbd1020084f9 Mon Sep 17 00:00:00 2001
|
|
From: Esdras Tarsis <esdrastarsis@gmail.com>
|
|
Date: Sun, 31 Mar 2019 06:18:21 -0300
|
|
Subject: [PATCH] httpapi: Add CreateRequestQueue stub.
|
|
|
|
---
|
|
dlls/httpapi/httpapi.spec | 1 +
|
|
dlls/httpapi/httpapi_main.c | 13 ++++++++++++-
|
|
include/http.h | 1 +
|
|
3 files changed, 14 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/dlls/httpapi/httpapi.spec b/dlls/httpapi/httpapi.spec
|
|
index b7d3705..235c4ac 100644
|
|
--- a/dlls/httpapi/httpapi.spec
|
|
+++ b/dlls/httpapi/httpapi.spec
|
|
@@ -7,6 +7,7 @@
|
|
@ stub HttpCreateFilter
|
|
@ stdcall HttpCreateHttpHandle(ptr long)
|
|
@ stdcall HttpCreateServerSession(long ptr long)
|
|
+@ stdcall HttpCreateRequestQueue(long wstr ptr long ptr)
|
|
@ stdcall HttpCreateUrlGroup(int64 ptr long)
|
|
@ stdcall HttpCloseUrlGroup(int64)
|
|
@ stdcall HttpCloseServerSession(int64)
|
|
diff --git a/dlls/httpapi/httpapi_main.c b/dlls/httpapi/httpapi_main.c
|
|
index eca3b00..7c83f81 100644
|
|
--- a/dlls/httpapi/httpapi_main.c
|
|
+++ b/dlls/httpapi/httpapi_main.c
|
|
@@ -221,4 +221,15 @@ ULONG WINAPI HttpCloseUrlGroup( HTTP_URL_GROUP_ID urlgroupid )
|
|
{
|
|
FIXME( "(%s): stub!\n", wine_dbgstr_longlong(urlgroupid));
|
|
return NO_ERROR;
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
+
|
|
+/***********************************************************************
|
|
+ * HttpCreateRequestQueue (HTTPAPI.@)
|
|
+ */
|
|
+ULONG WINAPI HttpCreateRequestQueue( HTTPAPI_VERSION version, PCWSTR name, PSECURITY_ATTRIBUTES security, ULONG flags, PHANDLE request )
|
|
+{
|
|
+ FIXME( "({%d,%d}, %s, %p, 0x%x, %p): stub!\n",version.HttpApiMajorVersion,version.HttpApiMinorVersion,debugstr_w(name),security,flags,request );
|
|
+
|
|
+ *request = (HANDLE)0xbeefdead;
|
|
+ return NO_ERROR;
|
|
+}
|
|
diff --git a/include/http.h b/include/http.h
|
|
index aa490dc..9ad7e10 100644
|
|
--- a/include/http.h
|
|
+++ b/include/http.h
|
|
@@ -60,6 +60,7 @@ ULONG WINAPI HttpTerminate(ULONG,PVOID);
|
|
ULONG WINAPI HttpAddUrl(HANDLE,PCWSTR,PVOID);
|
|
ULONG WINAPI HttpCreateHttpHandle(PHANDLE,ULONG);
|
|
ULONG WINAPI HttpCreateUrlGroup(HTTP_SERVER_SESSION_ID,PHTTP_URL_GROUP_ID,ULONG);
|
|
+ULONG WINAPI HttpCreateRequestQueue(HTTPAPI_VERSION,PCWSTR,PSECURITY_ATTRIBUTES,ULONG,PHANDLE);
|
|
ULONG WINAPI HttpCreateServerSession(HTTPAPI_VERSION,PHTTP_SERVER_SESSION_ID,ULONG);
|
|
ULONG WINAPI HttpCloseUrlGroup(HTTP_URL_GROUP_ID);
|
|
ULONG WINAPI HttpCloseServerSession(HTTP_SERVER_SESSION_ID);
|
|
--
|
|
1.9.1
|
|
|