2019-08-19 15:39:18 -07:00
|
|
|
From 164adf140bfabc0b7dcdbf8524feef82fbedb4cf Mon Sep 17 00:00:00 2001
|
2019-03-31 15:11:24 -07:00
|
|
|
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 ++++++++++
|
2019-08-19 15:39:18 -07:00
|
|
|
include/http.h | 14 ++++++++++++++
|
|
|
|
3 files changed, 25 insertions(+)
|
2019-03-31 15:11:24 -07:00
|
|
|
|
|
|
|
diff --git a/dlls/httpapi/httpapi.spec b/dlls/httpapi/httpapi.spec
|
2019-08-19 15:39:18 -07:00
|
|
|
index c94cca893ad..ee1619fed04 100644
|
2019-03-31 15:11:24 -07:00
|
|
|
--- 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
|
2019-08-19 15:39:18 -07:00
|
|
|
index bde01450017..cc7c0fe066e 100644
|
2019-03-31 15:11:24 -07:00
|
|
|
--- a/dlls/httpapi/httpapi_main.c
|
|
|
|
+++ b/dlls/httpapi/httpapi_main.c
|
2019-08-19 15:39:18 -07:00
|
|
|
@@ -272,3 +272,13 @@ ULONG WINAPI HttpCreateRequestQueue( HTTPAPI_VERSION version, PCWSTR name, PSECU
|
2019-03-31 15:11:24 -07:00
|
|
|
*request = (HANDLE)0xbeefdead;
|
|
|
|
return NO_ERROR;
|
|
|
|
}
|
|
|
|
+
|
|
|
|
+/***********************************************************************
|
|
|
|
+ * 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
|
2019-08-19 15:39:18 -07:00
|
|
|
index 71dca3df754..1696d787e65 100644
|
2019-03-31 15:11:24 -07:00
|
|
|
--- a/include/http.h
|
|
|
|
+++ b/include/http.h
|
2019-08-19 15:39:18 -07:00
|
|
|
@@ -65,8 +65,21 @@ typedef enum _HTTP_SERVICE_CONFIG_ID
|
2019-03-31 15:11:24 -07:00
|
|
|
HttpServiceConfigMax
|
|
|
|
} HTTP_SERVICE_CONFIG_ID, *PHTTP_SERVICE_CONFIG_ID;
|
|
|
|
|
2019-08-19 15:39:18 -07:00
|
|
|
+
|
|
|
|
#define HTTP_NULL_ID ((ULONGLONG)0)
|
|
|
|
|
2019-03-31 15:11:24 -07:00
|
|
|
+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;
|
2019-08-19 15:39:18 -07:00
|
|
|
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);
|
2019-03-31 15:11:24 -07:00
|
|
|
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
|
|
|
|
}
|
|
|
|
--
|
2019-08-19 15:39:18 -07:00
|
|
|
2.17.1
|
2019-03-31 15:11:24 -07:00
|
|
|
|