mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
79 lines
3.0 KiB
Diff
79 lines
3.0 KiB
Diff
From e562c6f0cc0548bcccf7eeb5f805467905dafecb Mon Sep 17 00:00:00 2001
|
|
From: Esdras Tarsis <esdrastarsis@gmail.com>
|
|
Date: Sun, 31 Mar 2019 07:17:26 -0300
|
|
Subject: [PATCH] httpapi: Add SetUrlGroupProperty stub.
|
|
|
|
---
|
|
dlls/httpapi/httpapi.spec | 1 +
|
|
dlls/httpapi/httpapi_main.c | 10 ++++++++++
|
|
include/http.h | 14 ++++++++++++++
|
|
3 files changed, 25 insertions(+)
|
|
|
|
diff --git a/dlls/httpapi/httpapi.spec b/dlls/httpapi/httpapi.spec
|
|
index 9e2f151be93..53c993d2161 100644
|
|
--- a/dlls/httpapi/httpapi.spec
|
|
+++ b/dlls/httpapi/httpapi.spec
|
|
@@ -50,6 +50,7 @@
|
|
@ stub HttpSetControlChannelInformation
|
|
@ stub HttpSetServerContextInformation
|
|
@ stdcall HttpSetServiceConfiguration(ptr long ptr long ptr)
|
|
+@ stdcall HttpSetUrlGroupProperty(int64 long ptr long)
|
|
@ stub HttpShutdownAppPool
|
|
@ stub HttpShutdownFilter
|
|
@ stdcall HttpTerminate(long ptr)
|
|
diff --git a/dlls/httpapi/httpapi_main.c b/dlls/httpapi/httpapi_main.c
|
|
index 93822cf8c76..171c950696f 100644
|
|
--- a/dlls/httpapi/httpapi_main.c
|
|
+++ b/dlls/httpapi/httpapi_main.c
|
|
@@ -609,3 +609,13 @@ ULONG WINAPI HttpCloseUrlGroup(HTTP_URL_GROUP_ID id)
|
|
|
|
return ERROR_SUCCESS;
|
|
}
|
|
+
|
|
+/***********************************************************************
|
|
+ * HttpSetUrlGroupProperty (HTTPAPI.@)
|
|
+ */
|
|
+ULONG WINAPI HttpSetUrlGroupProperty( HTTP_URL_GROUP_ID urlgroupid, HTTP_SERVER_PROPERTY property, void *property_info, ULONG property_info_length )
|
|
+{
|
|
+ FIXME( "(%s, %d, %p, %d): stub!\n", wine_dbgstr_longlong(urlgroupid), property, property_info, property_info_length );
|
|
+ return NO_ERROR;
|
|
+}
|
|
+
|
|
diff --git a/include/http.h b/include/http.h
|
|
index d2f45497fc4..186d6cb5015 100644
|
|
--- a/include/http.h
|
|
+++ b/include/http.h
|
|
@@ -65,8 +65,21 @@ typedef enum _HTTP_SERVICE_CONFIG_ID
|
|
HttpServiceConfigMax
|
|
} HTTP_SERVICE_CONFIG_ID, *PHTTP_SERVICE_CONFIG_ID;
|
|
|
|
+
|
|
#define HTTP_NULL_ID ((ULONGLONG)0)
|
|
|
|
+typedef enum _HTTP_SERVER_PROPERTY
|
|
+{
|
|
+ HttpServerAuthenticationProperty,
|
|
+ HttpServerExtendedAuthenticationProperty,
|
|
+ HttpServerQosProperty,
|
|
+ HttpServerBindingProperty,
|
|
+ HttpServerLoggingProperty,
|
|
+ HttpServerStateProperty,
|
|
+ HttpServerTimeoutsProperty,
|
|
+ HttpServerChannelBindProperty
|
|
+} HTTP_SERVER_PROPERTY, *PHTTP_SERVER_PROPERTY;
|
|
+
|
|
typedef ULONGLONG HTTP_OPAQUE_ID, *PHTTP_OPAQUE_ID;
|
|
typedef HTTP_OPAQUE_ID HTTP_CONNECTION_ID, *PHTTP_CONNECTION_ID;
|
|
typedef HTTP_OPAQUE_ID HTTP_RAW_CONNECTION_ID, *PHTTP_RAW_CONNECTION_ID;
|
|
@@ -412,6 +425,7 @@ ULONG WINAPI HttpReceiveHttpRequest(HANDLE queue, HTTP_REQUEST_ID id, ULONG flag
|
|
ULONG WINAPI HttpRemoveUrl(HANDLE queue, const WCHAR *url);
|
|
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 HttpSetServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,LPOVERLAPPED);
|
|
+ULONG WINAPI HttpSetUrlGroupProperty(HTTP_URL_GROUP_ID,HTTP_SERVER_PROPERTY,void *,ULONG);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
--
|
|
2.17.1
|
|
|