This commit is contained in:
Fish 2004-11-12 09:48:00 +00:00
parent 96cb1750f3
commit 1413f09474
4 changed files with 377 additions and 0 deletions

3
.gitattributes vendored
View file

@ -376,6 +376,9 @@ msyslog-v1.08a+smac/src/peo/sha1.h -text
msyslog-v1.08a+smac/src/peo/typedefs.h -text
msyslog-v1.08a+smac/src/syslogd.c -text
msyslog-v1.08a+smac/src/syslogd.h -text
win32/CLFAgent-DLL/CLFAgent-DLL.vcproj -text
win32/CLFAgent.sln -text
win32/CLFAgent.vcproj -text
win32/Makefile -text
win32/check.c -text
win32/dllmain.c -text

View file

@ -0,0 +1,160 @@
<?xml version="1.0" encoding = "Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.00"
Name="CLFAgent-DLL"
ProjectGUID="{2A63411D-9FF6-490E-A92F-216F8506E0A4}"
Keyword="MFCDLLProj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(InputDir)..\Debug"
IntermediateDirectory="Debug"
ConfigurationType="2"
UseOfMFC="0"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_USRDLL"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
TreatWChar_tAsBuiltInType="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)\CLFAgent.dll"
LinkIncremental="2"
ModuleDefinitionFile=".\CLFAgent-DLL.def"
GenerateDebugInformation="TRUE"
SubSystem="2"
ImportLibrary="$(OutDir)/CLFAgent-DLL.lib"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="FALSE"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
AdditionalIncludeDirectories="$(IntDir)"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="Release"
IntermediateDirectory="Release"
ConfigurationType="2"
UseOfMFC="2"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
OmitFramePointers="TRUE"
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_USRDLL"
StringPooling="TRUE"
RuntimeLibrary="2"
EnableFunctionLevelLinking="TRUE"
TreatWChar_tAsBuiltInType="TRUE"
UsePrecompiledHeader="3"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)/CLFAgent-DLL.dll"
LinkIncremental="1"
ModuleDefinitionFile=".\CLFAgent-DLL.def"
GenerateDebugInformation="TRUE"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
ImportLibrary="$(OutDir)/CLFAgent-DLL.lib"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="FALSE"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
AdditionalIncludeDirectories="$(IntDir)"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
</Configuration>
</Configurations>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
<File
RelativePath="..\dllmain.c">
<FileConfiguration
Name="Debug|Win32">
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"/>
</FileConfiguration>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc">
<File
RelativePath="..\dllmsg.h">
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
<File
RelativePath="..\dllmsg.mc">
<FileConfiguration
Name="Debug|Win32">
<Tool
Name="VCCustomBuildTool"
CommandLine="mc ../dllmsg.mc"
AdditionalDependencies="dllmsg.mc"
Outputs="dllmsg.rc"/>
</FileConfiguration>
</File>
<File
RelativePath="dllmsg.rc">
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

28
win32/CLFAgent.sln Normal file
View file

@ -0,0 +1,28 @@
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CLFAgent", "CLFAgent.vcproj", "{F4626DC8-357C-468D-8736-20ABB797F5F3}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CLFAgent-DLL", "CLFAgent-DLL\CLFAgent-DLL.vcproj", "{2A63411D-9FF6-490E-A92F-216F8506E0A4}"
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
ConfigName.0 = Debug
ConfigName.1 = Release
EndGlobalSection
GlobalSection(ProjectDependencies) = postSolution
{F4626DC8-357C-468D-8736-20ABB797F5F3}.0 = {2A63411D-9FF6-490E-A92F-216F8506E0A4}
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{F4626DC8-357C-468D-8736-20ABB797F5F3}.Debug.ActiveCfg = Debug|Win32
{F4626DC8-357C-468D-8736-20ABB797F5F3}.Debug.Build.0 = Debug|Win32
{F4626DC8-357C-468D-8736-20ABB797F5F3}.Release.ActiveCfg = Release|Win32
{F4626DC8-357C-468D-8736-20ABB797F5F3}.Release.Build.0 = Release|Win32
{2A63411D-9FF6-490E-A92F-216F8506E0A4}.Debug.ActiveCfg = Debug|Win32
{2A63411D-9FF6-490E-A92F-216F8506E0A4}.Debug.Build.0 = Debug|Win32
{2A63411D-9FF6-490E-A92F-216F8506E0A4}.Release.ActiveCfg = Release|Win32
{2A63411D-9FF6-490E-A92F-216F8506E0A4}.Release.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal

186
win32/CLFAgent.vcproj Normal file
View file

@ -0,0 +1,186 @@
<?xml version="1.0" encoding = "Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.00"
Name="CLFAgent"
ProjectGUID="{F4626DC8-357C-468D-8736-20ABB797F5F3}"
Keyword="Win32Proj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="Debug"
IntermediateDirectory="Debug"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
MinimalRebuild="TRUE"
BasicRuntimeChecks="3"
RuntimeLibrary="5"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="4"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="FALSE"
AdditionalOptions="advapi32.lib wsock32.lib
"
ShowProgress="1"
OutputFile="$(OutDir)/CLFAgent.exe"
Version="1.1"
LinkIncremental="2"
IgnoreAllDefaultLibraries="FALSE"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile="$(OutDir)/CLFAgent.pdb"
SubSystem="1"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="Release"
IntermediateDirectory="Release"
ConfigurationType="1"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
OmitFramePointers="TRUE"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
StringPooling="TRUE"
RuntimeLibrary="4"
EnableFunctionLevelLinking="TRUE"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)/CLFAgent.exe"
LinkIncremental="1"
GenerateDebugInformation="TRUE"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
</Configuration>
</Configurations>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
<File
RelativePath="check.c">
<FileConfiguration
Name="Debug|Win32">
<Tool
Name="VCCLCompilerTool"
Detect64BitPortabilityProblems="FALSE"/>
</FileConfiguration>
</File>
<File
RelativePath="eventlog.c">
</File>
<File
RelativePath="getopt.c">
</File>
<File
RelativePath="log.c">
</File>
<File
RelativePath="loop.c">
</File>
<File
RelativePath="main.c">
</File>
<File
RelativePath="registry.c">
</File>
<File
RelativePath="service.c">
</File>
<File
RelativePath="support.c">
</File>
<File
RelativePath="syslog.c">
</File>
<File
RelativePath="wsock.c">
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc">
<File
RelativePath="eventlog.h">
</File>
<File
RelativePath="getopt.h">
</File>
<File
RelativePath="log.h">
</File>
<File
RelativePath="main.h">
</File>
<File
RelativePath="resource.h">
</File>
<File
RelativePath="service.h">
</File>
<File
RelativePath="syslog.h">
</File>
<File
RelativePath="wsock.h">
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>