From 308c3d0c1db9f4bfb08644ebce78a6da40b98f18 Mon Sep 17 00:00:00 2001 From: Austin English Date: Sun, 11 Jan 2009 14:54:15 -0600 Subject: [PATCH] a --- configure.ac | 1 + dlls/httpapi/Makefile.in | 13 ++++++++++ dlls/httpapi/httpapi.spec | 53 +++++++++++++++++++++++++++++++++++++++++++ dlls/httpapi/httpapi_main.c | 44 +++++++++++++++++++++++++++++++++++ 4 files changed, 111 insertions(+), 0 deletions(-) create mode 100644 dlls/httpapi/Makefile.in create mode 100644 dlls/httpapi/httpapi.spec create mode 100644 dlls/httpapi/httpapi_main.c diff --git a/configure.ac b/configure.ac index 604f331..5905660 100644 --- a/configure.ac +++ b/configure.ac @@ -1882,6 +1882,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..5cfde34 --- /dev/null +++ b/dlls/httpapi/httpapi.spec @@ -0,0 +1,53 @@ +1 stub HttpAddFragmentToCache +2 stub HttpAddUrl +3 stub HttpAddUrlToConfigGroup +4 stub HttpCancelHttpRequest +5 stub HttpCreateAppPool +6 stub HttpCreateConfigGroup +7 stub HttpCreateFilter +8 stub HttpCreateHttpHandle +9 stub HttpDeleteConfigGroup +10 stub HttpDeleteServiceConfiguration +11 stub HttpFilterAccept +12 stub HttpFilterAppRead +13 stub HttpFilterAppWrite +14 stub HttpFilterAppWriteAndRawRead +15 stub HttpFilterClose +16 stub HttpFilterRawRead +17 stub HttpFilterRawWrite +18 stub HttpFilterRawWriteAndAppRead +19 stub HttpFlushResponseCache +20 stub HttpGetCounters +21 stub HttpInitialize +22 stub HttpInitializeServerContext +23 stub HttpOpenAppPool +24 stub HttpOpenControlChannel +25 stub HttpOpenFilter +26 stub HttpQueryAppPoolInformation +27 stub HttpQueryConfigGroupInformation +28 stub HttpQueryControlChannelInformation +29 stub HttpQueryServerContextInformation +30 stub HttpQueryServiceConfiguration +31 stub HttpReadFragmentFromCache +32 stub HttpReceiveClientCertificate +33 stub HttpReceiveHttpRequest +34 stub HttpReceiveHttpResponse +35 stub HttpReceiveRequestEntityBody +36 stub HttpRemoveAllUrlsFromConfigGroup +37 stub HttpRemoveUrl +38 stub HttpRemoveUrlFromConfigGroup +39 stub HttpSendHttpRequest +40 stub HttpSendHttpResponse +41 stub HttpSendRequestEntityBody +42 stub HttpSendResponseEntityBody +43 stub HttpSetAppPoolInformation +44 stub HttpSetConfigGroupInformation +45 stub HttpSetControlChannelInformation +46 stub HttpSetServerContextInformation +47 stub HttpSetServiceConfiguration +48 stub HttpShutdownAppPool +49 stub HttpShutdownFilter +50 stub HttpTerminate +51 stub HttpWaitForDemandStart +52 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 + +#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; +} -- 1.5.6.3