diff options
Diffstat (limited to 'fluent-bit/lib/librdkafka-2.1.0/win32')
29 files changed, 0 insertions, 2596 deletions
diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/.gitignore b/fluent-bit/lib/librdkafka-2.1.0/win32/.gitignore deleted file mode 100644 index 6b56d66f..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/.gitignore +++ /dev/null @@ -1,109 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -build/ -bld/ -[Bb]in/ -[Oo]bj/ - -# Visual Studo 2015 cache/options directory -.vs/ -*.opendb - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUNIT -*.VisualState.xml -TestResult.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -*_i.c -*_p.c -*_i.h -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opensdf -*.sdf -*.cachefile - -# Visual Studio profiler -*.psess -*.vsp -*.vspx - -# NuGet -packages/* -!packages/repositories.config - -# Installshield output folder -[Ee]xpress/ - -# Others -*.[Cc]ache -ClientBin/ -[Ss]tyle[Cc]op.* -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.pfx -*.publishsettings -node_modules/ -bower_components/ - -*.filters -*.tlog -*.db -*.opendb -*.idb -*.nupkg -intdir -outdir -interim - diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/README.md b/fluent-bit/lib/librdkafka-2.1.0/win32/README.md deleted file mode 100644 index 4c52a9ec..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Build guide for Windows - -* build.bat - Build for all combos of: Win32,x64,Release,Debug using the current msbuild toolset -* package-zip.ps1 - Build zip package (using build.bat artifacts) - diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/build-package.bat b/fluent-bit/lib/librdkafka-2.1.0/win32/build-package.bat deleted file mode 100644 index 3a2b2a20..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/build-package.bat +++ /dev/null @@ -1,3 +0,0 @@ - -powershell "%CD%\package-nuget.ps1" - diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/build.bat b/fluent-bit/lib/librdkafka-2.1.0/win32/build.bat deleted file mode 100644 index cb1870f7..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/build.bat +++ /dev/null @@ -1,19 +0,0 @@ -@echo off - -SET TOOLCHAIN=v140 - -FOR %%C IN (Debug,Release) DO ( - FOR %%P IN (Win32,x64) DO ( - @echo Building %%C %%P - msbuild librdkafka.sln /p:Configuration=%%C /p:Platform=%%P /target:Clean - msbuild librdkafka.sln /p:Configuration=%%C /p:Platform=%%P || goto :error - - - ) -) - -exit /b 0 - -:error -echo "Build failed" -exit /b 1 diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/common.vcxproj b/fluent-bit/lib/librdkafka-2.1.0/win32/common.vcxproj deleted file mode 100644 index 850602c3..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/common.vcxproj +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemGroup Label="ProjectConfigurations"> - <ProjectConfiguration Include="Debug|Win32"> - <Configuration>Debug</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Debug|x64"> - <Configuration>Debug</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|Win32"> - <Configuration>Release</Configuration> - <Platform>Win32</Platform> - </ProjectConfiguration> - <ProjectConfiguration Include="Release|x64"> - <Configuration>Release</Configuration> - <Platform>x64</Platform> - </ProjectConfiguration> - </ItemGroup> - - <PropertyGroup> - <!-- Assume Visual Studio 2013 / 12.0 as the default --> - <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">12.0</VisualStudioVersion> - </PropertyGroup> - <!-- Visual Studio 2013 (12.0) --> - <PropertyGroup Condition="'$(VisualStudioVersion)' == '12.0'"> - <PlatformToolset>v120</PlatformToolset> - </PropertyGroup> - <!-- Visual Studio 2015 (14.0) --> - <PropertyGroup Condition="'$(VisualStudioVersion)' == '14.0'"> - <PlatformToolset>v140</PlatformToolset> - </PropertyGroup> - <!-- Visual Studio 2017 (15.0) --> - <PropertyGroup Condition="'$(VisualStudioVersion)' == '15.0'"> - <PlatformToolset>v141</PlatformToolset> - </PropertyGroup> - <!-- Visual Studio 2019 (16.0) --> - <PropertyGroup Condition="'$(VisualStudioVersion)' == '16.0'"> - <PlatformToolset>v142</PlatformToolset> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> - <UseDebugLibraries>true</UseDebugLibraries> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> - <UseDebugLibraries>false</UseDebugLibraries> - </PropertyGroup> - <PropertyGroup Label="Configuration"> - <CharacterSet>Unicode</CharacterSet> - </PropertyGroup> - <PropertyGroup> - <BuildOutputDir>$(SolutionDir)\outdir\$(PlatformToolSet)\$(Platform)\$(Configuration)\</BuildOutputDir> - <BuildIntDir>interim\$(PlatformToolSet)\$(Platform)\$(Configuration)\</BuildIntDir> - </PropertyGroup> - - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Label="PropertySheets"> - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> - </ImportGroup> - - - <PropertyGroup Label="Configuration"> - <WholeProgramOptimization>true</WholeProgramOptimization> - </PropertyGroup> - - <PropertyGroup> - <OutDir>$(BuildOutputDir)</OutDir> - <IntDir>$(BuildIntDir)</IntDir> - </PropertyGroup> - - <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> - <LinkIncremental>false</LinkIncremental> - <UseDebugLibraries>false</UseDebugLibraries> - </PropertyGroup> - - <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> - <LinkIncremental>true</LinkIncremental> - <UseDebugLibraries>true</UseDebugLibraries> - </PropertyGroup> - -</Project> diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/install-openssl.ps1 b/fluent-bit/lib/librdkafka-2.1.0/win32/install-openssl.ps1 deleted file mode 100644 index d4724ffe..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/install-openssl.ps1 +++ /dev/null @@ -1,33 +0,0 @@ -$OpenSSLVersion = "1_1_1k" -$OpenSSLExe = "OpenSSL-$OpenSSLVersion.exe" - -if (!(Test-Path("C:\OpenSSL-Win32"))) { - instDir = "C:\OpenSSL-Win32" - $exeFull = "Win32$OpenSSLExe" - $exePath = "$($env:USERPROFILE)\$exeFull" - - Write-Host "Downloading and installing OpenSSL v1.1 32-bit ..." -ForegroundColor Cyan - (New-Object Net.WebClient).DownloadFile('https://slproweb.com/download/$exeFull', $exePath) - - Write-Host "Installing to $instDir..." - cmd /c start /wait $exePath /silent /verysilent /sp- /suppressmsgboxes /DIR=$instDir - Write-Host "Installed" -ForegroundColor Green -} else { - echo "OpenSSL-Win32 already exists: not downloading" -} - - -if (!(Test-Path("C:\OpenSSL-Win64"))) { - instDir = "C:\OpenSSL-Win64" - $exeFull = "Win64$OpenSSLExe" - $exePath = "$($env:USERPROFILE)\$exeFull" - - Write-Host "Downloading and installing OpenSSL v1.1 64-bit ..." -ForegroundColor Cyan - (New-Object Net.WebClient).DownloadFile('https://slproweb.com/download/$exeFull', $exePath) - - Write-Host "Installing to $instDir..." - cmd /c start /wait $exePath /silent /verysilent /sp- /suppressmsgboxes /DIR=$instDir - Write-Host "Installed" -ForegroundColor Green -} else { - echo "OpenSSL-Win64 already exists: not downloading" -} diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/interceptor_test/interceptor_test.vcxproj b/fluent-bit/lib/librdkafka-2.1.0/win32/interceptor_test/interceptor_test.vcxproj deleted file mode 100644 index e6828b2a..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/interceptor_test/interceptor_test.vcxproj +++ /dev/null @@ -1,87 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <PropertyGroup Label="Globals"> - <ProjectGuid>{492CF5A9-EBF5-494E-8F71-B9B262C4D220}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - <RootNamespace>interceptor_test</RootNamespace> - <ProjectName>interceptor_test</ProjectName> - <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> - </PropertyGroup> - <PropertyGroup Label="Configuration"> - <ConfigurationType>DynamicLibrary</ConfigurationType> - </PropertyGroup> - <Import Project="$(SolutionDir)common.vcxproj" /> - <PropertyGroup Label="UserMacros" /> - <ItemDefinitionGroup> - <Link> - <SubSystem>Windows</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - <AdditionalDependencies>librdkafka.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;%(AdditionalDependencies)</AdditionalDependencies> - <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PrecompiledHeader> - </PrecompiledHeader> - <WarningLevel>Level3</WarningLevel> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalOptions>/J %(AdditionalOptions)</AdditionalOptions> - <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\src-cpp</AdditionalIncludeDirectories> - </ClCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PrecompiledHeader> - </PrecompiledHeader> - <WarningLevel>Level3</WarningLevel> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalOptions>/J %(AdditionalOptions)</AdditionalOptions> - <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\src-cpp</AdditionalIncludeDirectories> - </ClCompile> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <WarningLevel>Level3</WarningLevel> - <PrecompiledHeader> - </PrecompiledHeader> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\src-cpp</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <WarningLevel>Level3</WarningLevel> - <PrecompiledHeader> - </PrecompiledHeader> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\src-cpp</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="..\..\tests\interceptor_test\interceptor_test.c" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project> diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafka.autopkg.template b/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafka.autopkg.template deleted file mode 100644 index 5ad8b102..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafka.autopkg.template +++ /dev/null @@ -1,55 +0,0 @@ -configurations { - Toolset { - key : "PlatformToolset"; - choices: { v120, v140, v142 }; - - // Explicitly Not including pivot variants: "WindowsKernelModeDriver8.0", "WindowsApplicationForDrivers8.0", "WindowsUserModeDriver8.0" - - // We're normalizing out the concept of the v140 platform -- Overloading the $(PlatformToolset) variable for additional pivots was a dumb idea. - v140.condition = "( $(PlatformToolset.ToLower().IndexOf('v140')) > -1 Or '$(PlatformToolset.ToLower())' == 'windowskernelmodedriver8.0' Or '$(PlatformToolset.ToLower())' == 'windowsapplicationfordrivers8.0' Or '$(PlatformToolset.ToLower())' == 'windowsusermodedriver8.0' )"; - }; - }; - -nuget { - nuspec { - id = librdkafka; - // "@version" is replaced by the current Appveyor build number in the - // pre-deployment script. - version : @version; - title: "librdkafka"; - authors: {Magnus Edenhill, edenhill}; - owners: {Magnus Edenhill, edenhill}; - licenseUrl: "https://github.com/edenhill/librdkafka/blob/master/LICENSES.txt"; - projectUrl: "https://github.com/edenhill/librdkafka"; - requireLicenseAcceptance: false; - summary: "The Apache Kafka C/C++ client library"; - description:"The Apache Kafka C/C++ client library"; - releaseNotes: "Release of librdkafka"; - copyright: "Copyright 2012-2022"; - tags: { native, kafka, librdkafka, C, C++ }; - }; - - files { - #defines { - TOPDIR = ..\; - }; - nestedInclude: { - #destination = ${d_include}librdkafka; - ${TOPDIR}src\rdkafka.h, ${TOPDIR}src\rdkafka_mock.h, ${TOPDIR}src-cpp\rdkafkacpp.h - }; - docs: { ${TOPDIR}README.md, ${TOPDIR}CONFIGURATION.md, ${TOPDIR}LICENSES.txt }; - - ("v120,v140,v142", "Win32,x64", "Release,Debug") => { - [${0},${1},${2}] { - lib: { outdir\${0}\${1}\${2}\librdkafka*.lib }; - symbols: { outdir\${0}\${1}\${2}\librdkafka*.pdb }; - bin: { outdir\${0}\${1}\${2}\*.dll }; - }; - }; - - }; - - targets { - Defines += HAS_LIBRDKAFKA; - }; -};
\ No newline at end of file diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafka.master.testing.targets b/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafka.master.testing.targets deleted file mode 100644 index 94372cef..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafka.master.testing.targets +++ /dev/null @@ -1,13 +0,0 @@ -<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <ItemDefinitionGroup> - <Link> - <AdditionalDependencies>$(MSBuildThisFileDirectory)..\..\package-win\runtimes\$(Configuration)\win-$(Platform)\native\librdkafka.lib;%(AdditionalDependencies)</AdditionalDependencies> - </Link> - <ClCompile> - <AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> - </ClCompile> - </ItemDefinitionGroup> - <ItemGroup> - <ReferenceCopyLocalPaths Include="$(MSBuildThisFileDirectory)..\..\package-win\runtimes\$(Configuration)\win-$(Platform)\librdkafka.dll" /> - </ItemGroup> -</Project> diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafka.sln b/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafka.sln deleted file mode 100644 index 614396ed..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafka.sln +++ /dev/null @@ -1,226 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.31112.23 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "librdkafka", "librdkafka.vcxproj", "{4BEBB59C-477B-4F7A-8AE8-4228D0861E54}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "librdkafkacpp", "librdkafkacpp\librdkafkacpp.vcxproj", "{E9641737-EE62-4EC8-88C8-792D2E3CE32D}" - ProjectSection(ProjectDependencies) = postProject - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54} = {4BEBB59C-477B-4F7A-8AE8-4228D0861E54} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tests", "tests\tests.vcxproj", "{BE4E1264-5D13-423D-8191-71F7041459E7}" - ProjectSection(ProjectDependencies) = postProject - {E9641737-EE62-4EC8-88C8-792D2E3CE32D} = {E9641737-EE62-4EC8-88C8-792D2E3CE32D} - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54} = {4BEBB59C-477B-4F7A-8AE8-4228D0861E54} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rdkafka_example", "rdkafka_example\rdkafka_example.vcxproj", "{84585784-5BDC-43BE-B714-23EA2E7AEA5B}" - ProjectSection(ProjectDependencies) = postProject - {E9641737-EE62-4EC8-88C8-792D2E3CE32D} = {E9641737-EE62-4EC8-88C8-792D2E3CE32D} - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{AE17F6C0-6C4D-4E92-A04D-48214C70D1AC}" - ProjectSection(SolutionItems) = preProject - librdkafka.autopkg = librdkafka.autopkg - librdkafka.nuspec = librdkafka.nuspec - librdkafka.testing.targets = librdkafka.testing.targets - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rdkafka_complex_consumer_example_cpp", "rdkafka_complex_consumer_example_cpp\rdkafka_complex_consumer_example_cpp.vcxproj", "{88B682AB-5082-49D5-A672-9904C5F43ABB}" - ProjectSection(ProjectDependencies) = postProject - {E9641737-EE62-4EC8-88C8-792D2E3CE32D} = {E9641737-EE62-4EC8-88C8-792D2E3CE32D} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rdkafka_performance", "rdkafka_performance\rdkafka_performance.vcxproj", "{82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}" - ProjectSection(ProjectDependencies) = postProject - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54} = {4BEBB59C-477B-4F7A-8AE8-4228D0861E54} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "interceptor_test", "interceptor_test\interceptor_test.vcxproj", "{492CF5A9-EBF5-494E-8F71-B9B262C4D220}" - ProjectSection(ProjectDependencies) = postProject - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54} = {4BEBB59C-477B-4F7A-8AE8-4228D0861E54} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "win_ssl_cert_store", "win_ssl_cert_store\win_ssl_cert_store.vcxproj", "{1A64A271-4840-4686-9F6F-F5AF0F7C385A}" - ProjectSection(ProjectDependencies) = postProject - {E9641737-EE62-4EC8-88C8-792D2E3CE32D} = {E9641737-EE62-4EC8-88C8-792D2E3CE32D} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openssl_engine_example", "openssl_engine_example\openssl_engine_example.vcxproj", "{A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}" - ProjectSection(ProjectDependencies) = postProject - {E9641737-EE62-4EC8-88C8-792D2E3CE32D} = {E9641737-EE62-4EC8-88C8-792D2E3CE32D} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|Mixed Platforms = Release|Mixed Platforms - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Debug|Win32.ActiveCfg = Debug|Win32 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Debug|Win32.Build.0 = Debug|Win32 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Debug|x64.ActiveCfg = Debug|x64 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Debug|x64.Build.0 = Debug|x64 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Debug|x86.ActiveCfg = Debug|Win32 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Release|Any CPU.ActiveCfg = Release|Win32 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Release|Mixed Platforms.Build.0 = Release|Win32 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Release|Win32.ActiveCfg = Release|Win32 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Release|Win32.Build.0 = Release|Win32 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Release|x64.ActiveCfg = Release|x64 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Release|x64.Build.0 = Release|x64 - {4BEBB59C-477B-4F7A-8AE8-4228D0861E54}.Release|x86.ActiveCfg = Release|Win32 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Debug|Win32.ActiveCfg = Debug|Win32 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Debug|Win32.Build.0 = Debug|Win32 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Debug|x64.ActiveCfg = Debug|x64 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Debug|x64.Build.0 = Debug|x64 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Debug|x86.ActiveCfg = Debug|Win32 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Release|Any CPU.ActiveCfg = Release|Win32 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Release|Mixed Platforms.Build.0 = Release|Win32 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Release|Win32.ActiveCfg = Release|Win32 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Release|Win32.Build.0 = Release|Win32 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Release|x64.ActiveCfg = Release|x64 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Release|x64.Build.0 = Release|x64 - {E9641737-EE62-4EC8-88C8-792D2E3CE32D}.Release|x86.ActiveCfg = Release|Win32 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Debug|Win32.ActiveCfg = Debug|Win32 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Debug|Win32.Build.0 = Debug|Win32 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Debug|x64.ActiveCfg = Debug|x64 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Debug|x64.Build.0 = Debug|x64 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Debug|x86.ActiveCfg = Debug|Win32 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Release|Any CPU.ActiveCfg = Release|Win32 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Release|Mixed Platforms.Build.0 = Release|Win32 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Release|Win32.ActiveCfg = Release|Win32 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Release|Win32.Build.0 = Release|Win32 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Release|x64.ActiveCfg = Release|x64 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Release|x64.Build.0 = Release|x64 - {BE4E1264-5D13-423D-8191-71F7041459E7}.Release|x86.ActiveCfg = Release|Win32 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Debug|Win32.ActiveCfg = Debug|Win32 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Debug|Win32.Build.0 = Debug|Win32 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Debug|x64.ActiveCfg = Debug|x64 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Debug|x64.Build.0 = Debug|x64 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Debug|x86.ActiveCfg = Debug|Win32 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Release|Any CPU.ActiveCfg = Release|Win32 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Release|Mixed Platforms.Build.0 = Release|Win32 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Release|Win32.ActiveCfg = Release|Win32 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Release|Win32.Build.0 = Release|Win32 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Release|x64.ActiveCfg = Release|x64 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Release|x64.Build.0 = Release|x64 - {84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Release|x86.ActiveCfg = Release|Win32 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Debug|Win32.ActiveCfg = Debug|Win32 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Debug|Win32.Build.0 = Debug|Win32 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Debug|x64.ActiveCfg = Debug|x64 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Debug|x64.Build.0 = Debug|x64 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Debug|x86.ActiveCfg = Debug|Win32 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Release|Any CPU.ActiveCfg = Release|Win32 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Release|Mixed Platforms.Build.0 = Release|Win32 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Release|Win32.ActiveCfg = Release|Win32 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Release|Win32.Build.0 = Release|Win32 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Release|x64.ActiveCfg = Release|x64 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Release|x64.Build.0 = Release|x64 - {88B682AB-5082-49D5-A672-9904C5F43ABB}.Release|x86.ActiveCfg = Release|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Debug|Win32.ActiveCfg = Debug|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Debug|Win32.Build.0 = Debug|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Debug|x64.ActiveCfg = Debug|x64 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Debug|x64.Build.0 = Debug|x64 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Debug|x86.ActiveCfg = Debug|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Debug|x86.Build.0 = Debug|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Release|Any CPU.ActiveCfg = Release|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Release|Mixed Platforms.Build.0 = Release|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Release|Win32.ActiveCfg = Release|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Release|Win32.Build.0 = Release|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Release|x64.ActiveCfg = Release|x64 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Release|x64.Build.0 = Release|x64 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Release|x86.ActiveCfg = Release|Win32 - {82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}.Release|x86.Build.0 = Release|Win32 - {492CF5A9-EBF5-494E-8F71-B9B262C4D220}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {492CF5A9-EBF5-494E-8F71-B9B262C4D220}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {492CF5A9-EBF5-494E-8F71-B9B262C4D220}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {492CF5A9-EBF5-494E-8F71-B9B262C4D220}.Debug|Win32.ActiveCfg = Debug|Win32 - {492CF5A9-EBF5-494E-8F71-B9B262C4D220}.Debug|x64.ActiveCfg = Debug|x64 - {492CF5A9-EBF5-494E-8F71-B9B262C4D220}.Debug|x86.ActiveCfg = Debug|Win32 - {492CF5A9-EBF5-494E-8F71-B9B262C4D220}.Release|Any CPU.ActiveCfg = Release|Win32 - {492CF5A9-EBF5-494E-8F71-B9B262C4D220}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {492CF5A9-EBF5-494E-8F71-B9B262C4D220}.Release|Mixed Platforms.Build.0 = Release|Win32 - {492CF5A9-EBF5-494E-8F71-B9B262C4D220}.Release|Win32.ActiveCfg = Release|Win32 - {492CF5A9-EBF5-494E-8F71-B9B262C4D220}.Release|x64.ActiveCfg = Release|x64 - {492CF5A9-EBF5-494E-8F71-B9B262C4D220}.Release|x86.ActiveCfg = Release|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Debug|Win32.ActiveCfg = Debug|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Debug|Win32.Build.0 = Debug|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Debug|x64.ActiveCfg = Debug|x64 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Debug|x64.Build.0 = Debug|x64 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Debug|x86.ActiveCfg = Debug|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Debug|x86.Build.0 = Debug|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Release|Any CPU.ActiveCfg = Release|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Release|Mixed Platforms.Build.0 = Release|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Release|Win32.ActiveCfg = Release|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Release|Win32.Build.0 = Release|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Release|x64.ActiveCfg = Release|x64 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Release|x64.Build.0 = Release|x64 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Release|x86.ActiveCfg = Release|Win32 - {1A64A271-4840-4686-9F6F-F5AF0F7C385A}.Release|x86.Build.0 = Release|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Debug|Win32.ActiveCfg = Debug|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Debug|Win32.Build.0 = Debug|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Debug|x64.ActiveCfg = Debug|x64 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Debug|x64.Build.0 = Debug|x64 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Debug|arm64.ActiveCfg = Debug|arm64 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Debug|arm64.Build.0 = Debug|arm64 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Debug|x86.ActiveCfg = Debug|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Debug|x86.Build.0 = Debug|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Release|Any CPU.ActiveCfg = Release|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Release|Mixed Platforms.Build.0 = Release|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Release|Win32.ActiveCfg = Release|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Release|Win32.Build.0 = Release|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Release|x64.ActiveCfg = Release|x64 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Release|x64.Build.0 = Release|x64 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Release|arm64.ActiveCfg = Release|arm64 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Release|arm64.Build.0 = Release|arm64 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Release|x86.ActiveCfg = Release|Win32 - {A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}.Release|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {C6FC23A9-9ED2-4E8F-AC27-BF023227C588} - EndGlobalSection -EndGlobal diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafka.vcxproj b/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafka.vcxproj deleted file mode 100644 index 2735fca9..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafka.vcxproj +++ /dev/null @@ -1,258 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup Label="Globals">
- <ProjectGuid>{4BEBB59C-477B-4F7A-8AE8-4228D0861E54}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>librdkafka</RootNamespace>
- <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
- </PropertyGroup>
- <PropertyGroup Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- </PropertyGroup>
- <Import Project="$(SolutionDir)common.vcxproj" />
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Platform)'=='Win32'">
- <IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath)</IncludePath>
- <LibraryPath>$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86)</LibraryPath>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Platform)'=='x64'">
- <IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath)</IncludePath>
- <LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64)</LibraryPath>
- </PropertyGroup>
- <PropertyGroup Label="Vcpkg">
- <VcpkgEnableManifest>true</VcpkgEnableManifest>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBRDKAFKA_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <InlineFunctionExpansion>Default</InlineFunctionExpansion>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
- <AdditionalOptions>/J %(AdditionalOptions)</AdditionalOptions>
- <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBRDKAFKA_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <InlineFunctionExpansion>Default</InlineFunctionExpansion>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
- <AdditionalOptions>/J %(AdditionalOptions)</AdditionalOptions>
- <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBRDKAFKA_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <AdditionalOptions>/SAFESEH:NO</AdditionalOptions>
- <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBRDKAFKA_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClInclude Include="..\src\cJSON.h" />
- <ClInclude Include="..\src\crc32c.h" />
- <ClInclude Include="..\src\queue.h" />
- <ClInclude Include="..\src\rdatomic.h" />
- <ClInclude Include="..\src\rdavg.h" />
- <ClInclude Include="..\src\rdbuf.h" />
- <ClInclude Include="..\src\rdendian.h" />
- <ClInclude Include="..\src\rdfloat.h" />
- <ClInclude Include="..\src\rdgz.h" />
- <ClInclude Include="..\src\rdinterval.h" />
- <ClInclude Include="..\src\rdkafka_admin.h" />
- <ClInclude Include="..\src\rdkafka_assignor.h" />
- <ClInclude Include="..\src\rdkafka_buf.h" />
- <ClInclude Include="..\src\rdkafka_cgrp.h" />
- <ClInclude Include="..\src\rdkafka_conf.h" />
- <ClInclude Include="..\src\rdkafka_confval.h" />
- <ClInclude Include="..\src\rdkafka_event.h" />
- <ClInclude Include="..\src\rdkafka_feature.h" />
- <ClInclude Include="..\src\rdhttp.h" />
- <ClInclude Include="..\src\rdkafka_lz4.h" />
- <ClInclude Include="..\src\rdkafka_mock.h" />
- <ClInclude Include="..\src\rdkafka_mock_int.h" />
- <ClInclude Include="..\src\rdkafka_error.h" />
- <ClInclude Include="..\src\rdkafka_msgset.h" />
- <ClInclude Include="..\src\rdkafka_op.h" />
- <ClInclude Include="..\src\rdkafka_partition.h" />
- <ClInclude Include="..\src\rdkafka_pattern.h" />
- <ClInclude Include="..\src\rdkafka_queue.h" />
- <ClInclude Include="..\src\rdkafka_request.h" />
- <ClInclude Include="..\src\rdkafka_sasl.h" />
- <ClInclude Include="..\src\rdkafka_sasl_int.h" />
- <ClInclude Include="..\src\rdkafka_sasl_oauthbearer_oidc.h" />
- <ClInclude Include="..\src\rdkafka_transport_int.h" />
- <ClInclude Include="..\src\rdlist.h" />
- <ClInclude Include="..\src\rdposix.h" />
- <ClInclude Include="..\src\rd.h" />
- <ClInclude Include="..\src\rdaddr.h" />
- <ClInclude Include="..\src\rdcrc32.h" />
- <ClInclude Include="..\src\rdkafka.h" />
- <ClInclude Include="..\src\rdkafka_broker.h" />
- <ClInclude Include="..\src\rdkafka_int.h" />
- <ClInclude Include="..\src\rdkafka_msg.h" />
- <ClInclude Include="..\src\rdkafka_offset.h" />
- <ClInclude Include="..\src\rdkafka_proto.h" />
- <ClInclude Include="..\src\rdkafka_timer.h" />
- <ClInclude Include="..\src\rdkafka_topic.h" />
- <ClInclude Include="..\src\rdkafka_transport.h" />
- <ClInclude Include="..\src\rdkafka_ssl.h" />
- <ClInclude Include="..\src\rdkafka_cert.h" />
- <ClInclude Include="..\src\rdkafka_metadata.h" />
- <ClInclude Include="..\src\rdkafka_interceptor.h" />
- <ClInclude Include="..\src\rdkafka_plugin.h" />
- <ClInclude Include="..\src\rdkafka_header.h" />
- <ClInclude Include="..\src\rdlog.h" />
- <ClInclude Include="..\src\rdstring.h" />
- <ClInclude Include="..\src\rdrand.h" />
- <ClInclude Include="..\src\rdsysqueue.h" />
- <ClInclude Include="..\src\rdtime.h" />
- <ClInclude Include="..\src\rdtypes.h" />
- <ClInclude Include="..\src\rdregex.h" />
- <ClInclude Include="..\src\rdunittest.h" />
- <ClInclude Include="..\src\rdvarint.h" />
- <ClInclude Include="..\src\snappy.h" />
- <ClInclude Include="..\src\snappy_compat.h" />
- <ClInclude Include="..\src\tinycthread.h" />
- <ClInclude Include="..\src\tinycthread_extra.h" />
- <ClInclude Include="..\src\rdwin32.h" />
- <ClInclude Include="..\src\win32_config.h" />
- <ClInclude Include="..\src\regexp.h" />
- <ClInclude Include="..\src\rdavl.h" />
- <ClInclude Include="..\src\rdports.h" />
- <ClInclude Include="..\src\rddl.h" />
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="..\src\cJSON.c" />
- <ClCompile Include="..\src\crc32c.c" />
- <ClCompile Include="..\src\rdaddr.c" />
- <ClCompile Include="..\src\rdbuf.c" />
- <ClCompile Include="..\src\rdcrc32.c" />
- <ClCompile Include="..\src\rdfnv1a.c" />
- <ClCompile Include="..\src\rdgz.c" />
- <ClCompile Include="..\src\rdhdrhistogram.c" />
- <ClCompile Include="..\src\rdkafka.c" />
- <ClCompile Include="..\src\rdkafka_assignor.c" />
- <ClCompile Include="..\src\rdkafka_broker.c" />
- <ClCompile Include="..\src\rdkafka_cgrp.c" />
- <ClCompile Include="..\src\rdkafka_conf.c" />
- <ClCompile Include="..\src\rdkafka_event.c" />
- <ClCompile Include="..\src\rdhttp.c" />
- <ClCompile Include="..\src\rdkafka_lz4.c" />
- <ClCompile Include="..\src\rdkafka_msg.c" />
- <ClCompile Include="..\src\rdkafka_msgset_reader.c" />
- <ClCompile Include="..\src\rdkafka_msgset_writer.c" />
- <ClCompile Include="..\src\rdkafka_offset.c" />
- <ClCompile Include="..\src\rdkafka_op.c" />
- <ClCompile Include="..\src\rdkafka_partition.c" />
- <ClCompile Include="..\src\rdkafka_pattern.c" />
- <ClCompile Include="..\src\rdkafka_queue.c" />
- <ClCompile Include="..\src\rdkafka_range_assignor.c" />
- <ClCompile Include="..\src\rdkafka_roundrobin_assignor.c" />
- <ClCompile Include="..\src\rdkafka_sticky_assignor.c" />
- <ClCompile Include="..\src\rdkafka_request.c" />
- <ClCompile Include="..\src\rdkafka_sasl.c" />
- <ClCompile Include="..\src\rdkafka_sasl_win32.c" />
- <ClCompile Include="..\src\rdkafka_sasl_plain.c" />
- <ClCompile Include="..\src\rdkafka_sasl_scram.c" />
- <ClCompile Include="..\src\rdkafka_sasl_oauthbearer.c" />
- <ClCompile Include="..\src\rdkafka_sasl_oauthbearer_oidc.c" />
- <ClCompile Include="..\src\rdkafka_subscription.c" />
- <ClCompile Include="..\src\rdkafka_assignment.c" />
- <ClCompile Include="..\src\rdkafka_timer.c" />
- <ClCompile Include="..\src\rdkafka_topic.c" />
- <ClCompile Include="..\src\rdkafka_transport.c" />
- <ClCompile Include="..\src\rdkafka_ssl.c" />
- <ClCompile Include="..\src\rdkafka_cert.c" />
- <ClCompile Include="..\src\rdkafka_buf.c" />
- <ClCompile Include="..\src\rdkafka_feature.c" />
- <ClCompile Include="..\src\rdkafka_metadata.c" />
- <ClCompile Include="..\src\rdkafka_metadata_cache.c" />
- <ClCompile Include="..\src\rdkafka_interceptor.c" />
- <ClCompile Include="..\src\rdkafka_plugin.c" />
- <ClCompile Include="..\src\rdkafka_header.c" />
- <ClCompile Include="..\src\rdkafka_admin.c" />
- <ClCompile Include="..\src\rdkafka_aux.c" />
- <ClCompile Include="..\src\rdkafka_background.c" />
- <ClCompile Include="..\src\rdkafka_idempotence.c" />
- <ClCompile Include="..\src\rdkafka_txnmgr.c" />
- <ClCompile Include="..\src\rdkafka_coord.c" />
- <ClCompile Include="..\src\rdkafka_zstd.c" />
- <ClCompile Include="..\src\rdkafka_mock.c" />
- <ClCompile Include="..\src\rdkafka_mock_handlers.c" />
- <ClCompile Include="..\src\rdkafka_mock_cgrp.c" />
- <ClCompile Include="..\src\rdkafka_error.c" />
- <ClCompile Include="..\src\rdkafka_fetcher.c" />
- <ClCompile Include="..\src\rdlist.c" />
- <ClCompile Include="..\src\rdlog.c" />
- <ClCompile Include="..\src\rdmurmur2.c" />
- <ClCompile Include="..\src\rdstring.c" />
- <ClCompile Include="..\src\rdrand.c" />
- <ClCompile Include="..\src\rdregex.c" />
- <ClCompile Include="..\src\rdunittest.c" />
- <ClCompile Include="..\src\rdvarint.c" />
- <ClCompile Include="..\src\rdmap.c" />
- <ClCompile Include="..\src\snappy.c" />
- <ClCompile Include="..\src\tinycthread.c" />
- <ClCompile Include="..\src\tinycthread_extra.c" />
- <ClCompile Include="..\src\regexp.c" />
- <ClCompile Include="..\src\rdports.c" />
- <ClCompile Include="..\src\rdavl.c" />
- <ClCompile Include="..\src\rdxxhash.c" />
- <ClCompile Include="..\src\lz4.c" />
- <ClCompile Include="..\src\lz4frame.c" />
- <ClCompile Include="..\src\lz4hc.c" />
- <ClCompile Include="..\src\rddl.c" />
- </ItemGroup>
- <ItemGroup>
- <None Include="..\README.win32" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
-</Project>
diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafkacpp/librdkafkacpp.vcxproj b/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafkacpp/librdkafkacpp.vcxproj deleted file mode 100644 index ffce7018..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/librdkafkacpp/librdkafkacpp.vcxproj +++ /dev/null @@ -1,104 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup Label="Globals">
- <ProjectGuid>{E9641737-EE62-4EC8-88C8-792D2E3CE32D}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>librdkafkacpp</RootNamespace>
- <ProjectName>librdkafkacpp</ProjectName>
- <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
- </PropertyGroup>
- <PropertyGroup Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- </PropertyGroup>
- <Import Project="$(SolutionDir)common.vcxproj"/>
- <PropertyGroup Label="UserMacros" />
-
- <ItemDefinitionGroup>
- <Link>
- <SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalDependencies>librdkafka.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;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories>
- </Link>
- </ItemDefinitionGroup>
-
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBRDKAFKACPP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- <AdditionalOptions>/J %(AdditionalOptions)</AdditionalOptions>
- <AdditionalIncludeDirectories>
- </AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBRDKAFKACPP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- <AdditionalOptions>/J %(AdditionalOptions)</AdditionalOptions>
- <AdditionalIncludeDirectories>
- </AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBRDKAFKACPP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- </ClCompile>
- <Link>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBRDKAFKACPP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\src-cpp\ConfImpl.cpp" />
- <ClCompile Include="..\..\src-cpp\ConsumerImpl.cpp" />
- <ClCompile Include="..\..\src-cpp\HandleImpl.cpp" />
- <ClCompile Include="..\..\src-cpp\KafkaConsumerImpl.cpp" />
- <ClCompile Include="..\..\src-cpp\HeadersImpl.cpp" />
- <ClCompile Include="..\..\src-cpp\MessageImpl.cpp" />
- <ClCompile Include="..\..\src-cpp\MetadataImpl.cpp" />
- <ClCompile Include="..\..\src-cpp\ProducerImpl.cpp" />
- <ClCompile Include="..\..\src-cpp\QueueImpl.cpp" />
- <ClCompile Include="..\..\src-cpp\RdKafka.cpp" />
- <ClCompile Include="..\..\src-cpp\TopicImpl.cpp" />
- <ClCompile Include="..\..\src-cpp\TopicPartitionImpl.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="..\..\src-cpp\rdkafkacpp.h" />
- <ClInclude Include="..\..\src-cpp\rdkafkacpp_int.h" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project>
diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/msbuild.ps1 b/fluent-bit/lib/librdkafka-2.1.0/win32/msbuild.ps1 deleted file mode 100644 index 527d3e66..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/msbuild.ps1 +++ /dev/null @@ -1,15 +0,0 @@ -param( - [string]$config='Release', - [string]$platform='x64', - [string]$toolset='v142' -) - -$msbuild = (& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -products * -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe) - -echo "Using msbuild $msbuild" - -echo "Cleaning $config $platform $toolset" -& $msbuild win32\librdkafka.sln /p:Configuration=$config /p:Platform=$platform /p:PlatformToolset=$toolset /target:Clean - -echo "Building $config $platform $toolset" -& $msbuild win32\librdkafka.sln /p:Configuration=$config /p:Platform=$platform /p:PlatformToolset=$toolset diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/openssl_engine_example/openssl_engine_example.vcxproj b/fluent-bit/lib/librdkafka-2.1.0/win32/openssl_engine_example/openssl_engine_example.vcxproj deleted file mode 100644 index 933d1c6a..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/openssl_engine_example/openssl_engine_example.vcxproj +++ /dev/null @@ -1,132 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$(SolutionDir)common.vcxproj" /> - <ItemGroup> - <ClCompile Include="..\..\examples\openssl_engine_example.cpp" /> - <ClCompile Include="..\wingetopt.c" /> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{A3C4011E-F82E-4E97-9ADB-33B1ECE001A7}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - <RootNamespace>openssl_engine_example</RootNamespace> - <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <WholeProgramOptimization>true</WholeProgramOptimization> - <CharacterSet>Unicode</CharacterSet> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <WholeProgramOptimization>true</WholeProgramOptimization> - <CharacterSet>Unicode</CharacterSet> - </PropertyGroup> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Label="Shared"> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <LinkIncremental>true</LinkIncremental> - <IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)/../src-cpp</IncludePath> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <LinkIncremental>true</LinkIncremental> - <IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)/../src-cpp</IncludePath> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <LinkIncremental>false</LinkIncremental> - <IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)/../src-cpp</IncludePath> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <LinkIncremental>false</LinkIncremental> - <IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)/../src-cpp</IncludePath> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PrecompiledHeader>NotUsing</PrecompiledHeader> - <WarningLevel>Level3</WarningLevel> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <PrecompiledHeaderFile /> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories> - <AdditionalDependencies>librdkafka.lib;librdkafkacpp.lib;ws2_32.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;Crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PrecompiledHeader>NotUsing</PrecompiledHeader> - <WarningLevel>Level3</WarningLevel> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <PrecompiledHeaderFile /> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories> - <AdditionalDependencies>librdkafka.lib;librdkafkacpp.lib;ws2_32.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;Crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <WarningLevel>Level3</WarningLevel> - <PrecompiledHeader>NotUsing</PrecompiledHeader> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <PrecompiledHeaderFile /> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - <GenerateDebugInformation>true</GenerateDebugInformation> - <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories> - <AdditionalDependencies>librdkafka.lib;librdkafkacpp.lib;ws2_32.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;Crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <WarningLevel>Level3</WarningLevel> - <PrecompiledHeader>NotUsing</PrecompiledHeader> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <PrecompiledHeaderFile /> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - <GenerateDebugInformation>true</GenerateDebugInformation> - <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories> - <AdditionalDependencies>librdkafka.lib;librdkafkacpp.lib;ws2_32.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;Crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies> - </Link> - </ItemDefinitionGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project> diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/package-zip.ps1 b/fluent-bit/lib/librdkafka-2.1.0/win32/package-zip.ps1 deleted file mode 100644 index 34dd0ab1..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/package-zip.ps1 +++ /dev/null @@ -1,46 +0,0 @@ -<# -.SYNOPSIS - - Create zip package - - -.DESCRIPTION - - A full build must be completed, to populate output directories, before - - running this script. - - Use build.bat to build - -#> - -param( - [string]$config='Release', - [string]$platform='x64', - [string]$toolset='v142', - [string]$version='0.0.0' -) - -$msbuild = (& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -products * -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe) - -echo "Packaging $config $platform $toolset" - -$bindir = "build\native\bin\${toolset}\${platform}\$config" -$libdir = "build\native\lib\${toolset}\${platform}\$config" -$srcdir = "win32\outdir\${toolset}\${platform}\$config" - -New-Item -Path $bindir -ItemType Directory -New-Item -Path $libdir -ItemType Directory - -$platformpart = "" -if ("x64" -eq $platform) { - $platformpart = "-${platform}" -} - -Copy-Item "${srcdir}\librdkafka.dll","${srcdir}\librdkafkacpp.dll", -"${srcdir}\libcrypto-3${platformpart}.dll","${srcdir}\libssl-3${platformpart}.dll", -"${srcdir}\zlib1.dll","${srcdir}\zstd.dll","${srcdir}\libcurl.dll" -Destination $bindir - -Copy-Item "${srcdir}\librdkafka.lib","${srcdir}\librdkafkacpp.lib" -Destination $libdir - -7z.exe a "artifacts\librdkafka.redist.zip" "build" diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/packages/repositories.config b/fluent-bit/lib/librdkafka-2.1.0/win32/packages/repositories.config deleted file mode 100644 index 0dec135f..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/packages/repositories.config +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<repositories> - <repository path="..\packages.config" /> -</repositories>
\ No newline at end of file diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/push-package.bat b/fluent-bit/lib/librdkafka-2.1.0/win32/push-package.bat deleted file mode 100644 index aa6e75fc..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/push-package.bat +++ /dev/null @@ -1,4 +0,0 @@ -set pkgversion=0.9.3-pre-wip1 -nuget push librdkafka.%pkgversion%.nupkg -Source https://www.nuget.org/api/v2/package -nuget push librdkafka.redist.%pkgversion%.nupkg -Source https://www.nuget.org/api/v2/package -nuget push librdkafka.symbols.%pkgversion%.nupkg -Source https://www.nuget.org/api/v2/package diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/rdkafka_complex_consumer_example_cpp/rdkafka_complex_consumer_example_cpp.vcxproj b/fluent-bit/lib/librdkafka-2.1.0/win32/rdkafka_complex_consumer_example_cpp/rdkafka_complex_consumer_example_cpp.vcxproj deleted file mode 100644 index 75d9449c..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/rdkafka_complex_consumer_example_cpp/rdkafka_complex_consumer_example_cpp.vcxproj +++ /dev/null @@ -1,67 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <PropertyGroup Label="Globals"> - <ProjectGuid>{88B682AB-5082-49D5-A672-9904C5F43ABB}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - <RootNamespace>rdkafka_complex_consumer_example_cpp</RootNamespace> - <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> - </PropertyGroup> - <Import Project="$(SolutionDir)common.vcxproj"/> - <PropertyGroup Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - </PropertyGroup> - <PropertyGroup Label="UserMacros" /> - <ItemDefinitionGroup> - <Link> - <SubSystem>Console</SubSystem> -<AdditionalDependencies>librdkafka.lib;librdkafkacpp.lib;ws2_32.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;%(AdditionalDependencies)</AdditionalDependencies> - <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories> - </Link> - </ItemDefinitionGroup> - - <ItemDefinitionGroup> - <ClCompile> - <WarningLevel>Level3</WarningLevel> - <Optimization>Enabled</Optimization> - <PreprocessorDefinitions>WIN32;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)..\src-cpp</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - </Link> - </ItemDefinitionGroup> - - <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'"> - <ClCompile> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> - <ClCompile> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - </ClCompile> - <Link> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - <GenerateDebugInformation>true</GenerateDebugInformation> - </Link> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="..\..\examples\rdkafka_complex_consumer_example.cpp" /> - <ClCompile Include="..\wingetopt.c" /> - </ItemGroup> - <ItemGroup> - <ClInclude Include="..\wingetopt.h" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project> diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/rdkafka_example/rdkafka_example.vcxproj b/fluent-bit/lib/librdkafka-2.1.0/win32/rdkafka_example/rdkafka_example.vcxproj deleted file mode 100644 index a5e35c5c..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/rdkafka_example/rdkafka_example.vcxproj +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup Label="Globals">
- <ProjectGuid>{84585784-5BDC-43BE-B714-23EA2E7AEA5B}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>rdkafka_example</RootNamespace>
- <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
- </PropertyGroup>
- <Import Project="$(SolutionDir)common.vcxproj"/>
- <PropertyGroup Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- </PropertyGroup>
- <ItemDefinitionGroup>
- <Link>
- <SubSystem>Console</SubSystem>
- <AdditionalDependencies>librdkafkacpp.lib;ws2_32.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;crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories>
- </Link>
- </ItemDefinitionGroup>
-
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- <AdditionalIncludeDirectories>$(SolutionDir)/../src-cpp</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- <AdditionalIncludeDirectories>$(SolutionDir)/../src-cpp</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- <AdditionalIncludeDirectories>$(SolutionDir)/../src-cpp</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- <AdditionalIncludeDirectories>$(SolutionDir)/../src-cpp</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="..\..\examples\rdkafka_example.cpp" />
- <ClCompile Include="..\wingetopt.c" />
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="..\wingetopt.h" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project>
diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/rdkafka_performance/rdkafka_performance.vcxproj b/fluent-bit/lib/librdkafka-2.1.0/win32/rdkafka_performance/rdkafka_performance.vcxproj deleted file mode 100644 index f4816614..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/rdkafka_performance/rdkafka_performance.vcxproj +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <PropertyGroup Label="Globals"> - <ProjectGuid>{82A67CAA-44B5-4F7D-BAC4-D126CC81FBEC}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - <RootNamespace>rdkafka_performance</RootNamespace> - <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> - </PropertyGroup> - <Import Project="$(SolutionDir)common.vcxproj" /> - <PropertyGroup Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - </PropertyGroup> - <ItemDefinitionGroup> - <Link> - <SubSystem>Console</SubSystem> - <AdditionalDependencies>librdkafka.lib;ws2_32.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;%(AdditionalDependencies)</AdditionalDependencies> - <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PrecompiledHeader> - </PrecompiledHeader> - <WarningLevel>Level3</WarningLevel> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)/../src</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PrecompiledHeader> - </PrecompiledHeader> - <WarningLevel>Level3</WarningLevel> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)/../src</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <GenerateDebugInformation>true</GenerateDebugInformation> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <WarningLevel>Level3</WarningLevel> - <PrecompiledHeader> - </PrecompiledHeader> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)/../src</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <WarningLevel>Level3</WarningLevel> - <PrecompiledHeader> - </PrecompiledHeader> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)/../src</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="..\..\examples\rdkafka_performance.c" /> - <ClCompile Include="..\wingetopt.c" /> - </ItemGroup> - <ItemGroup> - <ClInclude Include="..\wingetopt.h" /> - <ClInclude Include="..\wintime.h" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project> diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/setup-msys2.ps1 b/fluent-bit/lib/librdkafka-2.1.0/win32/setup-msys2.ps1 deleted file mode 100644 index cf728504..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/setup-msys2.ps1 +++ /dev/null @@ -1,31 +0,0 @@ -# Install (if necessary) and set up msys2. - - -$url="https://github.com/msys2/msys2-installer/releases/download/2022-10-28/msys2-base-x86_64-20221028.sfx.exe" -$sha256="e365b79b4b30b6f4baf34bd93f3d2a41c0a92801c7a96d79cddbfca1090a0554" - - -if (!(Test-Path -Path "c:\msys64\usr\bin\bash.exe")) { - echo "Downloading and installing msys2 to c:\msys64" - - (New-Object System.Net.WebClient).DownloadFile($url, './msys2-installer.exe') - - # Verify checksum - (Get-FileHash -Algorithm "SHA256" .\msys2-installer.exe).hash -eq $sha256 - - # Install msys2 - .\msys2-installer.exe -y -oc:\ - - Remove-Item msys2-installer.exe - - # Set up msys2 the first time - echo "Setting up msys" - c:\msys64\usr\bin\bash -lc ' ' - -} else { - echo "Using previously installed msys2" -} - -# Update packages -echo "Updating msys2 packages" -c:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu --overwrite '*'" diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/setup-vcpkg.ps1 b/fluent-bit/lib/librdkafka-2.1.0/win32/setup-vcpkg.ps1 deleted file mode 100644 index c2bd78b8..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/setup-vcpkg.ps1 +++ /dev/null @@ -1,13 +0,0 @@ -# Set up vcpkg and install required packages. - -if (!(Test-Path -Path vcpkg/.git)) { - git clone https://github.com/Microsoft/vcpkg.git -} - -cd vcpkg -# latest version is having an issue while doing vcpkg integrate install -git checkout 328bd79eb8340b8958f567aaf5f8ffb81056cd36 -cd .. - -.\vcpkg\bootstrap-vcpkg.bat - diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/tests/.gitignore b/fluent-bit/lib/librdkafka-2.1.0/win32/tests/.gitignore deleted file mode 100644 index a2128016..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/tests/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -test.conf -*.json - diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/tests/test.conf.example b/fluent-bit/lib/librdkafka-2.1.0/win32/tests/test.conf.example deleted file mode 100644 index ef0b5475..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/tests/test.conf.example +++ /dev/null @@ -1,25 +0,0 @@ -# Copy this file to test.conf and set up according to your configuration. - -# -# Test configuration -# -# For slow connections: multiply test timeouts by this much (float) -#test.timeout.multiplier=3.5 - -# Test topic names are constructed by: -# <prefix>_<suffix>, where default topic prefix is "rdkafkatest". -# suffix is specified by the tests. -#test.topic.prefix=bib - -# Make topic names random: -# <prefix>_<randomnumber>_<suffix> -#test.topic.random=true - - -# Bootstrap broker(s) -metadata.broker.list=localhost:9092 - -# Debugging -#debug=metadata,topic,msg,broker - -# Any other librdkafka configuration property. diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/tests/tests.vcxproj b/fluent-bit/lib/librdkafka-2.1.0/win32/tests/tests.vcxproj deleted file mode 100644 index de69a62d..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/tests/tests.vcxproj +++ /dev/null @@ -1,237 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <PropertyGroup Label="Globals"> - <ProjectGuid>{BE4E1264-5D13-423D-8191-71F7041459E7}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - <RootNamespace>tests</RootNamespace> - <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> - </PropertyGroup> - <Import Project="$(SolutionDir)common.vcxproj" /> - <PropertyGroup Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - </PropertyGroup> - <PropertyGroup Label="UserMacros" /> - <ItemDefinitionGroup> - <Link> - <SubSystem>Console</SubSystem> -<AdditionalDependencies>librdkafka.lib;librdkafkacpp.lib;ws2_32.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;%(AdditionalDependencies)</AdditionalDependencies> - <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories> - </Link> - </ItemDefinitionGroup> - - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PrecompiledHeader> - </PrecompiledHeader> - <WarningLevel>Level3</WarningLevel> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\src-cpp</AdditionalIncludeDirectories> - <ShowIncludes>false</ShowIncludes> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PrecompiledHeader> - </PrecompiledHeader> - <WarningLevel>Level3</WarningLevel> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\src-cpp</AdditionalIncludeDirectories> - <ShowIncludes>false</ShowIncludes> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <WarningLevel>Level3</WarningLevel> - <PrecompiledHeader> - </PrecompiledHeader> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\src-cpp</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <WarningLevel>Level3</WarningLevel> - <PrecompiledHeader> - </PrecompiledHeader> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\src-cpp</AdditionalIncludeDirectories> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - </Link> - </ItemDefinitionGroup> - <ItemGroup> - <ClCompile Include="..\..\tests\0000-unittests.c" /> - <ClCompile Include="..\..\tests\0001-multiobj.c" /> - <ClCompile Include="..\..\tests\0002-unkpart.c" /> - <ClCompile Include="..\..\tests\0003-msgmaxsize.c" /> - <ClCompile Include="..\..\tests\0004-conf.c" /> - <ClCompile Include="..\..\tests\0005-order.c" /> - <ClCompile Include="..\..\tests\0006-symbols.c" /> - <ClCompile Include="..\..\tests\0007-autotopic.c" /> - <ClCompile Include="..\..\tests\0008-reqacks.c" /> - <ClCompile Include="..\..\tests\0009-mock_cluster.c" /> - <ClCompile Include="..\..\tests\0011-produce_batch.c" /> - <ClCompile Include="..\..\tests\0012-produce_consume.c" /> - <ClCompile Include="..\..\tests\0013-null-msgs.c" /> - <ClCompile Include="..\..\tests\0014-reconsume-191.c" /> - <ClCompile Include="..\..\tests\0015-offset_seeks.c" /> - <ClCompile Include="..\..\tests\0016-client_swname.c" /> - <ClCompile Include="..\..\tests\0017-compression.c" /> - <ClCompile Include="..\..\tests\0018-cgrp_term.c" /> - <ClCompile Include="..\..\tests\0019-list_groups.c" /> - <ClCompile Include="..\..\tests\0020-destroy_hang.c" /> - <ClCompile Include="..\..\tests\0021-rkt_destroy.c" /> - <ClCompile Include="..\..\tests\0022-consume_batch.c" /> - <ClCompile Include="..\..\tests\0025-timers.c" /> - <ClCompile Include="..\..\tests\0026-consume_pause.c" /> - <ClCompile Include="..\..\tests\0028-long_topicnames.c" /> - <ClCompile Include="..\..\tests\0029-assign_offset.c" /> - <ClCompile Include="..\..\tests\0030-offset_commit.c" /> - <ClCompile Include="..\..\tests\0031-get_offsets.c" /> - <ClCompile Include="..\..\tests\0033-regex_subscribe.c" /> - <ClCompile Include="..\..\tests\0034-offset_reset.c" /> - <ClCompile Include="..\..\tests\0035-api_version.c" /> - <ClCompile Include="..\..\tests\0036-partial_fetch.c" /> - <ClCompile Include="..\..\tests\0037-destroy_hang_local.c" /> - <ClCompile Include="..\..\tests\0038-performance.c" /> - <ClCompile Include="..\..\tests\0039-event.c" /> - <ClCompile Include="..\..\tests\0040-io_event.c" /> - <ClCompile Include="..\..\tests\0041-fetch_max_bytes.c" /> - <ClCompile Include="..\..\tests\0042-many_topics.c" /> - <ClCompile Include="..\..\tests\0043-no_connection.c" /> - <ClCompile Include="..\..\tests\0044-partition_cnt.c" /> - <ClCompile Include="..\..\tests\0045-subscribe_update.c" /> - <ClCompile Include="..\..\tests\0046-rkt_cache.c" /> - <ClCompile Include="..\..\tests\0047-partial_buf_tmout.c" /> - <ClCompile Include="..\..\tests\0048-partitioner.c" /> - <ClCompile Include="..\..\tests\0049-consume_conn_close.c" /> - <ClCompile Include="..\..\tests\0050-subscribe_adds.c" /> - <ClCompile Include="..\..\tests\0051-assign_adds.c" /> - <ClCompile Include="..\..\tests\0052-msg_timestamps.c" /> - <ClCompile Include="..\..\tests\0053-stats_cb.cpp" /> - <ClCompile Include="..\..\tests\0054-offset_time.cpp" /> - <ClCompile Include="..\..\tests\0055-producer_latency.c" /> - <ClCompile Include="..\..\tests\0056-balanced_group_mt.c" /> - <ClCompile Include="..\..\tests\0057-invalid_topic.cpp" /> - <ClCompile Include="..\..\tests\0058-log.cpp" /> - <ClCompile Include="..\..\tests\0059-bsearch.cpp" /> - <ClCompile Include="..\..\tests\0060-op_prio.cpp" /> - <ClCompile Include="..\..\tests\0061-consumer_lag.cpp" /> - <ClCompile Include="..\..\tests\0062-stats_event.c" /> - <ClCompile Include="..\..\tests\0063-clusterid.cpp" /> - <ClCompile Include="..\..\tests\0064-interceptors.c" /> - <ClCompile Include="..\..\tests\0065-yield.cpp" /> - <ClCompile Include="..\..\tests\0066-plugins.cpp" /> - <ClCompile Include="..\..\tests\0067-empty_topic.cpp" /> - <ClCompile Include="..\..\tests\0068-produce_timeout.c" /> - <ClCompile Include="..\..\tests\0069-consumer_add_parts.c" /> - <ClCompile Include="..\..\tests\0070-null_empty.cpp" /> - <ClCompile Include="..\..\tests\0072-headers_ut.c" /> - <ClCompile Include="..\..\tests\0073-headers.c" /> - <ClCompile Include="..\..\tests\0074-producev.c" /> - <ClCompile Include="..\..\tests\0075-retry.c" /> - <ClCompile Include="..\..\tests\0076-produce_retry.c" /> - <ClCompile Include="..\..\tests\0077-compaction.c" /> - <ClCompile Include="..\..\tests\0078-c_from_cpp.cpp" /> - <ClCompile Include="..\..\tests\0079-fork.c" /> - <ClCompile Include="..\..\tests\0080-admin_ut.c" /> - <ClCompile Include="..\..\tests\0081-admin.c" /> - <ClCompile Include="..\..\tests\0082-fetch_max_bytes.cpp" /> - <ClCompile Include="..\..\tests\0083-cb_event.c" /> - <ClCompile Include="..\..\tests\0084-destroy_flags.c" /> - <ClCompile Include="..\..\tests\0085-headers.cpp" /> - <ClCompile Include="..\..\tests\0086-purge.c" /> - <ClCompile Include="..\..\tests\0088-produce_metadata_timeout.c" /> - <ClCompile Include="..\..\tests\0089-max_poll_interval.c" /> - <ClCompile Include="..\..\tests\0090-idempotence.c" /> - <ClCompile Include="..\..\tests\0091-max_poll_interval_timeout.c" /> - <ClCompile Include="..\..\tests\0092-mixed_msgver.c" /> - <ClCompile Include="..\..\tests\0093-holb.c" /> - <ClCompile Include="..\..\tests\0094-idempotence_msg_timeout.c" /> - <ClCompile Include="..\..\tests\0095-all_brokers_down.cpp" /> - <ClCompile Include="..\..\tests\0097-ssl_verify.cpp" /> - <ClCompile Include="..\..\tests\0098-consumer-txn.cpp" /> - <ClCompile Include="..\..\tests\0099-commit_metadata.c" /> - <ClCompile Include="..\..\tests\0100-thread_interceptors.cpp" /> - <ClCompile Include="..\..\tests\0101-fetch-from-follower.cpp" /> - <ClCompile Include="..\..\tests\0102-static_group_rebalance.c" /> - <ClCompile Include="..\..\tests\0103-transactions.c" /> - <ClCompile Include="..\..\tests\0104-fetch_from_follower_mock.c" /> - <ClCompile Include="..\..\tests\0105-transactions_mock.c" /> - <ClCompile Include="..\..\tests\0106-cgrp_sess_timeout.c" /> - <ClCompile Include="..\..\tests\0107-topic_recreate.c" /> - <ClCompile Include="..\..\tests\0109-auto_create_topics.cpp" /> - <ClCompile Include="..\..\tests\0110-batch_size.cpp" /> - <ClCompile Include="..\..\tests\0111-delay_create_topics.cpp" /> - <ClCompile Include="..\..\tests\0112-assign_unknown_part.c" /> - <ClCompile Include="..\..\tests\0113-cooperative_rebalance.cpp" /> - <ClCompile Include="..\..\tests\0114-sticky_partitioning.cpp" /> - <ClCompile Include="..\..\tests\0115-producer_auth.cpp" /> - <ClCompile Include="..\..\tests\0116-kafkaconsumer_close.cpp" /> - <ClCompile Include="..\..\tests\0117-mock_errors.c" /> - <ClCompile Include="..\..\tests\0118-commit_rebalance.c" /> - <ClCompile Include="..\..\tests\0119-consumer_auth.cpp" /> - <ClCompile Include="..\..\tests\0120-asymmetric_subscription.c" /> - <ClCompile Include="..\..\tests\0121-clusterid.c" /> - <ClCompile Include="..\..\tests\0122-buffer_cleaning_after_rebalance.c" /> - <ClCompile Include="..\..\tests\0123-connections_max_idle.c" /> - <ClCompile Include="..\..\tests\0124-openssl_invalid_engine.c" /> - <ClCompile Include="..\..\tests\0125-immediate_flush.c" /> - <ClCompile Include="..\..\tests\0126-oauthbearer_oidc.c" /> - <ClCompile Include="..\..\tests\0128-sasl_callback_queue.cpp" /> - <ClCompile Include="..\..\tests\0129-fetch_aborted_msgs.c" /> - <ClCompile Include="..\..\tests\0130-store_offsets.c" /> - <ClCompile Include="..\..\tests\0131-connect_timeout.c" /> - <ClCompile Include="..\..\tests\0132-strategy_ordering.c" /> - <ClCompile Include="..\..\tests\0133-ssl_keys.c" /> - <ClCompile Include="..\..\tests\0134-ssl_provider.c" /> - <ClCompile Include="..\..\tests\0135-sasl_credentials.cpp" /> - <ClCompile Include="..\..\tests\0136-resolve_cb.c" /> - <ClCompile Include="..\..\tests\0137-barrier_batch_consume.c" /> - <ClCompile Include="..\..\tests\0138-admin_mock.c" /> - <ClCompile Include="..\..\tests\8000-idle.cpp" /> - <ClCompile Include="..\..\tests\test.c" /> - <ClCompile Include="..\..\tests\testcpp.cpp" /> - <ClCompile Include="..\..\tests\rusage.c" /> - <ClCompile Include="..\..\src\tinycthread.c" /> - <ClCompile Include="..\..\src\tinycthread_extra.c" /> - <ClCompile Include="..\..\src\rdlist.c" /> - </ItemGroup> - <ItemGroup> - <ClInclude Include="..\..\tests\test.h" /> - <ClInclude Include="..\..\tests\testcpp.h" /> - <ClInclude Include="..\..\tests\testshared.h" /> - </ItemGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets" /> -</Project> diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/win_ssl_cert_store/win_ssl_cert_store.vcxproj b/fluent-bit/lib/librdkafka-2.1.0/win32/win_ssl_cert_store/win_ssl_cert_store.vcxproj deleted file mode 100644 index 4e741d43..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/win_ssl_cert_store/win_ssl_cert_store.vcxproj +++ /dev/null @@ -1,132 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="$(SolutionDir)common.vcxproj" /> - <ItemGroup> - <ClCompile Include="..\..\examples\win_ssl_cert_store.cpp" /> - <ClCompile Include="..\wingetopt.c" /> - </ItemGroup> - <PropertyGroup Label="Globals"> - <ProjectGuid>{1A64A271-4840-4686-9F6F-F5AF0F7C385A}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - <RootNamespace>win_ssl_cert_store</RootNamespace> - <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <WholeProgramOptimization>true</WholeProgramOptimization> - <CharacterSet>Unicode</CharacterSet> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>true</UseDebugLibraries> - <CharacterSet>Unicode</CharacterSet> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> - <ConfigurationType>Application</ConfigurationType> - <UseDebugLibraries>false</UseDebugLibraries> - <WholeProgramOptimization>true</WholeProgramOptimization> - <CharacterSet>Unicode</CharacterSet> - </PropertyGroup> - <ImportGroup Label="ExtensionSettings"> - </ImportGroup> - <ImportGroup Label="Shared"> - </ImportGroup> - <PropertyGroup Label="UserMacros" /> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <LinkIncremental>true</LinkIncremental> - <IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)/../src-cpp</IncludePath> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <LinkIncremental>true</LinkIncremental> - <IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)/../src-cpp</IncludePath> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <LinkIncremental>false</LinkIncremental> - <IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)/../src-cpp</IncludePath> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <LinkIncremental>false</LinkIncremental> - <IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);$(SolutionDir)/../src-cpp</IncludePath> - </PropertyGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <ClCompile> - <PrecompiledHeader>NotUsing</PrecompiledHeader> - <WarningLevel>Level3</WarningLevel> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <PrecompiledHeaderFile /> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories> - <AdditionalDependencies>librdkafka.lib;librdkafkacpp.lib;ws2_32.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;Crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <ClCompile> - <PrecompiledHeader>NotUsing</PrecompiledHeader> - <WarningLevel>Level3</WarningLevel> - <Optimization>Disabled</Optimization> - <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <PrecompiledHeaderFile /> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <GenerateDebugInformation>true</GenerateDebugInformation> - <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories> - <AdditionalDependencies>librdkafka.lib;librdkafkacpp.lib;ws2_32.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;Crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <ClCompile> - <WarningLevel>Level3</WarningLevel> - <PrecompiledHeader>NotUsing</PrecompiledHeader> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <PrecompiledHeaderFile /> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - <GenerateDebugInformation>true</GenerateDebugInformation> - <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories> - <AdditionalDependencies>librdkafka.lib;librdkafkacpp.lib;ws2_32.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;Crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies> - </Link> - </ItemDefinitionGroup> - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <ClCompile> - <WarningLevel>Level3</WarningLevel> - <PrecompiledHeader>NotUsing</PrecompiledHeader> - <Optimization>MaxSpeed</Optimization> - <FunctionLevelLinking>true</FunctionLevelLinking> - <IntrinsicFunctions>true</IntrinsicFunctions> - <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> - <SDLCheck>true</SDLCheck> - <PrecompiledHeaderFile /> - </ClCompile> - <Link> - <SubSystem>Console</SubSystem> - <EnableCOMDATFolding>true</EnableCOMDATFolding> - <OptimizeReferences>true</OptimizeReferences> - <GenerateDebugInformation>true</GenerateDebugInformation> - <AdditionalLibraryDirectories>$(BuildOutputDir)</AdditionalLibraryDirectories> - <AdditionalDependencies>librdkafka.lib;librdkafkacpp.lib;ws2_32.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;Crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies> - </Link> - </ItemDefinitionGroup> - <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> - <ImportGroup Label="ExtensionTargets"> - </ImportGroup> -</Project> diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/wingetopt.c b/fluent-bit/lib/librdkafka-2.1.0/win32/wingetopt.c deleted file mode 100644 index b2025293..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/wingetopt.c +++ /dev/null @@ -1,564 +0,0 @@ -/* $OpenBSD: getopt_long.c,v 1.23 2007/10/31 12:34:57 chl Exp $ */ -/* $NetBSD: getopt_long.c,v 1.15 2002/01/31 22:43:40 tv Exp $ */ - -/* - * Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com> - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * Sponsored in part by the Defense Advanced Research Projects - * Agency (DARPA) and Air Force Research Laboratory, Air Force - * Materiel Command, USAF, under agreement number F39502-99-1-0512. - */ -/*- - * Copyright (c) 2000 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Dieter Baron and Thomas Klausner. - * - * 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. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS 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 FOUNDATION OR 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. - */ - -#include <errno.h> -#include <stdlib.h> -#include <string.h> -#include "wingetopt.h" -#include <stdarg.h> -#include <stdio.h> -#include <windows.h> - -#define REPLACE_GETOPT /* use this getopt as the system getopt(3) */ - -#ifdef REPLACE_GETOPT -int opterr = 1; /* if error message should be printed */ -int optind = 1; /* index into parent argv vector */ -int optopt = '?'; /* character checked for validity */ -#undef optreset /* see getopt.h */ -#define optreset __mingw_optreset -int optreset; /* reset getopt */ -char *optarg; /* argument associated with option */ -#endif - -#define PRINT_ERROR ((opterr) && (*options != ':')) - -#define FLAG_PERMUTE 0x01 /* permute non-options to the end of argv */ -#define FLAG_ALLARGS 0x02 /* treat non-options as args to option "-1" */ -#define FLAG_LONGONLY 0x04 /* operate as getopt_long_only */ - -/* return values */ -#define BADCH (int)'?' -#define BADARG ((*options == ':') ? (int)':' : (int)'?') -#define INORDER (int)1 - -#ifndef __CYGWIN__ -#define __progname __argv[0] -#else -extern char __declspec(dllimport) * __progname; -#endif - -#ifdef __CYGWIN__ -static char EMSG[] = ""; -#else -#define EMSG "" -#endif - -static int getopt_internal(int, - char *const *, - const char *, - const struct option *, - int *, - int); -static int parse_long_options(char *const *, - const char *, - const struct option *, - int *, - int); -static int gcd(int, int); -static void permute_args(int, int, int, char *const *); - -static char *place = EMSG; /* option letter processing */ - -/* XXX: set optreset to 1 rather than these two */ -static int nonopt_start = -1; /* first non option argument (for permute) */ -static int nonopt_end = -1; /* first option after non options (for permute) */ - -/* Error messages */ -static const char recargchar[] = "option requires an argument -- %c"; -static const char recargstring[] = "option requires an argument -- %s"; -static const char ambig[] = "ambiguous option -- %.*s"; -static const char noarg[] = "option doesn't take an argument -- %.*s"; -static const char illoptchar[] = "unknown option -- %c"; -static const char illoptstring[] = "unknown option -- %s"; - -static void _vwarnx(const char *fmt, va_list ap) { - (void)fprintf(stderr, "%s: ", __progname); - if (fmt != NULL) - (void)vfprintf(stderr, fmt, ap); - (void)fprintf(stderr, "\n"); -} - -static void warnx(const char *fmt, ...) { - va_list ap; - va_start(ap, fmt); - _vwarnx(fmt, ap); - va_end(ap); -} - -/* - * Compute the greatest common divisor of a and b. - */ -static int gcd(int a, int b) { - int c; - - c = a % b; - while (c != 0) { - a = b; - b = c; - c = a % b; - } - - return (b); -} - -/* - * Exchange the block from nonopt_start to nonopt_end with the block - * from nonopt_end to opt_end (keeping the same order of arguments - * in each block). - */ -static void permute_args(int panonopt_start, - int panonopt_end, - int opt_end, - char *const *nargv) { - int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos; - char *swap; - - /* - * compute lengths of blocks and number and size of cycles - */ - nnonopts = panonopt_end - panonopt_start; - nopts = opt_end - panonopt_end; - ncycle = gcd(nnonopts, nopts); - cyclelen = (opt_end - panonopt_start) / ncycle; - - for (i = 0; i < ncycle; i++) { - cstart = panonopt_end + i; - pos = cstart; - for (j = 0; j < cyclelen; j++) { - if (pos >= panonopt_end) - pos -= nnonopts; - else - pos += nopts; - swap = nargv[pos]; - /* LINTED const cast */ - ((char **)nargv)[pos] = nargv[cstart]; - /* LINTED const cast */ - ((char **)nargv)[cstart] = swap; - } - } -} - -/* - * parse_long_options -- - * Parse long options in argc/argv argument vector. - * Returns -1 if short_too is set and the option does not match long_options. - */ -static int parse_long_options(char *const *nargv, - const char *options, - const struct option *long_options, - int *idx, - int short_too) { - char *current_argv, *has_equal; - size_t current_argv_len; - int i, ambiguous, match; - -#define IDENTICAL_INTERPRETATION(_x, _y) \ - (long_options[(_x)].has_arg == long_options[(_y)].has_arg && \ - long_options[(_x)].flag == long_options[(_y)].flag && \ - long_options[(_x)].val == long_options[(_y)].val) - - current_argv = place; - match = -1; - ambiguous = 0; - - optind++; - - if ((has_equal = strchr(current_argv, '=')) != NULL) { - /* argument found (--option=arg) */ - current_argv_len = has_equal - current_argv; - has_equal++; - } else - current_argv_len = strlen(current_argv); - - for (i = 0; long_options[i].name; i++) { - /* find matching long option */ - if (strncmp(current_argv, long_options[i].name, - current_argv_len)) - continue; - - if (strlen(long_options[i].name) == current_argv_len) { - /* exact match */ - match = i; - ambiguous = 0; - break; - } - /* - * If this is a known short option, don't allow - * a partial match of a single character. - */ - if (short_too && current_argv_len == 1) - continue; - - if (match == -1) /* partial match */ - match = i; - else if (!IDENTICAL_INTERPRETATION(i, match)) - ambiguous = 1; - } - if (ambiguous) { - /* ambiguous abbreviation */ - if (PRINT_ERROR) - warnx(ambig, (int)current_argv_len, current_argv); - optopt = 0; - return (BADCH); - } - if (match != -1) { /* option found */ - if (long_options[match].has_arg == no_argument && has_equal) { - if (PRINT_ERROR) - warnx(noarg, (int)current_argv_len, - current_argv); - /* - * XXX: GNU sets optopt to val regardless of flag - */ - if (long_options[match].flag == NULL) - optopt = long_options[match].val; - else - optopt = 0; - return (BADARG); - } - if (long_options[match].has_arg == required_argument || - long_options[match].has_arg == optional_argument) { - if (has_equal) - optarg = has_equal; - else if (long_options[match].has_arg == - required_argument) { - /* - * optional argument doesn't use next nargv - */ - optarg = nargv[optind++]; - } - } - if ((long_options[match].has_arg == required_argument) && - (optarg == NULL)) { - /* - * Missing argument; leading ':' indicates no error - * should be generated. - */ - if (PRINT_ERROR) - warnx(recargstring, current_argv); - /* - * XXX: GNU sets optopt to val regardless of flag - */ - if (long_options[match].flag == NULL) - optopt = long_options[match].val; - else - optopt = 0; - --optind; - return (BADARG); - } - } else { /* unknown option */ - if (short_too) { - --optind; - return (-1); - } - if (PRINT_ERROR) - warnx(illoptstring, current_argv); - optopt = 0; - return (BADCH); - } - if (idx) - *idx = match; - if (long_options[match].flag) { - *long_options[match].flag = long_options[match].val; - return (0); - } else - return (long_options[match].val); -#undef IDENTICAL_INTERPRETATION -} - -/* - * getopt_internal -- - * Parse argc/argv argument vector. Called by user level routines. - */ -static int getopt_internal(int nargc, - char *const *nargv, - const char *options, - const struct option *long_options, - int *idx, - int flags) { - char *oli; /* option letter list index */ - int optchar, short_too; - static int posixly_correct = -1; - - if (options == NULL) - return (-1); - - /* - * XXX Some GNU programs (like cvs) set optind to 0 instead of - * XXX using optreset. Work around this braindamage. - */ - if (optind == 0) - optind = optreset = 1; - - /* - * Disable GNU extensions if POSIXLY_CORRECT is set or options - * string begins with a '+'. - * - * CV, 2009-12-14: Check POSIXLY_CORRECT anew if optind == 0 or - * optreset != 0 for GNU compatibility. - */ -#ifndef _WIN32 - if (posixly_correct == -1 || optreset != 0) - posixly_correct = (getenv("POSIXLY_CORRECT") != NULL); -#endif - if (*options == '-') - flags |= FLAG_ALLARGS; - else if (posixly_correct || *options == '+') - flags &= ~FLAG_PERMUTE; - if (*options == '+' || *options == '-') - options++; - - optarg = NULL; - if (optreset) - nonopt_start = nonopt_end = -1; -start: - if (optreset || !*place) { /* update scanning pointer */ - optreset = 0; - if (optind >= nargc) { /* end of argument vector */ - place = EMSG; - if (nonopt_end != -1) { - /* do permutation, if we have to */ - permute_args(nonopt_start, nonopt_end, optind, - nargv); - optind -= nonopt_end - nonopt_start; - } else if (nonopt_start != -1) { - /* - * If we skipped non-options, set optind - * to the first of them. - */ - optind = nonopt_start; - } - nonopt_start = nonopt_end = -1; - return (-1); - } - if (*(place = nargv[optind]) != '-' || - (place[1] == '\0' && strchr(options, '-') == NULL)) { - place = EMSG; /* found non-option */ - if (flags & FLAG_ALLARGS) { - /* - * GNU extension: - * return non-option as argument to option 1 - */ - optarg = nargv[optind++]; - return (INORDER); - } - if (!(flags & FLAG_PERMUTE)) { - /* - * If no permutation wanted, stop parsing - * at first non-option. - */ - return (-1); - } - /* do permutation */ - if (nonopt_start == -1) - nonopt_start = optind; - else if (nonopt_end != -1) { - permute_args(nonopt_start, nonopt_end, optind, - nargv); - nonopt_start = - optind - (nonopt_end - nonopt_start); - nonopt_end = -1; - } - optind++; - /* process next argument */ - goto start; - } - if (nonopt_start != -1 && nonopt_end == -1) - nonopt_end = optind; - - /* - * If we have "-" do nothing, if "--" we are done. - */ - if (place[1] != '\0' && *++place == '-' && place[1] == '\0') { - optind++; - place = EMSG; - /* - * We found an option (--), so if we skipped - * non-options, we have to permute. - */ - if (nonopt_end != -1) { - permute_args(nonopt_start, nonopt_end, optind, - nargv); - optind -= nonopt_end - nonopt_start; - } - nonopt_start = nonopt_end = -1; - return (-1); - } - } - - /* - * Check long options if: - * 1) we were passed some - * 2) the arg is not just "-" - * 3) either the arg starts with -- we are getopt_long_only() - */ - if (long_options != NULL && place != nargv[optind] && - (*place == '-' || (flags & FLAG_LONGONLY))) { - short_too = 0; - if (*place == '-') - place++; /* --foo long option */ - else if (*place != ':' && strchr(options, *place) != NULL) - short_too = 1; /* could be short option too */ - - optchar = parse_long_options(nargv, options, long_options, idx, - short_too); - if (optchar != -1) { - place = EMSG; - return (optchar); - } - } - - if ((optchar = (int)*place++) == (int)':' || - (optchar == (int)'-' && *place != '\0') || - (oli = strchr(options, optchar)) == NULL) { - /* - * If the user specified "-" and '-' isn't listed in - * options, return -1 (non-option) as per POSIX. - * Otherwise, it is an unknown option character (or ':'). - */ - if (optchar == (int)'-' && *place == '\0') - return (-1); - if (!*place) - ++optind; - if (PRINT_ERROR) - warnx(illoptchar, optchar); - optopt = optchar; - return (BADCH); - } - if (long_options != NULL && optchar == 'W' && oli[1] == ';') { - /* -W long-option */ - if (*place) /* no space */ - /* NOTHING */; - else if (++optind >= nargc) { /* no arg */ - place = EMSG; - if (PRINT_ERROR) - warnx(recargchar, optchar); - optopt = optchar; - return (BADARG); - } else /* white space */ - place = nargv[optind]; - optchar = - parse_long_options(nargv, options, long_options, idx, 0); - place = EMSG; - return (optchar); - } - if (*++oli != ':') { /* doesn't take argument */ - if (!*place) - ++optind; - } else { /* takes (optional) argument */ - optarg = NULL; - if (*place) /* no white space */ - optarg = place; - else if (oli[1] != ':') { /* arg not optional */ - if (++optind >= nargc) { /* no arg */ - place = EMSG; - if (PRINT_ERROR) - warnx(recargchar, optchar); - optopt = optchar; - return (BADARG); - } else - optarg = nargv[optind]; - } - place = EMSG; - ++optind; - } - /* dump back option letter */ - return (optchar); -} - -#ifdef REPLACE_GETOPT -/* - * getopt -- - * Parse argc/argv argument vector. - * - * [eventually this will replace the BSD getopt] - */ -int getopt(int nargc, char *const *nargv, const char *options) { - - /* - * We don't pass FLAG_PERMUTE to getopt_internal() since - * the BSD getopt(3) (unlike GNU) has never done this. - * - * Furthermore, since many privileged programs call getopt() - * before dropping privileges it makes sense to keep things - * as simple (and bug-free) as possible. - */ - return (getopt_internal(nargc, nargv, options, NULL, NULL, 0)); -} -#endif /* REPLACE_GETOPT */ - -/* - * getopt_long -- - * Parse argc/argv argument vector. - */ -int getopt_long(int nargc, - char *const *nargv, - const char *options, - const struct option *long_options, - int *idx) { - - return (getopt_internal(nargc, nargv, options, long_options, idx, - FLAG_PERMUTE)); -} - -/* - * getopt_long_only -- - * Parse argc/argv argument vector. - */ -int getopt_long_only(int nargc, - char *const *nargv, - const char *options, - const struct option *long_options, - int *idx) { - - return (getopt_internal(nargc, nargv, options, long_options, idx, - FLAG_PERMUTE | FLAG_LONGONLY)); -} diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/wingetopt.h b/fluent-bit/lib/librdkafka-2.1.0/win32/wingetopt.h deleted file mode 100644 index aaaa5237..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/wingetopt.h +++ /dev/null @@ -1,100 +0,0 @@ -#ifndef __GETOPT_H__ -/** - * DISCLAIMER - * This file has no copyright assigned and is placed in the Public Domain. - * This file is a part of the w64 mingw-runtime package. - * - * The w64 mingw-runtime package and its code is distributed in the hope that it - * will be useful but WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESSED OR - * IMPLIED ARE HEREBY DISCLAIMED. This includes but is not limited to - * warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - */ - -#define __GETOPT_H__ - -/* All the headers include this file. */ -#include <crtdefs.h> - -#ifdef __cplusplus -extern "C" { -#endif - -extern int optind; /* index of first non-option in argv */ -extern int optopt; /* single option character, as parsed */ -extern int opterr; /* flag to enable built-in diagnostics... */ - /* (user may set to zero, to suppress) */ - -extern char *optarg; /* pointer to argument of current option */ - -extern int getopt(int nargc, char *const *nargv, const char *options); - -#ifdef _BSD_SOURCE -/* - * BSD adds the non-standard `optreset' feature, for reinitialisation - * of `getopt' parsing. We support this feature, for applications which - * proclaim their BSD heritage, before including this header; however, - * to maintain portability, developers are advised to avoid it. - */ -#define optreset __mingw_optreset -extern int optreset; -#endif -#ifdef __cplusplus -} -#endif -/* - * POSIX requires the `getopt' API to be specified in `unistd.h'; - * thus, `unistd.h' includes this header. However, we do not want - * to expose the `getopt_long' or `getopt_long_only' APIs, when - * included in this manner. Thus, close the standard __GETOPT_H__ - * declarations block, and open an additional __GETOPT_LONG_H__ - * specific block, only when *not* __UNISTD_H_SOURCED__, in which - * to declare the extended API. - */ -#endif /* !defined(__GETOPT_H__) */ - -#if !defined(__UNISTD_H_SOURCED__) && !defined(__GETOPT_LONG_H__) -#define __GETOPT_LONG_H__ - -#ifdef __cplusplus -extern "C" { -#endif - -struct option /* specification for a long form option... */ -{ - const char *name; /* option name, without leading hyphens */ - int has_arg; /* does it take an argument? */ - int *flag; /* where to save its status, or NULL */ - int val; /* its associated status value */ -}; - -enum /* permitted values for its `has_arg' field... */ -{ no_argument = 0, /* option never takes an argument */ - required_argument, /* option always requires an argument */ - optional_argument /* option may take an argument */ -}; - -extern int getopt_long(int nargc, - char *const *nargv, - const char *options, - const struct option *long_options, - int *idx); -extern int getopt_long_only(int nargc, - char *const *nargv, - const char *options, - const struct option *long_options, - int *idx); -/* - * Previous MinGW implementation had... - */ -#ifndef HAVE_DECL_GETOPT -/* - * ...for the long form API only; keep this for compatibility. - */ -#define HAVE_DECL_GETOPT 1 -#endif - -#ifdef __cplusplus -} -#endif - -#endif /* !defined(__UNISTD_H_SOURCED__) && !defined(__GETOPT_LONG_H__) */ diff --git a/fluent-bit/lib/librdkafka-2.1.0/win32/wintime.h b/fluent-bit/lib/librdkafka-2.1.0/win32/wintime.h deleted file mode 100644 index 07f55b8b..00000000 --- a/fluent-bit/lib/librdkafka-2.1.0/win32/wintime.h +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright: public domain - */ -#pragma once - -/** - * gettimeofday() for Win32 from - * http://stackoverflow.com/questions/10905892/equivalent-of-gettimeday-for-windows - */ -#define WIN32_LEAN_AND_MEAN -#include <windows.h> -#include <stdint.h> // portable: uint64_t MSVC: __int64 - -static int gettimeofday(struct timeval *tp, struct timezone *tzp) { - // Note: some broken versions only have 8 trailing zero's, the correct - // epoch has 9 trailing zero's This magic number is the number of 100 - // nanosecond intervals since January 1, 1601 (UTC) until 00:00:00 - // January 1, 1970 - static const uint64_t EPOCH = ((uint64_t)116444736000000000ULL); - - SYSTEMTIME system_time; - FILETIME file_time; - uint64_t time; - - GetSystemTime(&system_time); - SystemTimeToFileTime(&system_time, &file_time); - time = ((uint64_t)file_time.dwLowDateTime); - time += ((uint64_t)file_time.dwHighDateTime) << 32; - - tp->tv_sec = (long)((time - EPOCH) / 10000000L); - tp->tv_usec = (long)(system_time.wMilliseconds * 1000); - return 0; -} |