Signed-off-by: Esdras Tarsis esdrastarsis@gmail.com ---
v2: Added stubs for HttpCreateUrlGroup and HttpCloseUrlGroup to avoid test failures
dlls/httpapi/httpapi.spec | 17 +++++++++++++++++ dlls/httpapi/httpapi_main.c | 18 ++++++++++++++++++ include/http.h | 2 ++ 3 files changed, 37 insertions(+)
diff --git a/dlls/httpapi/httpapi.spec b/dlls/httpapi/httpapi.spec index 88bc32488a..7d887f8717 100644 --- a/dlls/httpapi/httpapi.spec +++ b/dlls/httpapi/httpapi.spec @@ -1,13 +1,19 @@ @ stub HttpAddFragmentToCache @ stdcall HttpAddUrl(ptr wstr ptr) @ stub HttpAddUrlToConfigGroup +@ stub HttpAddUrlToUrlGroup @ stub HttpCancelHttpRequest @ stub HttpCreateAppPool @ stub HttpCreateConfigGroup @ stub HttpCreateFilter @ stdcall HttpCreateHttpHandle(ptr long) +@ stub HttpCreateRequestQueue @ stdcall HttpCreateServerSession(long ptr long) +@ stdcall HttpCreateUrlGroup(int64 ptr long) +@ stub HttpCloseRequestQueue @ stdcall HttpCloseServerSession(int64) +@ stdcall HttpCloseUrlGroup(int64) +@ stub HttpDeclarePush @ stub HttpDeleteConfigGroup @ stdcall HttpDeleteServiceConfiguration(ptr long ptr long ptr) @ stub HttpFilterAccept @@ -25,11 +31,15 @@ @ stub HttpOpenAppPool @ stub HttpOpenControlChannel @ stub HttpOpenFilter +@ stub HttpPrepareUrl @ stub HttpQueryAppPoolInformation @ stub HttpQueryConfigGroupInformation @ stub HttpQueryControlChannelInformation +@ stub HttpQueryRequestQueueProperty @ stub HttpQueryServerContextInformation +@ stub HttpQueryServerSessionProperty @ stdcall HttpQueryServiceConfiguration(ptr long ptr long ptr long ptr ptr) +@ stub HttpQueryUrlGroupProperty @ stub HttpReadFragmentFromCache @ stub HttpReceiveClientCertificate @ stdcall HttpReceiveHttpRequest(ptr int64 long ptr long ptr ptr) @@ -38,6 +48,7 @@ @ stub HttpRemoveAllUrlsFromConfigGroup @ stdcall HttpRemoveUrl(ptr wstr) @ stub HttpRemoveUrlFromConfigGroup +@ stub HttpRemoveUrlFromUrlGroup @ stub HttpSendHttpRequest @ stdcall HttpSendHttpResponse(ptr int64 long ptr ptr ptr ptr long ptr ptr) @ stub HttpSendRequestEntityBody @@ -45,10 +56,16 @@ @ stub HttpSetAppPoolInformation @ stub HttpSetConfigGroupInformation @ stub HttpSetControlChannelInformation +@ stub HttpSetRequestQueueProperty @ stub HttpSetServerContextInformation +@ stub HttpSetServerSessionProperty @ stdcall HttpSetServiceConfiguration(ptr long ptr long ptr) +@ stub HttpSetUrlGroupProperty @ stub HttpShutdownAppPool @ stub HttpShutdownFilter +@ stub HttpShutdownRequestQueue @ stdcall HttpTerminate(long ptr) +@ stub HttpUpdateServiceConfiguration @ stub HttpWaitForDemandStart @ stub HttpWaitForDisconnect +@ stub HttpWaitForDisconnectEx diff --git a/dlls/httpapi/httpapi_main.c b/dlls/httpapi/httpapi_main.c index 5f2a307934..ad8a015144 100644 --- a/dlls/httpapi/httpapi_main.c +++ b/dlls/httpapi/httpapi_main.c @@ -285,3 +285,21 @@ ULONG WINAPI HttpCloseServerSession( HTTP_SERVER_SESSION_ID id ) FIXME( "(%s): stub!\n", wine_dbgstr_longlong(id)); return ERROR_INVALID_PARAMETER; } + +/*********************************************************************** + * HttpCreateUrlGroup (HTTPAPI.@) + */ +ULONG WINAPI HttpCreateUrlGroup(HTTP_SERVER_SESSION_ID id, HTTP_URL_GROUP_ID *urlgroupid, ULONG reserved) +{ + FIXME( "(id %s, urlgroupid %p, reserved %d): stub!\n", wine_dbgstr_longlong(id), urlgroupid, reserved ); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +/*********************************************************************** + * HttpCloseUrlGroup (HTTPAPI.@) + */ +ULONG WINAPI HttpCloseUrlGroup(HTTP_URL_GROUP_ID urlgroupid) +{ + FIXME( "(urlgroupid %s): stub!\n", wine_dbgstr_longlong(urlgroupid)); + return ERROR_CALL_NOT_IMPLEMENTED; +} \ No newline at end of file diff --git a/include/http.h b/include/http.h index 84d3445b67..fbc353b8de 100644 --- a/include/http.h +++ b/include/http.h @@ -400,7 +400,9 @@ typedef struct _HTTP_LOG_DATA ULONG WINAPI HttpAddUrl(HANDLE,PCWSTR,PVOID); ULONG WINAPI HttpCreateHttpHandle(PHANDLE,ULONG); ULONG WINAPI HttpCreateServerSession(HTTPAPI_VERSION,PHTTP_SERVER_SESSION_ID,ULONG); +ULONG WINAPI HttpCreateUrlGroup(HTTP_SERVER_SESSION_ID,PHTTP_URL_GROUP_ID,ULONG); ULONG WINAPI HttpCloseServerSession(HTTP_SERVER_SESSION_ID); +ULONG WINAPI HttpCloseUrlGroup(HTTP_URL_GROUP_ID); ULONG WINAPI HttpDeleteServiceConfiguration(HANDLE,HTTP_SERVICE_CONFIG_ID,PVOID,ULONG,LPOVERLAPPED); ULONG WINAPI HttpInitialize(HTTPAPI_VERSION version, ULONG flags, void *reserved); ULONG WINAPI HttpTerminate(ULONG flags, void *reserved);