--------------------- PatchSet 3743 Date: 2002/03/16 17:54:33 Author: serassio Branch: nt-2_5 Tag: (none) Log: Addedd WIN32 specific stuff Members: port/win32/PerlPreprocessing.dsp:1.1->1.1.2.1 port/win32/auth_modules.cmd:1.1->1.1.2.1 port/win32/cf_data.dsp:1.1->1.1.2.1 port/win32/modules.dsp:1.1->1.1.2.1 port/win32/repl_modules.cmd:1.1->1.1.2.1 port/win32/squid.dsw:1.1->1.1.2.1 port/win32/squid_conf_default.dsp:1.1->1.1.2.1 port/win32/squid_mswin.mak:1.1->1.1.2.1 port/win32/store_modules.cmd:1.1->1.1.2.1 port/win32/cachemgr/cachemgr.dsp:1.1->1.1.2.1 port/win32/cf_gen/cf_gen.dsp:1.1->1.1.2.1 port/win32/include/READDIR.H:1.1->1.1.2.1 port/win32/include/crypt.h:1.1->1.1.2.1 port/win32/include/getopt.h:1.1->1.1.2.1 port/win32/include/win32-autoconf.h:1.1->1.1.2.1 port/win32/libawin32/libawin32.dsp:1.1->1.1.2.1 port/win32/libbasic/libbasic.dsp:1.1->1.1.2.1 port/win32/libgnuregex/libgnuregex.dsp:1.1->1.1.2.1 port/win32/liblru/liblru.dsp:1.1->1.1.2.1 port/win32/libmiscutil/libmiscutil.dsp:1.1->1.1.2.1 port/win32/libntlm/libntlm.dsp:1.1->1.1.2.1 port/win32/libntlmauth/libntlmauth.dsp:1.1->1.1.2.1 port/win32/libsnmp/libsnmp.dsp:1.1->1.1.2.1 port/win32/libufs/libufs.dsp:1.1->1.1.2.1 port/win32/src/encrypt.c:1.1->1.1.2.1 port/win32/src/readdir.c:1.1->1.1.2.1 --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/PerlPreprocessing.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,129 @@ +# Microsoft Developer Studio Project File - Name="PerlPreprocessing" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Generic Project" 0x010a + +CFG=PerlPreprocessing - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "PerlPreprocessing.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "PerlPreprocessing.mak" CFG="PerlPreprocessing - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "PerlPreprocessing - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE "PerlPreprocessing - Win32 Debug" (based on "Win32 (x86) Generic Project") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +MTL=midl.exe + +!IF "$(CFG)" == "PerlPreprocessing - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "." +# PROP Intermediate_Dir "." +# PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "PerlPreprocessing - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "." +# PROP Intermediate_Dir "." +# PROP Target_Dir "" + +!ENDIF + +# Begin Target + +# Name "PerlPreprocessing - Win32 Release" +# Name "PerlPreprocessing - Win32 Debug" +# Begin Source File + +SOURCE=..\..\src\enums.h + +!IF "$(CFG)" == "PerlPreprocessing - Win32 Release" + +# PROP Intermediate_Dir "." +# PROP Ignore_Default_Tool 1 +# Begin Custom Build +InputDir=\WORK\CYGWIN-SVC-2_5\src +InputPath=..\..\src\enums.h + +"$(InputDir)\string_arrays.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + perl $(InputDir)\mk-string-arrays.pl <$(InputPath) >$(InputDir)\string_arrays.c + +# End Custom Build + +!ELSEIF "$(CFG)" == "PerlPreprocessing - Win32 Debug" + +# PROP Intermediate_Dir "." +# PROP Ignore_Default_Tool 1 +# Begin Custom Build +InputDir=\WORK\CYGWIN-SVC-2_5\src +InputPath=..\..\src\enums.h + +"$(InputDir)\string_arrays.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + perl $(InputDir)\mk-string-arrays.pl <$(InputPath) >$(InputDir)\string_arrays.c + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\src\globals.h + +!IF "$(CFG)" == "PerlPreprocessing - Win32 Release" + +# PROP Intermediate_Dir "." +# PROP Ignore_Default_Tool 1 +# Begin Custom Build +InputDir=\WORK\CYGWIN-SVC-2_5\src +InputPath=..\..\src\globals.h + +"$(InputDir)\globals.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + perl $(InputDir)\mk-globals-c.pl <$(InputPath) >$(InputDir)\globals.c + +# End Custom Build + +!ELSEIF "$(CFG)" == "PerlPreprocessing - Win32 Debug" + +# PROP Intermediate_Dir "." +# PROP Ignore_Default_Tool 1 +# Begin Custom Build +InputDir=\WORK\CYGWIN-SVC-2_5\src +InputPath=..\..\src\globals.h + +"$(InputDir)\globals.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + perl $(InputDir)\mk-globals-c.pl <$(InputPath) >$(InputDir)\globals.c + +# End Custom Build + +!ENDIF + +# End Source File +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/auth_modules.cmd Wed Feb 14 00:57:29 2007 @@ -0,0 +1,16 @@ +@echo off +if exist %temp%\auth_modules.txt del %temp%\auth_modules.txt +:loop +echo %1 >> %temp%\auth_modules.txt +shift /1 +if NOT "%1"=="" goto :loop +echo /* automatically generated by %0 %* +echo * do not edit +echo */ +echo #include "squid.h" +for /F %%m in (%temp%\auth_modules.txt) do echo extern AUTHSSETUP authSchemeSetup_%%m; +echo void authSchemeSetup(void) +echo { +for /F %%m in (%temp%\auth_modules.txt) do echo authSchemeAdd("%%m", authSchemeSetup_%%m); +echo } +if exist %temp%\auth_modules.txt del %temp%\auth_modules.txt --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/cf_data.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,112 @@ +# Microsoft Developer Studio Project File - Name="cf_data" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Generic Project" 0x010a + +CFG=cf_data - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "cf_data.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "cf_data.mak" CFG="cf_data - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "cf_data - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE "cf_data - Win32 Debug" (based on "Win32 (x86) Generic Project") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +MTL=midl.exe + +!IF "$(CFG)" == "cf_data - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "." +# PROP Intermediate_Dir "." +# PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "cf_data - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "cf_data___Win32_Debug" +# PROP BASE Intermediate_Dir "cf_data___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "." +# PROP Intermediate_Dir "." +# PROP Target_Dir "" + +!ENDIF + +# Begin Target + +# Name "cf_data - Win32 Release" +# Name "cf_data - Win32 Debug" +# Begin Source File + +SOURCE=..\..\src\cf.data.pre + +!IF "$(CFG)" == "cf_data - Win32 Release" + +# PROP Ignore_Default_Tool 1 +USERDEP__CF_DA="squid_mswin.mak" +# Begin Custom Build +InputDir=\WORK\CYGWIN-SVC-2_5\src +ProjDir=. +InputPath=..\..\src\cf.data.pre + +BuildCmds= \ + nmake /f $(ProjDir)\squid_mswin.mak cf.data \ + nmake /f $(ProjDir)\squid_mswin.mak cf_gen_defines.h \ + + +"$(InputDir)\cf.data" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(InputDir)\cf_gen_defines.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ELSEIF "$(CFG)" == "cf_data - Win32 Debug" + +# PROP Ignore_Default_Tool 1 +USERDEP__CF_DA="squid_mswin.mak" +# Begin Custom Build +InputDir=\WORK\CYGWIN-SVC-2_5\src +ProjDir=. +InputPath=..\..\src\cf.data.pre + +BuildCmds= \ + nmake /f $(ProjDir)\squid_mswin.mak cf.data \ + nmake /f $(ProjDir)\squid_mswin.mak cf_gen_defines.h \ + + +"$(InputDir)\cf.data" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(InputDir)\cf_gen_defines.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ENDIF + +# End Source File +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/modules.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,174 @@ +# Microsoft Developer Studio Project File - Name="modules" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Generic Project" 0x010a + +CFG=modules - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "modules.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "modules.mak" CFG="modules - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "modules - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE "modules - Win32 Debug" (based on "Win32 (x86) Generic Project") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +MTL=midl.exe + +!IF "$(CFG)" == "modules - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "." +# PROP Intermediate_Dir "." +# PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "modules - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "modules___Win32_Debug" +# PROP BASE Intermediate_Dir "modules___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "." +# PROP Intermediate_Dir "." +# PROP Target_Dir "" + +!ENDIF + +# Begin Target + +# Name "modules - Win32 Release" +# Name "modules - Win32 Debug" +# Begin Source File + +SOURCE=.\auth_modules.cmd + +!IF "$(CFG)" == "modules - Win32 Release" + +# PROP Intermediate_Dir "." +# PROP Ignore_Default_Tool 1 +USERDEP__AUTH_="squid_mswin.mak" +# Begin Custom Build +InputDir=. +ProjDir=. +InputPath=.\auth_modules.cmd + +"$(InputDir)\auth_modules.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + nmake /f $(ProjDir)\squid_mswin.mak auth_modules.c + +# End Custom Build + +!ELSEIF "$(CFG)" == "modules - Win32 Debug" + +# PROP Intermediate_Dir "." +# PROP Ignore_Default_Tool 1 +USERDEP__AUTH_="squid_mswin.mak" +# Begin Custom Build +InputDir=. +ProjDir=. +InputPath=.\auth_modules.cmd + +"$(InputDir)\auth_modules.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + nmake /f $(ProjDir)\squid_mswin.mak auth_modules.c + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\repl_modules.cmd + +!IF "$(CFG)" == "modules - Win32 Release" + +# PROP Intermediate_Dir "." +# PROP Ignore_Default_Tool 1 +USERDEP__REPL_="squid_mswin.mak" +# Begin Custom Build +InputDir=. +ProjDir=. +InputPath=.\repl_modules.cmd + +"$(InputDir)\repl_modules.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + nmake /f $(ProjDir)\squid_mswin.mak repl_modules.c + +# End Custom Build + +!ELSEIF "$(CFG)" == "modules - Win32 Debug" + +# PROP Intermediate_Dir "." +# PROP Ignore_Default_Tool 1 +USERDEP__REPL_="squid_mswin.mak" +# Begin Custom Build +InputDir=. +ProjDir=. +InputPath=.\repl_modules.cmd + +"$(InputDir)\repl_modules.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + nmake /f $(ProjDir)\squid_mswin.mak repl_modules.c + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\store_modules.cmd + +!IF "$(CFG)" == "modules - Win32 Release" + +# PROP Intermediate_Dir "." +# PROP Ignore_Default_Tool 1 +USERDEP__STORE="squid_mswin.mak" +# Begin Custom Build +InputDir=. +ProjDir=. +InputPath=.\store_modules.cmd + +"$(InputDir)\store_modules.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + nmake /f $(ProjDir)\squid_mswin.mak store_modules.c + +# End Custom Build + +!ELSEIF "$(CFG)" == "modules - Win32 Debug" + +# PROP Intermediate_Dir "." +# PROP Ignore_Default_Tool 1 +USERDEP__STORE="squid_mswin.mak" +# Begin Custom Build +InputDir=. +ProjDir=. +InputPath=.\store_modules.cmd + +"$(InputDir)\store_modules.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + nmake /f $(ProjDir)\squid_mswin.mak store_modules.c + +# End Custom Build + +!ENDIF + +# End Source File +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/repl_modules.cmd Wed Feb 14 00:57:29 2007 @@ -0,0 +1,16 @@ +@echo off +if exist %temp%\repl_modules.txt del %temp%\repl_modules.txt +:loop +echo %1 >> %temp%\repl_modules.txt +shift /1 +if NOT "%1"=="" goto :loop +echo /* automatically generated by %0 %* +echo * do not edit +echo */ +echo #include "squid.h" +for /F %%m in (%temp%\repl_modules.txt) do echo extern REMOVALPOLICYCREATE createRemovalPolicy_%%m; +echo void storeReplSetup(void) +echo { +for /F %%m in (%temp%\repl_modules.txt) do echo storeReplAdd("%%m", createRemovalPolicy_%%m); +echo } +if exist %temp%\repl_modules.txt del %temp%\repl_modules.txt --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/squid.dsw Wed Feb 14 00:57:29 2007 @@ -0,0 +1,257 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "PerlPreprocessing"=".\PerlPreprocessing.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "cachemgr"=".\cachemgr\cachemgr.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libmiscutil + End Project Dependency +}}} + +############################################################################### + +Project: "cf_data"=".\cf_data.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "cf_gen"=".\cf_gen\cf_gen.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libmiscutil + End Project Dependency +}}} + +############################################################################### + +Project: "libawin32"=".\libawin32\libawin32.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "libbasic"=".\libbasic\libbasic.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "libgnuregex"=".\libgnuregex\libgnuregex.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "liblru"=".\liblru\liblru.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "libmiscutil"=".\libmiscutil\libmiscutil.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "libntlm"=".\libntlm\libntlm.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "libntlmauth"=".\libntlmauth\libntlmauth.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "libsnmp"=".\libsnmp\libsnmp.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "libufs"=".\libufs\libufs.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "modules"=".\modules.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "squid"=".\squid\squid.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libgnuregex + End Project Dependency + Begin Project Dependency + Project_Dep_Name libmiscutil + End Project Dependency + Begin Project Dependency + Project_Dep_Name PerlPreprocessing + End Project Dependency + Begin Project Dependency + Project_Dep_Name libntlmauth + End Project Dependency + Begin Project Dependency + Project_Dep_Name libsnmp + End Project Dependency + Begin Project Dependency + Project_Dep_Name modules + End Project Dependency + Begin Project Dependency + Project_Dep_Name squid_conf_default + End Project Dependency + Begin Project Dependency + Project_Dep_Name cachemgr + End Project Dependency + Begin Project Dependency + Project_Dep_Name libbasic + End Project Dependency + Begin Project Dependency + Project_Dep_Name liblru + End Project Dependency + Begin Project Dependency + Project_Dep_Name libntlm + End Project Dependency + Begin Project Dependency + Project_Dep_Name libufs + End Project Dependency +}}} + +############################################################################### + +Project: "squid_conf_default"=".\squid_conf_default.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name cf_data + End Project Dependency + Begin Project Dependency + Project_Dep_Name cf_gen + End Project Dependency +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/squid_conf_default.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,114 @@ +# Microsoft Developer Studio Project File - Name="squid_conf_default" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Generic Project" 0x010a + +CFG=squid_conf_default - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "squid_conf_default.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "squid_conf_default.mak" CFG="squid_conf_default - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "squid_conf_default - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE "squid_conf_default - Win32 Debug" (based on "Win32 (x86) Generic Project") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +MTL=midl.exe + +!IF "$(CFG)" == "squid_conf_default - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "." +# PROP Intermediate_Dir "." +# PROP Target_Dir "" +# Begin Special Build Tool +SOURCE="$(InputPath)" +PostBuild_Cmds=del ..\..\src\squid.conf.default move squid.conf.default ..\..\src\squid.conf.default del ..\..\src\cf_parser.h move cf_parser.h ..\..\src\cf_parser.h +# End Special Build Tool + +!ELSEIF "$(CFG)" == "squid_conf_default - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "squid_conf_default___Win32_Debug" +# PROP BASE Intermediate_Dir "squid_conf_default___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "." +# PROP Intermediate_Dir "." +# PROP Target_Dir "" +# Begin Special Build Tool +SOURCE="$(InputPath)" +PostBuild_Cmds=del ..\..\src\squid.conf.default move squid.conf.default ..\..\src\squid.conf.default del ..\..\src\cf_parser.h move cf_parser.h ..\..\src\cf_parser.h +# End Special Build Tool + +!ENDIF + +# Begin Target + +# Name "squid_conf_default - Win32 Release" +# Name "squid_conf_default - Win32 Debug" +# Begin Source File + +SOURCE=..\..\src\cf.data + +!IF "$(CFG)" == "squid_conf_default - Win32 Release" + +# PROP Ignore_Default_Tool 1 +# Begin Custom Build +InputDir=\WORK\CYGWIN-SVC-2_5\src +ProjDir=. +InputPath=..\..\src\cf.data + +BuildCmds= \ + $(ProjDir)\cf_gen\Release\cf_gen $(InputPath) + +"$(InputDir)\squid.conf" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(InputDir)\cf_parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ELSEIF "$(CFG)" == "squid_conf_default - Win32 Debug" + +# PROP Ignore_Default_Tool 1 +# Begin Custom Build +InputDir=\WORK\CYGWIN-SVC-2_5\src +ProjDir=. +InputPath=..\..\src\cf.data + +BuildCmds= \ + $(ProjDir)\cf_gen\debug\cf_gen $(InputPath) + +"$(InputDir)\squid.conf" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) + +"$(InputDir)\cf_parser.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + $(BuildCmds) +# End Custom Build + +!ENDIF + +# End Source File +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/squid_mswin.mak Wed Feb 14 00:57:29 2007 @@ -0,0 +1,75 @@ +THISMAKEFILE = squid_mswin.mak + +prefix = c:/squid +exec_prefix = $(prefix) +exec_suffix = .exe +cgi_suffix = .cgi +top_srcdir = .. +bindir = $(exec_prefix) +libexecdir = $(bindir) +sysconfdir = $(prefix)/etc +localstatedir = $(prefix)/var +srcdir = ..\..\src + +# Gotta love the DOS legacy +# +SQUID_EXE = squid$(exec_suffix) +CLIENT_EXE = client$(exec_suffix) +DNSSERVER_EXE = dnsserver$(exec_suffix) +UNLINKD_EXE = unlinkd$(exec_suffix) +PINGER_EXE = pinger$(exec_suffix) +CACHEMGR_EXE = cachemgr$(cgi_suffix) +DISKD_EXE = diskd$(exec_suffix) + +DEFAULT_PREFIX = $(prefix) +DEFAULT_CONFIG_FILE = $(sysconfdir)/squid.conf +DEFAULT_MIME_TABLE = $(sysconfdir)/mime.conf +DEFAULT_DNSSERVER = $(libexecdir)/$(DNSSERVER_EXE) +DEFAULT_LOG_PREFIX = $(localstatedir)/logs +DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log +DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log +DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log +DEFAULT_PID_FILE = $(DEFAULT_LOG_PREFIX)/squid.pid +DEFAULT_SWAP_DIR = $(localstatedir)/cache +DEFAULT_PINGER = $(libexecdir)/$(PINGER_EXE) +DEFAULT_UNLINKD = $(libexecdir)/$(UNLINKD_EXE) +DEFAULT_DISKD = $(libexecdir)/$(DISKD_EXE) +DEFAULT_ICON_DIR = $(sysconfdir)/icons +DEFAULT_ERROR_DIR = $(sysconfdir)/errors +DEFAULT_MIB_PATH = $(sysconfdir)/mib.txt + +AUTH_MODULES = basic ntlm +REPL_POLICIES = lru +STORE_MODULES = ufs + +cf_gen_defines.h: $(srcdir)\cf_gen_defines $(srcdir)\cf.data.pre + gawk -f $(srcdir)\cf_gen_defines <$(srcdir)\cf.data.pre >$(srcdir)\cf_gen_defines.h + +cf.data: $(srcdir)\cf.data.pre .\$(THISMAKEFILE) + sed "\ + s%@DEFAULT_MIME_TABLE@%$(DEFAULT_MIME_TABLE)%g;\ + s%@DEFAULT_DNSSERVER@%$(DEFAULT_DNSSERVER)%g;\ + s%@DEFAULT_UNLINKD@%$(DEFAULT_UNLINKD)%g;\ + s%@DEFAULT_PINGER@%$(DEFAULT_PINGER)%g;\ + s%@DEFAULT_DISKD@%$(DEFAULT_DISKD)%g;\ + s%@DEFAULT_CACHE_LOG@%$(DEFAULT_CACHE_LOG)%g;\ + s%@DEFAULT_ACCESS_LOG@%$(DEFAULT_ACCESS_LOG)%g;\ + s%@DEFAULT_STORE_LOG@%$(DEFAULT_STORE_LOG)%g;\ + s%@DEFAULT_PID_FILE@%$(DEFAULT_PID_FILE)%g;\ + s%@DEFAULT_SWAP_DIR@%$(DEFAULT_SWAP_DIR)%g;\ + s%@DEFAULT_ICON_DIR@%$(DEFAULT_ICON_DIR)%g;\ + s%@DEFAULT_MIB_PATH@%$(DEFAULT_MIB_PATH)%g;\ + s%@DEFAULT_ERROR_DIR@%$(DEFAULT_ERROR_DIR)%g;\ + s%@DEFAULT_PREFIX@%$(DEFAULT_PREFIX)%g;"\ + < $(srcdir)\cf.data.pre >$(srcdir)\cf.data + +auth_modules.c: .\auth_modules.cmd .\$(THISMAKEFILE) + .\auth_modules.cmd $(AUTH_MODULES) >$(srcdir)\auth_modules.c + +repl_modules.c: .\repl_modules.cmd .\$(THISMAKEFILE) + .\repl_modules.cmd $(REPL_POLICIES) >$(srcdir)\repl_modules.c + +store_modules.c: .\store_modules.cmd .\$(THISMAKEFILE) + .\store_modules.cmd $(STORE_MODULES) >$(srcdir)\store_modules.c + + --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/store_modules.cmd Wed Feb 14 00:57:29 2007 @@ -0,0 +1,16 @@ +@echo off +if exist %temp%\store_modules.txt del %temp%\store_modules.txt +:loop +echo %1 >> %temp%\store_modules.txt +shift /1 +if NOT "%1"=="" goto :loop +echo /* automatically generated by %0 %* +echo * do not edit +echo */ +echo #include "squid.h" +for /F %%m in (%temp%\store_modules.txt) do echo extern STSETUP storeFsSetup_%%m; +echo void storeFsSetup(void) +echo { +for /F %%m in (%temp%\store_modules.txt) do echo storeFsAdd("%%m", storeFsSetup_%%m); +echo } +if exist %temp%\store_modules.txt del %temp%\store_modules.txt --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/cachemgr/cachemgr.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,110 @@ +# Microsoft Developer Studio Project File - Name="cachemgr" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=cachemgr - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "cachemgr.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "cachemgr.mak" CFG="cachemgr - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "cachemgr - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "cachemgr - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "cachemgr - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /G6 /MT /W3 /GX /O2 /I "../../src" /I "../../../include" /I "../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0x410 /d "NDEBUG" +# ADD RSC /l 0x410 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 ws2_32.lib /nologo /subsystem:console /machine:I386 + +!ELSEIF "$(CFG)" == "cachemgr - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /G6 /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x410 /d "_DEBUG" +# ADD RSC /l 0x410 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "cachemgr - Win32 Release" +# Name "cachemgr - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\..\src\cachemgr.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\..\include\snprintf.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\util.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/cf_gen/cf_gen.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,110 @@ +# Microsoft Developer Studio Project File - Name="cf_gen" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=cf_gen - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "cf_gen.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "cf_gen.mak" CFG="cf_gen - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "cf_gen - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "cf_gen - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "cf_gen - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /G6 /MT /W3 /GX /O2 /I "../../include" /I "../" /I "../../src../include" /I "../../../include" /I "../../" /I "../../src" /I "../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0x410 /d "NDEBUG" +# ADD RSC /l 0x410 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 /nologo /subsystem:console /machine:I386 + +!ELSEIF "$(CFG)" == "cf_gen - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /G6 /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../" /I "../../src" /I "../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x410 /d "_DEBUG" +# ADD RSC /l 0x410 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "cf_gen - Win32 Release" +# Name "cf_gen - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\..\src\cf_gen.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\..\src\cf_gen_defines.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\config.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/include/READDIR.H Wed Feb 14 00:57:29 2007 @@ -0,0 +1,34 @@ +/* + * Structures and types used to implement opendir/readdir/closedir + * on Windows 95/NT. +*/ + +#include +//#include +#include +#include +#define off_t _off_t + + +/* struct dirent - same as Unix */ +struct dirent { + long d_ino; /* inode (always 1 in WIN32) */ + off_t d_off; /* offset to this dirent */ + unsigned short d_reclen; /* length of d_name */ + char d_name[_MAX_FNAME+1]; /* filename (null terminated) */ +}; + +/* typedef DIR - not the same as Unix */ +typedef struct { + long handle; /* _findfirst/_findnext handle */ + short offset; /* offset into directory */ + short finished; /* 1 if there are not more files */ + struct _finddata_t fileinfo; /* from _findfirst/_findnext */ + char *dir; /* the dir we are reading */ + struct dirent dent; /* the dirent to return */ +} DIR; + +/* Function prototypes */ +DIR * opendir(const char *); +struct dirent * readdir(DIR *); +int closedir(DIR *); --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/include/crypt.h Wed Feb 14 00:57:29 2007 @@ -0,0 +1,45 @@ +/* encrypt.h - API to 56 bit DES encryption via calls + encrypt(3), setkey(3) and crypt(3) + Copyright (C) 1991 Jochen Obalek + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifndef _ENCRYPT_H_ +#define _ENCRYPT_H_ + +#ifdef __cplusplus +extern "C" +{ +#endif + + +#ifdef WIN32 +void encrypt(char *block, int edflag); +void setkey(char *key); +char * crypt(const char *key, const char *salt); + +#else +#include <_ansi.h> + +void _EXFUN(encrypt, (char *block, int edflag)); +void _EXFUN(setkey, (char *key)); +char * _EXFUN(crypt, (const char *key, const char *salt)); +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* _ENCRYPT_H_ */ --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/include/getopt.h Wed Feb 14 00:57:29 2007 @@ -0,0 +1,73 @@ +/* ==================================================================== + * The Apache Software License, Version 1.1 + * + * Copyright (c) 2000 The Apache Software Foundation. All rights + * reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. The end-user documentation included with the redistribution, + * if any, must include the following acknowledgment: + * "This product includes software developed by the + * Apache Software Foundation (http://www.apache.org/)." + * Alternately, this acknowledgment may appear in the software itself, + * if and wherever such third-party acknowledgments normally appear. + * + * 4. The names "Apache" and "Apache Software Foundation" must + * not be used to endorse or promote products derived from this + * software without prior written permission. For written + * permission, please contact apache@apache.org. + * + * 5. Products derived from this software may not be called "Apache", + * nor may "Apache" appear in their name, without prior written + * permission of the Apache Software Foundation. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * ==================================================================== + * + * This software consists of voluntary contributions made by many + * individuals on behalf of the Apache Software Foundation. For more + * information on the Apache Software Foundation, please see + * . + * + * Portions of this software are based upon public domain software + * originally written at the National Center for Supercomputing Applications, + * University of Illinois, Urbana-Champaign. + */ + +#ifndef GETOPT_H +#define GETOPT_H + +#ifdef WIN32 + +extern char *optarg; +extern int optreset; +extern int optind; +extern int opterr; +extern int optopt; +int getopt(int argc, char* const *argv, const char *optstr); + +#endif /* WIN32 */ + +#endif /* GETOPT_H */ --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/include/win32-autoconf.h Wed Feb 14 00:57:29 2007 @@ -0,0 +1,942 @@ +/* include/autoconf.h. Generated automatically by configure. */ +/* include/autoconf.h.in. Generated automatically from configure.in by autoheader. */ +/* + * All configurable options are enabled by using --enable-.... + * when running configure. See configure --help for a list + * of all available options. + * + * You are free to edit this file, but it will be overwritten + * each time you run configure. You may need to edit this file + * if configure falsely picks up a library function or structure + * that doesn't really work on your system. + * + * Another way to block a function that should not be detected + * is to + * setenv ac_cv_func_ no + * before running configure, as in + * setenv ac_cv_func_setresuid no + * + * It is possible to enable some of the configurable options + * by editing this file alone, but some of them requires changes + * in the Makefiles, wich is done automatically by configure. + * + */ + +/* $Id: win32-autoconf.h,v 1.1.2.1 2002/03/16 17:54:33 serassio Exp $ */ + +/* + * configure command line used to configure Squid + */ + +#undef SQUID_CONFIGURE_OPTIONS +#define SQUID_CONFIGURE_OPTIONS "--disable-wccp --enable-underscores --enable-snmp --enable-win32-service --enable-useragent-log '--enable-auth=basic ntlm' --enable-basic-auth-helpers=win32_locallogon --enable-ntlm-auth-helpers=NTLMSSP --prefix=c:/squid --enable-delay-pools" + +/********************************* + * START OF CONFIGURABLE OPTIONS * + *********************************/ +/* + * If you are upset that the cachemgr.cgi form comes up with the hostname + * field blank, then define this to getfullhostname() + */ +#undef CACHEMGR_HOSTNAME + +/* + * What default TCP port to use for HTTP listening? + */ +#ifndef CACHE_HTTP_PORT +#define CACHE_HTTP_PORT 3128 +#endif + +/* + * What default UDP port to use for ICP listening? + */ +#ifndef CACHE_ICP_PORT +#define CACHE_ICP_PORT 3130 +#endif + +/* Define to do simple malloc debugging */ +#undef XMALLOC_DEBUG + +/* Define for log file trace of mem alloc/free */ +#undef MEM_GEN_TRACE + +/* Define to have malloc statistics */ +#undef XMALLOC_STATISTICS + +/* Define to have a detailed trace of memory allocations */ +#undef XMALLOC_TRACE + +#undef FORW_VIA_DB + +/* Defines how many threads aufs uses for I/O */ +#undef AUFS_IO_THREADS +#define AUFS_IO_THREADS 16 + +/* + * If you want to use Squid's ICMP features (highly recommended!) then + * define this. When USE_ICMP is defined, Squid will send ICMP pings + * to origin server sites. This information is used in numerous ways: + * - Sent in ICP replies so neighbor caches know how close + * you are to the source. + * - For finding the closest instance of a URN. + * - With the 'test_reachability' option. Squid will return + * ICP_OP_MISS_NOFETCH for sites which it cannot ping. + */ +#undef USE_ICMP + +/* + * Traffic management via "delay pools". + */ +#undef DELAY_POOLS +#define DELAY_POOLS 1 + +/* + * If you want to log User-Agent request header values, define this. + * By default, they are written to useragent.log in the Squid log + * directory. + */ +#undef USE_USERAGENT_LOG +#define USE_USERAGENT_LOG 1 + +/* + * If you want to log Referer request header values, define this. + * By default, they are written to referer.log in the Squid log + * directory. + */ +#undef USE_REFERER_LOG + +/* + * A dangerous feature which causes Squid to kill its parent process + * (presumably the RunCache script) upon receipt of SIGTERM or SIGINT. + * Use with caution. + */ +#undef KILL_PARENT_OPT + +/* Define to enable SNMP monitoring of Squid */ +#undef SQUID_SNMP +#define SQUID_SNMP 1 + +/* + * Define to enable WCCP + */ +#undef USE_WCCP +#define USE_WCCP 0 + +/* + * Squid frequently calls gettimeofday() for accurate timestamping. + * If you are concerned that gettimeofday() is called too often, and + * could be causing performance degradation, then you can define + * ALARM_UPDATES_TIME and cause Squid's clock to be updated at regular + * intervals (one second) with ALARM signals. + */ +#undef ALARM_UPDATES_TIME + +/* + * Define this to include code which lets you specify access control + * elements based on ethernet hardware addresses. This code uses + * functions found in 4.4 BSD derviations (e.g. FreeBSD, ?). + */ +#undef USE_ARP_ACL + +/* + * Define this to include code for the Hypertext Cache Protocol (HTCP) + */ +#undef USE_HTCP +#define USE_HTCP 1 + +/* + * Use Cache Digests for locating objects in neighbor caches. This + * code is still semi-experimental. + */ +#undef USE_CACHE_DIGESTS + +/* + * Cache Array Routing Protocol + */ +#undef USE_CARP + +/* Define if NTLM is allowed to fail gracefully when a helper has problems */ +#undef NTLM_FAIL_OPEN + +/* + * Define Windows NT & Windows 2000 run service mode + */ +#define USE_WIN32_SERVICE 1 + +/******************************** + * END OF CONFIGURABLE OPTIONS * + ********************************/ + +/* Define if struct tm has tm_gmtoff member */ +#undef HAVE_TM_GMTOFF + +/* Define if struct mallinfo has mxfast member */ +#undef HAVE_EXT_MALLINFO + +/* Default FD_SETSIZE value */ +#undef DEFAULT_FD_SETSIZE +#define DEFAULT_FD_SETSIZE 64 + +/* Maximum number of open filedescriptors */ +#undef SQUID_MAXFD +#define SQUID_MAXFD 8192 + +/* UDP send buffer size */ +#undef SQUID_UDP_SO_SNDBUF +#define SQUID_UDP_SO_SNDBUF 8192 + +/* UDP receive buffer size */ +#undef SQUID_UDP_SO_RCVBUF +#define SQUID_UDP_SO_RCVBUF 8192 + +/* TCP send buffer size */ +#undef SQUID_TCP_SO_SNDBUF +#define SQUID_TCP_SO_SNDBUF 8192 + +/* TCP receive buffer size */ +#undef SQUID_TCP_SO_RCVBUF +#define SQUID_TCP_SO_RCVBUF 8192 + +/* Host type from configure */ +#undef CONFIG_HOST_TYPE +#define CONFIG_HOST_TYPE "i686-pc-winnt" + +/* If we need to declare sys_errlist[] as external */ +#undef NEED_SYS_ERRLIST + +/* If gettimeofday is known to take only one argument */ +#undef GETTIMEOFDAY_NO_TZP + +/* If libresolv.a has been hacked to export _dns_ttl_ */ +#undef LIBRESOLV_DNS_TTL_HACK + +/* Define if struct ip has ip_hl member */ +#undef HAVE_IP_HL + +/* Define if your compiler supports prototyping */ +#undef HAVE_ANSI_PROTOTYPES + +/* Define if we should use GNU regex */ +#undef USE_GNUREGEX +#define USE_GNUREGEX 1 + +/* signed size_t, grr */ +#undef ssize_t +#define ssize_t int + +/* + * Yay! Another Linux brokenness. Its not good enough to know that + * setresuid() exists, because RedHat 5.0 declare setresuid() but + * doesn't implement it. + */ +#undef HAVE_SETRESUID + +/* Define if you have struct rusage */ +#define HAVE_STRUCT_RUSAGE 1 + +/* Define if you have PSAPI.DLL on Windows systems */ +#undef HAVE_WIN32_PSAPI +#define HAVE_WIN32_PSAPI 1 + +/* + * This makes warnings go away. If you have socklen_t defined in your + * /usr/include files, then this should remain undef'd. Otherwise it + * should be defined to int. + */ +#undef socklen_t +#define socklen_t int + +/* + * By default (for now anyway) Squid includes options which allows + * the cache administrator to violate the HTTP protocol specification + * in terms of cache behaviour. Setting this to '0' will disable + * such code. + */ +#define HTTP_VIOLATIONS 1 + +/* + * Enable support for Transparent Proxy on systems using IP-Filter + * address redirection. This provides "masquerading" support for non + * Linux system. + */ +#undef IPF_TRANSPARENT + +/* + * Enable code for assiting in finding memory leaks. Hacker stuff only. + */ +#undef USE_LEAKFINDER + +/* + * type of fd_set array + */ +#undef fd_mask +#define fd_mask int + +/* + * If _res structure has nsaddr_list member + */ +#undef HAVE_RES_NSADDR_LIST + +/* + * If _res structure has ns_list member + */ +#undef HAVE_RES_NS_LIST + +/* + * Compile in support for Ident (RFC 931) lookups? Enabled by default. + */ +#undef USE_IDENT +#define USE_IDENT 1 + +/* + * If your system has statvfs(), and if it actually works! + */ +#undef HAVE_STATVFS + +/* + * If --disable-internal-dns was given to configure, then we'll use + * the dnsserver processes instead. + */ +#undef USE_DNSSERVERS + +/* + * we check for the existance of struct mallinfo + */ +#undef HAVE_STRUCT_MALLINFO + +/* + * Do we want to use truncate(2) or unlink(2)? + */ +#undef USE_TRUNCATE + +/* + * Allow underscores in host names + */ +#undef ALLOW_HOSTNAME_UNDERSCORES +#define ALLOW_HOSTNAME_UNDERSCORES 1 + +/* + * Use the heap-based replacement techniques + */ +#undef HEAP_REPLACEMENT + +/* + * message type for message queues + */ +#define mtyp_t long + +/* + * Define this to include code for SSL encryption. + */ +#undef USE_SSL + +/* + * Define this to make use of the OpenSSL libraries for + * MD5 calculation rather than Squid's own MD5 implementation + * or if building with SSL encryption (USE_SSL) + */ +#undef USE_OPENSSL + +/* Define if you want to set the COSS membuf size */ +#undef COSS_MEMBUF_SZ + +/* Print stacktraces on fatal errors */ +#undef PRINT_STACK_TRACE + +/* + * Define this if unlinkd is required + * (strongly recommended for ufs storage type) + */ +#undef USE_UNLINKD + +/* + * Enable support for Transparent Proxy on Linux 2.4 systems + */ +#undef LINUX_NETFILTER + +/* + * Do we have unix sockets? (required for the winbind ntlm helper + */ +#define HAVE_UNIXSOCKET 1 + +/* + * Known-size intgers + */ + +#undef int16_t +typedef short int16_t; + +#undef u_int16_t +typedef unsigned short u_int16_t; + +#undef int32_t +typedef int int32_t; + +#undef u_int32_t +typedef unsigned int u_int32_t; + +#undef int64_t +typedef __int64 int64_t; + +#undef u_int64_t +typedef unsigned __int64 u_int64_t; +/* + * Enable support for the X-Accelerator-Vary HTTP header + */ +#undef X_ACCELERATOR_VARY + + +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +#undef CRAY_STACKSEG_END + +/* Define if using `alloca.c'. */ +#undef C_ALLOCA + +/* Define if you have `alloca', as a function or macro. */ +#undef HAVE_ALLOCA +#define HAVE_ALLOCA 1 + +/* Define if you have and it should be used (not on Ultrix). */ +#undef HAVE_ALLOCA_H + +/* Define if you have the header file. */ +#undef HAVE_ARPA_INET_H + +/* Define if you have the header file. */ +#undef HAVE_ARPA_NAMESER_H + +/* Define if you have the header file. */ +#define HAVE_ASSERT_H 1 + +/* Define if you have the `backtrace_symbols_fd' function. */ +#undef HAVE_BACKTRACE_SYMBOLS_FD + +/* Define if you have the `bcopy' function. */ +#undef HAVE_BCOPY + +/* Define if you have the header file. */ +#undef HAVE_BSTRING_H + +/* Define if you have the `bswap_16' function. */ +#undef HAVE_BSWAP_16 + +/* Define if you have the `bswap_32' function. */ +#undef HAVE_BSWAP_32 + +/* Define if you have the header file. */ +#undef HAVE_BYTESWAP_H + +/* Define if you have the `crypt' function. */ +#undef HAVE_CRYPT +#define HAVE_CRYPT 1 + +/* Define if you have the header file. */ +#undef HAVE_CRYPT_H +#define HAVE_CRYPT_H 1 + +/* Define if you have the header file. */ +#undef HAVE_CTYPE_H +#define HAVE_CTYPE_H 1 + +/* Define if you have the header file, and it defines `DIR'. */ +#undef HAVE_DIRENT_H +#define HAVE_DIRENT_H 1 + +/* Define if you have the `drand48' function. */ +#undef HAVE_DRAND48 + +/* Define if you have the header file. */ +#undef HAVE_ERRNO_H +#define HAVE_ERRNO_H 1 + +/* Define if you have the header file. */ +#undef HAVE_EXECINFO_H + +/* Define if you have the `fchmod' function. */ +#undef HAVE_FCHMOD + +/* Define if you have the header file. */ +#undef HAVE_FCNTL_H +#define HAVE_FCNTL_H 1 + +/* Define if you have the `getdtablesize' function. */ +#define HAVE_GETDTABLESIZE 1 + +/* Define if you have the header file. */ +#undef HAVE_GETOPT_H +#define HAVE_GETOPT_H 1 + +/* Define if you have the `getpagesize' function. */ +#undef HAVE_GETPAGESIZE + +/* Define if you have the `getrlimit' function. */ +#define HAVE_GETRLIMIT 1 + +/* Define if you have the `getrusage' function. */ +#undef HAVE_GETRUSAGE +#define HAVE_GETRUSAGE 1 + +/* Define if you have the `getspnam' function. */ +#undef HAVE_GETSPNAM + +/* Define if you have the header file. */ +#undef HAVE_GLIB_H + +/* Define if you have the header file. */ +#undef HAVE_GNUMALLOC_H + +/* Define if you have the header file. */ +#undef HAVE_GRP_H + +/* Define if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define if you have the header file. */ +#undef HAVE_IP_COMPAT_H + +/* Define if you have the header file. */ +#undef HAVE_IP_FIL_COMPAT_H + +/* Define if you have the header file. */ +#undef HAVE_IP_FIL_H + +/* Define if you have the header file. */ +#undef HAVE_IP_NAT_H + +/* Define if you have the `44bsd' library (-l44bsd). */ +#undef HAVE_LIB44BSD + +/* Define if you have the `bind' library (-lbind). */ +#undef HAVE_LIBBIND + +/* Define if you have the `bsd' library (-lbsd). */ +#undef HAVE_LIBBSD + +/* Define if you have the header file. */ +#undef HAVE_LIBC_H + +/* Define if you have the `gnumalloc' library (-lgnumalloc). */ +#undef HAVE_LIBGNUMALLOC + +/* Define if you have the `intl' library (-lintl). */ +#undef HAVE_LIBINTL + +/* Define if you have the `m' library (-lm). */ +#undef HAVE_LIBM + +/* Define if you have the `malloc' library (-lmalloc). */ +#undef HAVE_LIBMALLOC + +/* Define if you have the `nsl' library (-lnsl). */ +#undef HAVE_LIBNSL + +/* Define if you have the `resolv' library (-lresolv). */ +#undef HAVE_LIBRESOLV + +/* Define if you have the `socket' library (-lsocket). */ +#undef HAVE_LIBSOCKET + +/* Define if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define if you have the header file. */ +#undef HAVE_LINUX_NETFILTER_IPV4_H + +/* Define if you have the `lrand48' function. */ +#undef HAVE_LRAND48 + +/* Define if you have the `mallinfo' function. */ +/* #undef HAVE_MALLINFO */ + +/* Define if you have the `mallocblksize' function. */ +/* #undef HAVE_MALLOCBLKSIZE */ + +/* Define if you have the header file. */ +#undef HAVE_MALLOC_H +#define HAVE_MALLOC_H 1 + +/* Define if you have the `mallopt' function. */ +#undef HAVE_MALLOPT + +/* Define if you have the header file. */ +#undef HAVE_MATH_H +#define HAVE_MATH_H 1 + +/* Define if you have the `memcpy' function. */ +#undef HAVE_MEMCPY +#define HAVE_MEMCPY 1 + +/* Define if you have the `memmove' function. */ +#undef HAVE_MEMMOVE +#define HAVE_MEMMOVE 1 + +/* Define if you have the header file. */ +#undef HAVE_MEMORY_H +#define HAVE_MEMORY_H 1 + +/* Define if you have the `memset' function. */ +#define HAVE_MEMSET 1 + +/* Define if you have the `mkstemp' function. */ +#undef HAVE_MKSTEMP + +/* Define if you have the `mktime' function. */ +#define HAVE_MKTIME 1 + +/* Define if you have the header file. */ +#undef HAVE_MOUNT_H + +/* Define if you have the `mstats' function. */ +#undef HAVE_MSTATS + +/* Define if you have the header file, and it defines `DIR'. */ +#undef HAVE_NDIR_H + +/* Define if you have the header file. */ +#undef HAVE_NETDB_H + +/* Define if you have the header file. */ +#undef HAVE_NETINET_IF_ETHER_H + +/* Define if you have the header file. */ +#undef HAVE_NETINET_IN_H + +/* Define if you have the header file. */ +#undef HAVE_NETINET_IP_COMPAT_H + +/* Define if you have the header file. */ +#undef HAVE_NETINET_IP_FIL_COMPAT_H + +/* Define if you have the header file. */ +#undef HAVE_NETINET_IP_FIL_H + +/* Define if you have the header file. */ +#undef HAVE_NETINET_IP_NAT_H + +/* Define if you have the header file. */ +#undef HAVE_NETINET_TCP_H + +/* Define if you have the header file. */ +#undef HAVE_NET_IF_H + +/* Define if you have the header file. */ +#undef HAVE_NSS_COMMON_H + +/* Define if you have the header file. */ +#undef HAVE_NSS_H + +/* Define if you have the header file. */ +#undef HAVE_OPENSSL_ERR_H + +/* Define if you have the header file. */ +#undef HAVE_OPENSSL_MD5_H + +/* Define if you have the header file. */ +#undef HAVE_OPENSSL_SSL_H + +/* Define if you have the `poll' function. */ +#undef HAVE_POLL + +/* Define if you have the header file. */ +#undef HAVE_POLL_H + +/* Define if you have the `pthread_attr_setschedparam' function. */ +#define HAVE_PTHREAD_ATTR_SETSCHEDPARAM 1 + +/* Define if you have the `pthread_attr_setscope' function. */ +#define HAVE_PTHREAD_ATTR_SETSCOPE 1 + +/* Define if you have the `pthread_setschedparam' function. */ +#define HAVE_PTHREAD_SETSCHEDPARAM 1 + +/* Define if you have the `pthread_sigmask' function. */ +#define HAVE_PTHREAD_SIGMASK 1 + +/* Define if you have the `putenv' function. */ +#define HAVE_PUTENV 1 + +/* Define if you have the header file. */ +#undef HAVE_PWD_H + +/* Define if you have the `random' function. */ +#undef HAVE_RANDOM + +/* Define if you have the `regcomp' function. */ +#define HAVE_REGCOMP 1 + +/* Define if you have the `regexec' function. */ +#define HAVE_REGEXEC 1 + +/* Define if you have the header file. */ +#undef HAVE_REGEX_H + +/* Define if you have the `regfree' function. */ +#define HAVE_REGFREE 1 + +/* Define if you have the header file. */ +#undef HAVE_RESOLV_H + +/* Define if you have the `res_init' function. */ +#undef HAVE_RES_INIT + +/* Define if you have the `rint' function. */ +#undef HAVE_RINT + +/* Define if you have the header file. */ +#undef HAVE_SCHED_H + +/* Define if you have the `seteuid' function. */ +#undef HAVE_SETEUID + +/* Define if you have the `setgroups' function. */ +#undef HAVE_SETGROUPS + +/* Define if you have the `setpgrp' function. */ +#define HAVE_SETPGRP 1 + +/* Define if you have the `setrlimit' function. */ +#undef HAVE_SETRLIMIT + +/* Define if you have the `setsid' function. */ +#define HAVE_SETSID 1 + +/* Define if you have the `sigaction' function. */ +#undef HAVE_SIGACTION + +/* Define if you have the header file. */ +#undef HAVE_SIGNAL_H +#define HAVE_SIGNAL_H 1 + +/* Define if you have the `snprintf' function. */ +#define HAVE_SNPRINTF 1 + +/* Define if you have the `srand48' function. */ +#define HAVE_SRAND48 1 + +/* Define if you have the `srandom' function. */ +#undef HAVE_SRANDOM + +/* Define if you have the `statfs' function. */ +#define HAVE_STATFS 1 + +/* Define if you have the header file. */ +#define HAVE_STDARG_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDDEF_H 1 + +/* Define if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define if you have the header file. */ +#define HAVE_STDIO_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the `strerror' function. */ +#define HAVE_STRERROR 1 + +/* Define if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#undef HAVE_SYSCALL_H + +/* Define if you have the `sysconf' function. */ +#define HAVE_SYSCONF 1 + +/* Define if you have the `syslog' function. */ +#undef HAVE_SYSLOG + +/* Define if you have the header file. */ +#undef HAVE_SYSLOG_H + +/* Define if you have the header file, and it defines `DIR'. */ +#undef HAVE_SYS_DIR_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_FILE_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_IOCTL_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_MOUNT_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_MSG_H + +/* Define if you have the header file, and it defines `DIR'. */ +#undef HAVE_SYS_NDIR_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_PARAM_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_RESOURCE_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_SELECT_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_SOCKET_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_STATVFS_H + +/* Define if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define if you have the header file. */ +#undef HAVE_SYS_SYSCALL_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_TIME_H + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +#undef HAVE_SYS_UN_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_VFS_H + +/* Define if you have the header file. */ +#undef HAVE_SYS_WAIT_H + +/* Define if you have the `tempnam' function. */ +#define HAVE_TEMPNAM 1 + +/* Define if you have the `timegm' function. */ +#undef HAVE_TIMEGM + +/* Define if you have the header file. */ +#undef HAVE_TIME_H +#define HAVE_TIME_H 1 + +/* Define if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define if you have the header file. */ +#undef HAVE_UTIME_H + +/* Define if you have the header file. */ +#undef HAVE_VARARGS_H +#define HAVE_VARARGS_H 1 + +/* Define if you have the `vsnprintf' function. */ +#define HAVE_VSNPRINTF 1 + +/* Define if your C compiler doesn't accept -c and -o together. */ +/* #undef NO_MINUS_C_MINUS_O */ + +/* Name of package */ +#define PACKAGE "squid" + +/* The size of a `int', as computed by sizeof. */ +#define SIZEOF_INT 4 + +/* The size of a `int16_t', as computed by sizeof. */ +#define SIZEOF_INT16_T 2 + +/* The size of a `int32_t', as computed by sizeof. */ +#define SIZEOF_INT32_T 4 + +/* The size of a `int64_t', as computed by sizeof. */ +#define SIZEOF_INT64_T 8 + +/* The size of a `long', as computed by sizeof. */ +#define SIZEOF_LONG 4 + +/* The size of a `long long', as computed by sizeof. */ +#define SIZEOF_LONG_LONG 8 + +/* The size of a `short', as computed by sizeof. */ +#define SIZEOF_SHORT 2 + +/* The size of a `uint16_t', as computed by sizeof. */ +#define SIZEOF_UINT16_T 0 + +/* The size of a `uint32_t', as computed by sizeof. */ +#define SIZEOF_UINT32_T 0 + +/* The size of a `uint64_t', as computed by sizeof. */ +#define SIZEOF_UINT64_T 0 + +/* The size of a `u_int16_t', as computed by sizeof. */ +#define SIZEOF_U_INT16_T 2 + +/* The size of a `u_int32_t', as computed by sizeof. */ +#define SIZEOF_U_INT32_T 4 + +/* The size of a `u_int64_t', as computed by sizeof. */ +#define SIZEOF_U_INT64_T 8 + +/* The size of a `void *', as computed by sizeof. */ +#define SIZEOF_VOID_P 4 + +/* The size of a `__int64', as computed by sizeof. */ +#define SIZEOF___INT64 0 + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at run-time. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +/* #undef STACK_DIRECTION */ + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Version number of package */ +#define VERSION "2.5.PRE4-CVS" + +/* Define if your processor stores words with the most significant byte first + (like Motorola and SPARC, unlike Intel and VAX). */ +/* #undef WORDS_BIGENDIAN */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define to `int' if does not define. */ +/* #undef fd_mask */ + +/* Define to `int' if does not define. */ +/* #undef int16_t */ + +/* Define to `long' if does not define. */ +/* #undef int32_t */ + +/* Define to `unsigned __int64' if does not define. */ +/* #undef int64_t */ + +/* Define to `int' if does not define. */ +/* #undef off_t */ + +/* Define to `int' if does not define. */ +#undef pid_t +#define pid_t long + +/* Define to `unsigned int' if does not define. */ +/* #undef size_t */ + +/* Define to `int' if does not define. */ +/* #undef ssize_t */ + +/* Define to `unsigned int' if does not define. */ +/* #undef u_int16_t */ + +/* Define to `unsigned long' if does not define. */ +/* #undef u_int32_t */ + +/* Define to `unsigned long long' if does not define. */ +/* #undef u_int64_t */ + --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/libawin32/libawin32.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,112 @@ +# Microsoft Developer Studio Project File - Name="libawin32" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=libawin32 - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libawin32.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libawin32.mak" CFG="libawin32 - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libawin32 - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "libawin32 - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libawin32 - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /G6 /MT /W3 /GX /O2 /I "../../../include" /I "../../../src" /I "../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x410 /d "NDEBUG" +# ADD RSC /l 0x410 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "libawin32 - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /G6 /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../src" /I "../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x410 /d "_DEBUG" +# ADD RSC /l 0x410 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "libawin32 - Win32 Release" +# Name "libawin32 - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\..\src\fs\awin32\aiops.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\src\fs\awin32\async_io.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\src\fs\awin32\store_dir_aufs.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\src\fs\awin32\store_io_aufs.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\..\src\fs\awin32\store_asyncufs.h +# End Source File +# End Group +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/libbasic/libbasic.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,100 @@ +# Microsoft Developer Studio Project File - Name="libbasic" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=libbasic - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libbasic.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libbasic.mak" CFG="libbasic - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libbasic - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "libbasic - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libbasic - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /G6 /MT /W3 /GX /O2 /I "../../../include" /I "../../../src" /I "../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x410 /d "NDEBUG" +# ADD RSC /l 0x410 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "libbasic - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /G6 /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../src" /I "../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x410 /d "_DEBUG" +# ADD RSC /l 0x410 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "libbasic - Win32 Release" +# Name "libbasic - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\..\src\auth\basic\auth_basic.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\..\src\auth\basic\auth_basic.h +# End Source File +# End Group +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/libgnuregex/libgnuregex.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,96 @@ +# Microsoft Developer Studio Project File - Name="libgnuregex" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=libgnuregex - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libgnuregex.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libgnuregex.mak" CFG="libgnuregex - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libgnuregex - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "libgnuregex - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libgnuregex - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /G6 /MT /W3 /GX /O2 /I "../../../include" /I "../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x410 /d "NDEBUG" +# ADD RSC /l 0x410 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "libgnuregex - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /G6 /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x410 /d "_DEBUG" +# ADD RSC /l 0x410 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "libgnuregex - Win32 Release" +# Name "libgnuregex - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\..\lib\GNUregex.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/liblru/liblru.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,96 @@ +# Microsoft Developer Studio Project File - Name="liblru" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=liblru - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "liblru.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "liblru.mak" CFG="liblru - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "liblru - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "liblru - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "liblru - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /G6 /MT /W3 /GX /O2 /I "../../../include" /I "../../../src" /I "../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x410 /d "NDEBUG" +# ADD RSC /l 0x410 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "liblru - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /G6 /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../src" /I "../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x410 /d "_DEBUG" +# ADD RSC /l 0x410 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "liblru - Win32 Release" +# Name "liblru - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\..\src\repl\lru\store_repl_lru.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/libmiscutil/libmiscutil.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,208 @@ +# Microsoft Developer Studio Project File - Name="libmiscutil" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=libmiscutil - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libmiscutil.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libmiscutil.mak" CFG="libmiscutil - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libmiscutil - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "libmiscutil - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libmiscutil - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /G6 /MT /W3 /GX /O2 /I "../../../include" /I "../include" /I "../../../src" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x410 /d "NDEBUG" +# ADD RSC /l 0x410 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "libmiscutil - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /G6 /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../include" /I "../../../src" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x410 /d "_DEBUG" +# ADD RSC /l 0x410 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "libmiscutil - Win32 Release" +# Name "libmiscutil - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\..\lib\Array.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\base64.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\drand48.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\getfullhostname.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\hash.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\heap.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\html_quote.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\iso3307.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\md5.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\radix.c +# End Source File +# Begin Source File + +SOURCE=..\src\readdir.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\rfc1035.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\rfc1123.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\rfc1738.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\rfc2617.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\safe_inet_addr.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\snprintf.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\splay.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\Stack.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\stub_memaccount.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\util.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\uudecode.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\lib\win32lib.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\..\include\heap.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\md5.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\parse.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\radix.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snprintf.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\util.h +# End Source File +# End Group +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/libntlm/libntlm.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,100 @@ +# Microsoft Developer Studio Project File - Name="libntlm" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=libntlm - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libntlm.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libntlm.mak" CFG="libntlm - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libntlm - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "libntlm - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libntlm - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /G6 /MT /W3 /GX /O2 /I "../../../include" /I "../../../src" /I "../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x410 /d "NDEBUG" +# ADD RSC /l 0x410 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "libntlm - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /G6 /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../src" /I "../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x410 /d "_DEBUG" +# ADD RSC /l 0x410 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "libntlm - Win32 Release" +# Name "libntlm - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\..\src\auth\ntlm\auth_ntlm.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\..\src\auth\ntlm\auth_ntlm.h +# End Source File +# End Group +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/libntlmauth/libntlmauth.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,100 @@ +# Microsoft Developer Studio Project File - Name="libntlmauth" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=libntlmauth - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libntlmauth.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libntlmauth.mak" CFG="libntlmauth - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libntlmauth - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "libntlmauth - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libntlmauth - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /G6 /MT /W3 /GX /O2 /I "../../../include" /I "../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x410 /d "NDEBUG" +# ADD RSC /l 0x410 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "libntlmauth - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /G6 /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x410 /d "_DEBUG" +# ADD RSC /l 0x410 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "libntlmauth - Win32 Release" +# Name "libntlmauth - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\..\lib\ntlmauth.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\..\include\ntlmauth.h +# End Source File +# End Group +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/libsnmp/libsnmp.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,204 @@ +# Microsoft Developer Studio Project File - Name="libsnmp" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=libsnmp - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libsnmp.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libsnmp.mak" CFG="libsnmp - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libsnmp - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "libsnmp - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libsnmp - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /G6 /MT /W3 /GX /O2 /I "../../../include" /I "../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x410 /d "NDEBUG" +# ADD RSC /l 0x410 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "libsnmp - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /G6 /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x410 /d "_DEBUG" +# ADD RSC /l 0x410 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "libsnmp - Win32 Release" +# Name "libsnmp - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\..\snmplib\asn1.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\snmplib\coexistance.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\snmplib\mib.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\snmplib\parse.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\snmplib\snmp_api.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\snmplib\snmp_api_error.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\snmplib\snmp_error.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\snmplib\snmp_msg.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\snmplib\snmp_pdu.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\snmplib\snmp_vars.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\snmplib\snmplib_debug.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE="..\..\..\include\snmp-internal.h" +# End Source File +# Begin Source File + +SOURCE="..\..\..\include\snmp-mib.h" +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_api.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_api_error.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_api_util.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_client.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_coexist.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_compat.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_debug.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_error.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_impl.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_msg.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_pdu.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_session.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_util.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\include\snmp_vars.h +# End Source File +# End Group +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/libufs/libufs.dsp Wed Feb 14 00:57:29 2007 @@ -0,0 +1,104 @@ +# Microsoft Developer Studio Project File - Name="libufs" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=libufs - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libufs.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libufs.mak" CFG="libufs - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libufs - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "libufs - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libufs - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /G6 /MT /W3 /GX /O2 /I "../../../include" /I "../../../src" /I "../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD BASE RSC /l 0x410 /d "NDEBUG" +# ADD RSC /l 0x410 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "libufs - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /G6 /MTd /W3 /Gm /GX /ZI /Od /I "../../../include" /I "../../../src" /I "../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD BASE RSC /l 0x410 /d "_DEBUG" +# ADD RSC /l 0x410 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "libufs - Win32 Release" +# Name "libufs - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\..\src\fs\ufs\store_dir_ufs.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\src\fs\ufs\store_io_ufs.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\..\src\fs\ufs\store_ufs.h +# End Source File +# End Group +# End Target +# End Project --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/src/encrypt.c Wed Feb 14 00:57:29 2007 @@ -0,0 +1,323 @@ +/* encrypt.c - providing 56 bit DES encryption + Copyright (C) 1991 Jochen Obalek + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#include +#include +#include + +#define BS 64 +#define BS2 32 +#define KS 48 +#define KS2 24 +#define IS 56 +#define IS2 28 + +static char schluessel[16][KS]; + + +static char PC1[] = +{ + 56, 48, 40, 32, 24, 16, 8, 0, + 57, 49, 41, 33, 25, 17, 9, 1, + 58, 50, 42, 34, 26, 18, 10, 2, + 59, 51, 43, 35, + 62, 54, 46, 38, 30, 22, 14, 6, + 61, 53, 45, 37, 29, 21, 13, 5, + 60, 52, 44, 36, 28, 20, 12, 4, + 27, 19, 11, 3 +}; + + +static char PC2[] = +{ + 13, 16, 10, 23, 0, 4, 2, 27, + 14, 5, 20, 9, 22, 18, 11, 3, + 25, 7, 15, 6, 26, 19, 12, 1, + 40, 51, 30, 36, 46, 54, 29, 39, + 50, 44, 32, 47, 43, 48, 38, 55, + 33, 52, 45, 41, 49, 35, 28, 31 +}; + + +static char IP[] = +{ + 57, 49, 41, 33, 25, 17, 9, 1, + 59, 51, 43, 35, 27, 19, 11, 3, + 61, 53, 45, 37, 29, 21, 13, 5, + 63, 55, 47, 39, 31, 23, 15, 7, + 56, 48, 40, 32, 24, 16, 8, 0, + 58, 50, 42, 34, 26, 18, 10, 2, + 60, 52, 44, 36, 28, 20, 12, 4, + 62, 54, 46, 38, 30, 22, 14, 6 +}; + + +static char EP[] = +{ + 7, 39, 15, 47, 23, 55, 31, 63, + 6, 38, 14, 46, 22, 54, 30, 62, + 5, 37, 13, 45, 21, 53, 29, 61, + 4, 36, 12, 44, 20, 52, 28, 60, + 3, 35, 11, 43, 19, 51, 27, 59, + 2, 34, 10, 42, 18, 50, 26, 58, + 1, 33, 9, 41, 17, 49, 25, 57, + 0, 32, 8, 40, 16, 48, 24, 56 +}; + + +static char E0[] = +{ + 31, 0, 1, 2, 3, 4, 3, 4, + 5, 6, 7, 8, 7, 8, 9, 10, + 11, 12, 11, 12, 13, 14, 15, 16, + 15, 16, 17, 18, 19, 20, 19, 20, + 21, 22, 23, 24, 23, 24, 25, 26, + 27, 28, 27, 28, 29, 30, 31, 0 +}; + + +static char E[KS]; + + +static char PERM[] = +{ + 15, 6, 19, 20, 28, 11, 27, 16, + 0, 14, 22, 25, 4, 17, 30, 9, + 1, 7, 23, 13, 31, 26, 2, 8, + 18, 12, 29, 5, 21, 10, 3, 24 +}; + + +static char S_BOX[][64] = +{ + { + 14, 0, 4, 15, 13, 7, 1, 4, 2, 14, 15, 2, 11, 13, 8, 1, + 3, 10, 10, 6, 6, 12, 12, 11, 5, 9, 9, 5, 0, 3, 7, 8, + 4, 15, 1, 12, 14, 8, 8, 2, 13, 4, 6, 9, 2, 1, 11, 7, + 15, 5, 12, 11, 9, 3, 7, 14, 3, 10, 10, 0, 5, 6, 0, 13 + }, + { + 15, 3, 1, 13, 8, 4, 14, 7, 6, 15, 11, 2, 3, 8, 4, 14, + 9, 12, 7, 0, 2, 1, 13, 10, 12, 6, 0, 9, 5, 11, 10, 5, + 0, 13, 14, 8, 7, 10, 11, 1, 10, 3, 4, 15, 13, 4, 1, 2, + 5, 11, 8, 6, 12, 7, 6, 12, 9, 0, 3, 5, 2, 14, 15, 9 + }, + { + 10, 13, 0, 7, 9, 0, 14, 9, 6, 3, 3, 4, 15, 6, 5, 10, + 1, 2, 13, 8, 12, 5, 7, 14, 11, 12, 4, 11, 2, 15, 8, 1, + 13, 1, 6, 10, 4, 13, 9, 0, 8, 6, 15, 9, 3, 8, 0, 7, + 11, 4, 1, 15, 2, 14, 12, 3, 5, 11, 10, 5, 14, 2, 7, 12 + }, + { + 7, 13, 13, 8, 14, 11, 3, 5, 0, 6, 6, 15, 9, 0, 10, 3, + 1, 4, 2, 7, 8, 2, 5, 12, 11, 1, 12, 10, 4, 14, 15, 9, + 10, 3, 6, 15, 9, 0, 0, 6, 12, 10, 11, 1, 7, 13, 13, 8, + 15, 9, 1, 4, 3, 5, 14, 11, 5, 12, 2, 7, 8, 2, 4, 14 + }, + { + 2, 14, 12, 11, 4, 2, 1, 12, 7, 4, 10, 7, 11, 13, 6, 1, + 8, 5, 5, 0, 3, 15, 15, 10, 13, 3, 0, 9, 14, 8, 9, 6, + 4, 11, 2, 8, 1, 12, 11, 7, 10, 1, 13, 14, 7, 2, 8, 13, + 15, 6, 9, 15, 12, 0, 5, 9, 6, 10, 3, 4, 0, 5, 14, 3 + }, + { + 12, 10, 1, 15, 10, 4, 15, 2, 9, 7, 2, 12, 6, 9, 8, 5, + 0, 6, 13, 1, 3, 13, 4, 14, 14, 0, 7, 11, 5, 3, 11, 8, + 9, 4, 14, 3, 15, 2, 5, 12, 2, 9, 8, 5, 12, 15, 3, 10, + 7, 11, 0, 14, 4, 1, 10, 7, 1, 6, 13, 0, 11, 8, 6, 13 + }, + { + 4, 13, 11, 0, 2, 11, 14, 7, 15, 4, 0, 9, 8, 1, 13, 10, + 3, 14, 12, 3, 9, 5, 7, 12, 5, 2, 10, 15, 6, 8, 1, 6, + 1, 6, 4, 11, 11, 13, 13, 8, 12, 1, 3, 4, 7, 10, 14, 7, + 10, 9, 15, 5, 6, 0, 8, 15, 0, 14, 5, 2, 9, 3, 2, 12 + }, + { + 13, 1, 2, 15, 8, 13, 4, 8, 6, 10, 15, 3, 11, 7, 1, 4, + 10, 12, 9, 5, 3, 6, 14, 11, 5, 0, 0, 14, 12, 9, 7, 2, + 7, 2, 11, 1, 4, 14, 1, 7, 9, 4, 12, 10, 14, 8, 2, 13, + 0, 15, 6, 12, 10, 9, 13, 0, 15, 3, 3, 5, 5, 6, 8, 11 + } +}; + +static void +perm (a, e, pc, n) + register char *a, *e; + register char *pc; + int n; +{ + for (; n--; pc++, a++) + *a = e[*pc]; +} + +static void +crypt_main (nachr_l, nachr_r, schl) + register char *nachr_l, *nachr_r; + register char *schl; +{ + char tmp[KS]; + register int sbval; + register char *tp = tmp; + register char *e = E; + register int i, j; + + for (i = 0; i < 8; i++) + { + for (j = 0, sbval = 0; j < 6; j++) + sbval = (sbval << 1) | (nachr_r[*e++] ^ *schl++); + sbval = S_BOX[i][sbval]; + for (tp += 4, j = 4; j--; sbval >>= 1) + *--tp = sbval & 1; + tp += 4; + } + + e = PERM; + for (i = 0; i < BS2; i++) + *nachr_l++ ^= tmp[*e++]; +} + +void +encrypt (char *nachr, int decr) +{ + char (*schl)[KS] = decr ? schluessel + 15 : schluessel; + char tmp[BS]; + int i; + + perm (tmp, nachr, IP, BS); + + for (i = 8; i--;) + { + crypt_main (tmp, tmp + BS2, *schl); + if (decr) + schl--; + else + schl++; + crypt_main (tmp + BS2, tmp, *schl); + if (decr) + schl--; + else + schl++; + } + + perm (nachr, tmp, EP, BS); +} + +void +setkey (char *schl) +{ + char tmp1[IS]; + register unsigned int ls = 0x7efc; + register int i, j, k; + register int shval = 0; + register char *akt_schl; + + memcpy (E, E0, KS); + perm (tmp1, schl, PC1, IS); + + for (i = 0; i < 16; i++) + { + shval += 1 + (ls & 1); + akt_schl = schluessel[i]; + for (j = 0; j < KS; j++) + { + if ((k = PC2[j]) >= IS2) + { + if ((k += shval) >= IS) + k = (k - IS2) % IS2 + IS2; + } + else if ((k += shval) >= IS2) + k %= IS2; + *akt_schl++ = tmp1[k]; + } + ls >>= 1; + } +} + +char * +crypt (const char *wort, const char *salt) +{ + static char retkey[14]; + char key[BS + 2]; + char *k; + int tmp, keybyte; + int i, j; + + memset (key, 0, BS + 2); + + for (k = key, i = 0; i < BS; i++) + { + if (!(keybyte = *wort++)) + break; + k += 7; + for (j = 0; j < 7; j++, i++) + { + *--k = keybyte & 1; + keybyte >>= 1; + } + k += 8; + } + + setkey (key); + memset (key, 0, BS + 2); + + for (k = E, i = 0; i < 2; i++) + { + retkey[i] = keybyte = *salt++; + if (keybyte > 'Z') + keybyte -= 'a' - 'Z' - 1; + if (keybyte > '9') + keybyte -= 'A' - '9' - 1; + keybyte -= '.'; + + for (j = 0; j < 6; j++, keybyte >>= 1, k++) + { + if (!(keybyte & 1)) + continue; + tmp = *k; + *k = k[24]; + k[24] = tmp; + } + } + + for (i = 0; i < 25; i++) + encrypt (key, 0); + + for (k = key, i = 0; i < 11; i++) + { + for (j = keybyte = 0; j < 6; j++) + { + keybyte <<= 1; + keybyte |= *k++; + } + + keybyte += '.'; + if (keybyte > '9') + keybyte += 'A' - '9' - 1; + if (keybyte > 'Z') + keybyte += 'a' - 'Z' - 1; + retkey[i + 2] = keybyte; + } + + retkey[i + 2] = 0; + + if (!retkey[1]) + retkey[1] = *retkey; + + return retkey; +} + + --- /dev/null Wed Feb 14 00:55:47 2007 +++ squid/port/win32/src/readdir.c Wed Feb 14 00:57:29 2007 @@ -0,0 +1,81 @@ + +#include +#include +#include +#define strdup _strdup +#include "readdir.h" + +/********************************************************************** + * Implement dirent-style opendir/readdir/closedir on Window 95/NT + * + * Functions defined are opendir(), readdir() and closedir() with the + * same prototypes as the normal dirent.h implementation. + * + * Does not implement telldir(), seekdir(), rewinddir() or scandir(). + * The dirent struct is compatible with Unix, except that d_ino is + * always 1 and d_off is made up as we go along. + * + * The DIR typedef is not compatible with Unix. + **********************************************************************/ + +DIR * opendir(const char *dir) +{ + DIR *dp; + char *filespec; + long handle; + int index; + + filespec = malloc(strlen(dir) + 2 + 1); + strcpy(filespec, dir); + index = strlen(filespec) - 1; + if (index >= 0 && (filespec[index] == '/' || filespec[index] == '\\')) + filespec[index] = '\0'; + strcat(filespec, "/*"); + + dp = (DIR *)malloc(sizeof(DIR)); + dp->offset = 0; + dp->finished = 0; + dp->dir = strdup(dir); + + if ((handle = _findfirst(filespec, &(dp->fileinfo))) < 0) { + if (errno == ENOENT) + dp->finished = 1; + else + return NULL; + } + + dp->handle = handle; + free(filespec); + + return dp; +} + +struct dirent * readdir(DIR *dp) +{ + if (!dp || dp->finished) return NULL; + + if (dp->offset != 0) { + if (_findnext(dp->handle, &(dp->fileinfo)) < 0) { + dp->finished = 1; + return NULL; + } + } + dp->offset++; + + strncpy(dp->dent.d_name, dp->fileinfo.name, _MAX_FNAME); + dp->dent.d_ino = 1; + dp->dent.d_reclen = strlen(dp->dent.d_name); + dp->dent.d_off = dp->offset; + + return &(dp->dent); +} + +int closedir(DIR *dp) +{ + if (!dp) return 0; + _findclose(dp->handle); + if (dp->dir) free(dp->dir); + if (dp) free(dp); + + return 0; +}