mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
59 lines
2.2 KiB
Diff
59 lines
2.2 KiB
Diff
From 79377cfe32f7b5570e34fa47a5c318f8cb166b4b Mon Sep 17 00:00:00 2001
|
|
From: Esdras Tarsis <esdrastarsis@gmail.com>
|
|
Date: Sat, 30 Mar 2019 19:07:39 -0300
|
|
Subject: [PATCH] httpapi: Add CloseUrlGroup stub.
|
|
|
|
---
|
|
dlls/httpapi/httpapi.spec | 1 +
|
|
dlls/httpapi/httpapi_main.c | 9 +++++++++
|
|
include/http.h | 1 +
|
|
3 files changed, 11 insertions(+)
|
|
|
|
diff --git a/dlls/httpapi/httpapi.spec b/dlls/httpapi/httpapi.spec
|
|
index f7c7167dae3..07d378e3199 100644
|
|
--- a/dlls/httpapi/httpapi.spec
|
|
+++ b/dlls/httpapi/httpapi.spec
|
|
@@ -8,6 +8,7 @@
|
|
@ stdcall HttpCreateHttpHandle(ptr long)
|
|
@ stdcall HttpCreateServerSession(long ptr long)
|
|
@ stdcall HttpCreateUrlGroup(int64 ptr long)
|
|
+@ stdcall HttpCloseUrlGroup(int64)
|
|
@ stdcall HttpCloseServerSession(int64)
|
|
@ stub HttpDeleteConfigGroup
|
|
@ stdcall HttpDeleteServiceConfiguration(ptr long ptr long ptr)
|
|
diff --git a/dlls/httpapi/httpapi_main.c b/dlls/httpapi/httpapi_main.c
|
|
index b011131aebe..557a496748a 100644
|
|
--- a/dlls/httpapi/httpapi_main.c
|
|
+++ b/dlls/httpapi/httpapi_main.c
|
|
@@ -250,5 +250,14 @@ ULONG WINAPI HttpCreateUrlGroup( HTTP_SERVER_SESSION_ID id, HTTP_URL_GROUP_ID *u
|
|
|
|
*urlgroupid = 0xdeadbeef;
|
|
|
|
+ return NO_ERROR;
|
|
+}
|
|
+
|
|
+/***********************************************************************
|
|
+ * HttpCloseUrlGroup (HTTPAPI.@)
|
|
+ */
|
|
+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
|
|
diff --git a/include/http.h b/include/http.h
|
|
index e12f0aa2e72..ff0dcaed5c7 100644
|
|
--- a/include/http.h
|
|
+++ b/include/http.h
|
|
@@ -401,6 +401,7 @@ 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 HttpCreateServerSession(HTTPAPI_VERSION,PHTTP_SERVER_SESSION_ID,ULONG);
|
|
+ULONG WINAPI HttpCloseUrlGroup(HTTP_URL_GROUP_ID);
|
|
ULONG WINAPI HttpCloseServerSession(HTTP_SERVER_SESSION_ID);
|
|
ULONG WINAPI HttpDeleteServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,LPOVERLAPPED);
|
|
ULONG WINAPI HttpInitialize(HTTPAPI_VERSION version, ULONG flags, void *reserved);
|
|
--
|
|
2.17.1
|
|
|