Module: wine Branch: master Commit: 8cf8e2c60a263e0b015b36dc36c9bf83e6767aa8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8cf8e2c60a263e0b015b36dc36...
Author: Austin English austinenglish@gmail.com Date: Sun Jan 11 14:54:15 2009 -0600
httpapi: Add stub dll.
---
configure | 9 +++++++ configure.ac | 1 + dlls/httpapi/Makefile.in | 13 ++++++++++ dlls/httpapi/httpapi.spec | 52 +++++++++++++++++++++++++++++++++++++++++++ dlls/httpapi/httpapi_main.c | 44 ++++++++++++++++++++++++++++++++++++ 5 files changed, 119 insertions(+), 0 deletions(-)
diff --git a/configure b/configure index a3914e0..d42d651 100755 --- a/configure +++ b/configure @@ -24876,6 +24876,14 @@ dlls/hnetcfg/Makefile: dlls/hnetcfg/Makefile.in dlls/Makedll.rules" ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
ALL_MAKEFILES="$ALL_MAKEFILES \ + dlls/httpapi/Makefile" +test "x$enable_httpapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \ + httpapi" +ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS +dlls/httpapi/Makefile: dlls/httpapi/Makefile.in dlls/Makedll.rules" +ac_config_files="$ac_config_files dlls/httpapi/Makefile" + +ALL_MAKEFILES="$ALL_MAKEFILES \ dlls/iccvid/Makefile" test "x$enable_iccvid" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \ iccvid" @@ -28166,6 +28174,7 @@ do "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;; "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;; "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;; + "dlls/httpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/httpapi/Makefile" ;; "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;; "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;; "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;; diff --git a/configure.ac b/configure.ac index 083203e..d5d8f8e 100644 --- a/configure.ac +++ b/configure.ac @@ -1887,6 +1887,7 @@ WINE_CONFIG_MAKEFILE([dlls/hid/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DI WINE_CONFIG_MAKEFILE([dlls/hlink/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS]) WINE_CONFIG_MAKEFILE([dlls/hlink/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests]) WINE_CONFIG_MAKEFILE([dlls/hnetcfg/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS]) +WINE_CONFIG_MAKEFILE([dlls/httpapi/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS]) WINE_CONFIG_MAKEFILE([dlls/iccvid/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS]) WINE_CONFIG_MAKEFILE([dlls/icmp/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS]) WINE_CONFIG_MAKEFILE([dlls/ifsmgr.vxd/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS]) diff --git a/dlls/httpapi/Makefile.in b/dlls/httpapi/Makefile.in new file mode 100644 index 0000000..6d21cd6 --- /dev/null +++ b/dlls/httpapi/Makefile.in @@ -0,0 +1,13 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = httpapi.dll +IMPORTS = kernel32 + +C_SRCS = \ + httpapi_main.c + +@MAKE_DLL_RULES@ + +@DEPENDENCIES@ # everything below this line is overwritten by make depend diff --git a/dlls/httpapi/httpapi.spec b/dlls/httpapi/httpapi.spec new file mode 100644 index 0000000..aa8fea2 --- /dev/null +++ b/dlls/httpapi/httpapi.spec @@ -0,0 +1,52 @@ +@ stub HttpAddFragmentToCache +@ stub HttpAddUrl +@ stub HttpAddUrlToConfigGroup +@ stub HttpCancelHttpRequest +@ stub HttpCreateAppPool +@ stub HttpCreateConfigGroup +@ stub HttpCreateFilter +@ stub HttpCreateHttpHandle +@ stub HttpDeleteConfigGroup +@ stub HttpDeleteServiceConfiguration +@ stub HttpFilterAccept +@ stub HttpFilterAppRead +@ stub HttpFilterAppWrite +@ stub HttpFilterAppWriteAndRawRead +@ stub HttpFilterClose +@ stub HttpFilterRawRead +@ stub HttpFilterRawWrite +@ stub HttpFilterRawWriteAndAppRead +@ stub HttpFlushResponseCache +@ stub HttpGetCounters +@ stub HttpInitialize +@ stub HttpInitializeServerContext +@ stub HttpOpenAppPool +@ stub HttpOpenControlChannel +@ stub HttpOpenFilter +@ stub HttpQueryAppPoolInformation +@ stub HttpQueryConfigGroupInformation +@ stub HttpQueryControlChannelInformation +@ stub HttpQueryServerContextInformation +@ stub HttpQueryServiceConfiguration +@ stub HttpReadFragmentFromCache +@ stub HttpReceiveClientCertificate +@ stub HttpReceiveHttpRequest +@ stub HttpReceiveHttpResponse +@ stub HttpReceiveRequestEntityBody +@ stub HttpRemoveAllUrlsFromConfigGroup +@ stub HttpRemoveUrl +@ stub HttpRemoveUrlFromConfigGroup +@ stub HttpSendHttpRequest +@ stub HttpSendHttpResponse +@ stub HttpSendRequestEntityBody +@ stub HttpSendResponseEntityBody +@ stub HttpSetAppPoolInformation +@ stub HttpSetConfigGroupInformation +@ stub HttpSetControlChannelInformation +@ stub HttpSetServerContextInformation +@ stub HttpSetServiceConfiguration +@ stub HttpShutdownAppPool +@ stub HttpShutdownFilter +@ stub HttpTerminate +@ stub HttpWaitForDemandStart +@ stub HttpWaitForDisconnect diff --git a/dlls/httpapi/httpapi_main.c b/dlls/httpapi/httpapi_main.c new file mode 100644 index 0000000..b678e19 --- /dev/null +++ b/dlls/httpapi/httpapi_main.c @@ -0,0 +1,44 @@ +/* + * HTTPAPI implementation + * + * Copyright 2009 Austin English + * + * 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 + */ + +#include "config.h" + +#include <stdarg.h> + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(httpapi); + +BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID lpv ) +{ + switch(reason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls( hinst ); + break; + case DLL_PROCESS_DETACH: + break; + } + return TRUE; +}