mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
63 lines
2.4 KiB
Diff
63 lines
2.4 KiB
Diff
From 6c61664a2177dcd7ed63d217e9ec6e807d998d3a Mon Sep 17 00:00:00 2001
|
|
From: Esdras Tarsis <esdrastarsis@gmail.com>
|
|
Date: Sun, 31 Mar 2019 07:32:57 -0300
|
|
Subject: [PATCH] httpapi: Add AddUrlToUrlGroup stub.
|
|
|
|
---
|
|
dlls/httpapi/httpapi.spec | 1 +
|
|
dlls/httpapi/httpapi_main.c | 9 +++++++++
|
|
include/http.h | 3 ++-
|
|
3 files changed, 12 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/dlls/httpapi/httpapi.spec b/dlls/httpapi/httpapi.spec
|
|
index c1d3b6e..b337696 100644
|
|
--- a/dlls/httpapi/httpapi.spec
|
|
+++ b/dlls/httpapi/httpapi.spec
|
|
@@ -1,6 +1,7 @@
|
|
@ stub HttpAddFragmentToCache
|
|
@ stdcall HttpAddUrl(ptr wstr ptr)
|
|
@ stub HttpAddUrlToConfigGroup
|
|
+@ stdcall HttpAddUrlToUrlGroup(int64 wstr int64 long)
|
|
@ stub HttpCancelHttpRequest
|
|
@ stub HttpCreateAppPool
|
|
@ stub HttpCreateConfigGroup
|
|
diff --git a/dlls/httpapi/httpapi_main.c b/dlls/httpapi/httpapi_main.c
|
|
index 3cb349f..a844139 100644
|
|
--- a/dlls/httpapi/httpapi_main.c
|
|
+++ b/dlls/httpapi/httpapi_main.c
|
|
@@ -243,3 +243,12 @@ ULONG WINAPI HttpSetUrlGroupProperty( HTTP_URL_GROUP_ID urlgroupid, HTTP_SERVER_
|
|
return NO_ERROR;
|
|
}
|
|
|
|
+/***********************************************************************
|
|
+ * HttpAddUrlToUrlGroup (HTTPAPI.@)
|
|
+ */
|
|
+ULONG WINAPI HttpAddUrlToUrlGroup( HTTP_URL_GROUP_ID urlgroupid, PCWSTR name, HTTP_URL_CONTEXT urlcontext, ULONG reserved )
|
|
+{
|
|
+ FIXME( "(%s, %s, %s, %d): stub!\n", wine_dbgstr_longlong(urlgroupid), debugstr_w(name), wine_dbgstr_longlong(urlcontext), reserved );
|
|
+ return NO_ERROR;
|
|
+}
|
|
+
|
|
diff --git a/include/http.h b/include/http.h
|
|
index 9ac7309..7d86b33 100644
|
|
--- a/include/http.h
|
|
+++ b/include/http.h
|
|
@@ -64,12 +64,13 @@ typedef enum _HTTP_SERVER_PROPERTY
|
|
|
|
typedef ULONGLONG HTTP_OPAQUE_ID, *PHTTP_OPAQUE_ID;
|
|
typedef HTTP_OPAQUE_ID HTTP_SERVER_SESSION_ID, *PHTTP_SERVER_SESSION_ID;
|
|
-typedef HTTP_OPAQUE_ID HTTP_URL_GROUP_ID, *PHTTP_URL_GROUP_ID;
|
|
+typedef HTTP_OPAQUE_ID HTTP_URL_GROUP_ID, *PHTTP_URL_GROUP_ID, HTTP_URL_CONTEXT, *PHTTP_URL_CONTEXT;
|
|
|
|
ULONG WINAPI HttpInitialize(HTTPAPI_VERSION,ULONG,PVOID);
|
|
ULONG WINAPI HttpTerminate(ULONG,PVOID);
|
|
|
|
ULONG WINAPI HttpAddUrl(HANDLE,PCWSTR,PVOID);
|
|
+ULONG WINAPI HttpAddUrlToUrlGroup(HTTP_URL_GROUP_ID,PCWSTR,HTTP_URL_CONTEXT,ULONG);
|
|
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);
|
|
--
|
|
1.9.1
|
|
|