mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
58 lines
2.2 KiB
Diff
58 lines
2.2 KiB
Diff
From 1b3f783460eb8aa93e6a8da583dfc8edd3d6de9e 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 bcd09e7..b7d3705 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 9280fc1..eca3b00 100644
|
|
--- a/dlls/httpapi/httpapi_main.c
|
|
+++ b/dlls/httpapi/httpapi_main.c
|
|
@@ -212,4 +212,13 @@ 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 50a10f8..aa490dc 100644
|
|
--- a/include/http.h
|
|
+++ b/include/http.h
|
|
@@ -61,6 +61,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 HttpQueryServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,PVOID,ULONG,PULONG,LPOVERLAPPED);
|
|
--
|
|
1.9.1
|
|
|