Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
3104f77e
Commit
3104f77e
authored
Jan 12, 2009
by
Andrey Turkin
Committed by
Alexandre Julliard
Jan 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
httpapi: Add HttpInitialize and HttpTerminate stubs.
parent
c458f41a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
95 additions
and
2 deletions
+95
-2
httpapi.spec
dlls/httpapi/httpapi.spec
+2
-2
httpapi_main.c
dlls/httpapi/httpapi_main.c
+41
-0
Makefile.in
include/Makefile.in
+1
-0
http.h
include/http.h
+51
-0
No files found.
dlls/httpapi/httpapi.spec
View file @
3104f77e
...
...
@@ -18,7 +18,7 @@
@ stub HttpFilterRawWriteAndAppRead
@ stub HttpFlushResponseCache
@ stub HttpGetCounters
@ st
ub HttpInitialize
@ st
dcall HttpInitialize(long long ptr)
@ stub HttpInitializeServerContext
@ stub HttpOpenAppPool
@ stub HttpOpenControlChannel
...
...
@@ -47,6 +47,6 @@
@ stub HttpSetServiceConfiguration
@ stub HttpShutdownAppPool
@ stub HttpShutdownFilter
@ st
ub HttpTerminate
@ st
dcall HttpTerminate(long ptr)
@ stub HttpWaitForDemandStart
@ stub HttpWaitForDisconnect
dlls/httpapi/httpapi_main.c
View file @
3104f77e
...
...
@@ -24,6 +24,7 @@
#include "windef.h"
#include "winbase.h"
#include "http.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
httpapi
);
...
...
@@ -42,3 +43,43 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID lpv )
}
return
TRUE
;
}
/***********************************************************************
* HttpInitialize (HTTPAPI.@)
*
* Initializes HTTP Server API engine
*
* PARAMS
* version [ I] HTTP API version which caller will use
* flags [ I] initialization options which specify parts of API what will be used
* reserved [IO] reserved, must be NULL
*
* RETURNS
* NO_ERROR if function succeeds, or error code if function fails
*
*/
ULONG
WINAPI
HttpInitialize
(
HTTPAPI_VERSION
version
,
ULONG
flags
,
PVOID
reserved
)
{
FIXME
(
"({%d,%d}, 0x%x, %p): stub!
\n
"
,
version
.
HttpApiMajorVersion
,
version
.
HttpApiMinorVersion
,
flags
,
reserved
);
return
NO_ERROR
;
}
/***********************************************************************
* HttpTerminate (HTTPAPI.@)
*
* Cleans up HTTP Server API engine resources allocated by HttpInitialize
*
* PARAMS
* flags [ I] options which specify parts of API what should be released
* reserved [IO] reserved, must be NULL
*
* RETURNS
* NO_ERROR if function succeeds, or error code if function fails
*
*/
ULONG
WINAPI
HttpTerminate
(
ULONG
flags
,
PVOID
reserved
)
{
FIXME
(
"(0x%x, %p): stub!
\n
"
,
flags
,
reserved
);
return
NO_ERROR
;
}
include/Makefile.in
View file @
3104f77e
...
...
@@ -228,6 +228,7 @@ SRCDIR_INCLUDES = \
guiddef.h
\
hlguids.h
\
htmlhelp.h
\
http.h
\
i_cryptasn1tls.h
\
icm.h
\
icmpapi.h
\
...
...
include/http.h
0 → 100644
View file @
3104f77e
/*
* HTTP Server API definitions
*
* Copyright (C) 2009 Andrey Turkin
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_HTTP_H
#define __WINE_HTTP_H
#include <winsock2.h>
#include <ws2tcpip.h>
#ifdef __cplusplus
extern
"C"
{
#endif
typedef
struct
_HTTPAPI_VERSION
{
USHORT
HttpApiMajorVersion
;
USHORT
HttpApiMinorVersion
;
}
HTTPAPI_VERSION
,
*
PHTTPAPI_VERSION
;
#define HTTPAPI_VERSION_1 {1,0}
#define HTTPAPI_VERSION_2 {2,0}
/* HttpInitialize and HttpTerminate flags */
#define HTTP_INITIALIZE_SERVER 0x00000001
#define HTTP_INITIALIZE_CONFIG 0x00000002
ULONG
WINAPI
HttpInitialize
(
HTTPAPI_VERSION
,
ULONG
,
PVOID
);
ULONG
WINAPI
HttpTerminate
(
ULONG
,
PVOID
);
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_HTTP_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment