geoip2_c 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/ext/geoip2/libmaxminddb/.gitignore +35 -0
  3. data/ext/geoip2/libmaxminddb/.gitmodules +9 -0
  4. data/ext/geoip2/libmaxminddb/.perltidyrc +11 -0
  5. data/ext/geoip2/libmaxminddb/.travis.yml +48 -0
  6. data/ext/geoip2/libmaxminddb/.uncrustify.cfg +78 -0
  7. data/ext/geoip2/libmaxminddb/AUTHORS +0 -0
  8. data/ext/geoip2/libmaxminddb/Changes.md +238 -0
  9. data/ext/geoip2/libmaxminddb/LICENSE +202 -0
  10. data/ext/geoip2/libmaxminddb/Makefile.am +41 -0
  11. data/ext/geoip2/libmaxminddb/NOTICE +13 -0
  12. data/ext/geoip2/libmaxminddb/README.dev.md +58 -0
  13. data/ext/geoip2/libmaxminddb/README.md +122 -0
  14. data/ext/geoip2/libmaxminddb/appveyor.yml +33 -0
  15. data/ext/geoip2/libmaxminddb/bin/Makefile.am +5 -0
  16. data/ext/geoip2/libmaxminddb/bin/mmdblookup.c +397 -0
  17. data/ext/geoip2/libmaxminddb/bootstrap +21 -0
  18. data/ext/geoip2/libmaxminddb/common.mk +7 -0
  19. data/ext/geoip2/libmaxminddb/configure.ac +132 -0
  20. data/ext/geoip2/libmaxminddb/dev-bin/make-man-pages.pl +76 -0
  21. data/ext/geoip2/libmaxminddb/dev-bin/ppa-release.sh +50 -0
  22. data/ext/geoip2/libmaxminddb/dev-bin/regen-prototypes.pl +136 -0
  23. data/ext/geoip2/libmaxminddb/dev-bin/regen-win32-test-projs.pl +54 -0
  24. data/ext/geoip2/libmaxminddb/dev-bin/release.sh +106 -0
  25. data/ext/geoip2/libmaxminddb/dev-bin/uncrustify-all.sh +21 -0
  26. data/ext/geoip2/libmaxminddb/dev-bin/valgrind-all.pl +46 -0
  27. data/ext/geoip2/libmaxminddb/doc/libmaxminddb.md +889 -0
  28. data/ext/geoip2/libmaxminddb/doc/mmdblookup.md +103 -0
  29. data/ext/geoip2/libmaxminddb/include/maxminddb.h +232 -0
  30. data/ext/geoip2/libmaxminddb/include/maxminddb_config.h.in +14 -0
  31. data/ext/geoip2/libmaxminddb/projects/VS12/README.md +59 -0
  32. data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb-release.props +32 -0
  33. data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb-x64.props +14 -0
  34. data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.props +32 -0
  35. data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.sln +150 -0
  36. data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.vcxproj +141 -0
  37. data/ext/geoip2/libmaxminddb/projects/VS12/libmaxminddb.vcxproj.filters +26 -0
  38. data/ext/geoip2/libmaxminddb/projects/VS12/maxminddb_config.h +14 -0
  39. data/ext/geoip2/libmaxminddb/projects/VS12-tests/bad_pointers.vcxproj +105 -0
  40. data/ext/geoip2/libmaxminddb/projects/VS12-tests/basic_lookup.vcxproj +105 -0
  41. data/ext/geoip2/libmaxminddb/projects/VS12-tests/data_entry_list.vcxproj +105 -0
  42. data/ext/geoip2/libmaxminddb/projects/VS12-tests/data_types.vcxproj +105 -0
  43. data/ext/geoip2/libmaxminddb/projects/VS12-tests/dump.vcxproj +105 -0
  44. data/ext/geoip2/libmaxminddb/projects/VS12-tests/get_value.vcxproj +105 -0
  45. data/ext/geoip2/libmaxminddb/projects/VS12-tests/get_value_pointer_bug.vcxproj +105 -0
  46. data/ext/geoip2/libmaxminddb/projects/VS12-tests/ipv4_start_cache.vcxproj +105 -0
  47. data/ext/geoip2/libmaxminddb/projects/VS12-tests/ipv6_lookup_in_ipv4.vcxproj +105 -0
  48. data/ext/geoip2/libmaxminddb/projects/VS12-tests/libtap.vcxproj +85 -0
  49. data/ext/geoip2/libmaxminddb/projects/VS12-tests/maxminddb_test_helper.vcxproj +107 -0
  50. data/ext/geoip2/libmaxminddb/projects/VS12-tests/metadata.vcxproj +105 -0
  51. data/ext/geoip2/libmaxminddb/projects/VS12-tests/metadata_pointers.vcxproj +105 -0
  52. data/ext/geoip2/libmaxminddb/projects/VS12-tests/no_map_get_value.vcxproj +105 -0
  53. data/ext/geoip2/libmaxminddb/projects/VS12-tests/read_node.vcxproj +105 -0
  54. data/ext/geoip2/libmaxminddb/projects/VS12-tests/shared.vcxproj +104 -0
  55. data/ext/geoip2/libmaxminddb/projects/VS12-tests/threads.vcxproj +103 -0
  56. data/ext/geoip2/libmaxminddb/projects/VS12-tests/version.vcxproj +105 -0
  57. data/ext/geoip2/libmaxminddb/projects/test.vcxproj.template +105 -0
  58. data/ext/geoip2/libmaxminddb/src/Makefile.am +9 -0
  59. data/ext/geoip2/libmaxminddb/src/libmaxminddb.pc.in +11 -0
  60. data/ext/geoip2/libmaxminddb/src/maxminddb-compat-util.h +167 -0
  61. data/ext/geoip2/libmaxminddb/src/maxminddb.c +2171 -0
  62. data/ext/geoip2/libmaxminddb/t/Makefile.am +23 -0
  63. data/ext/geoip2/libmaxminddb/t/bad_databases_t.c +66 -0
  64. data/ext/geoip2/libmaxminddb/t/bad_pointers_t.c +53 -0
  65. data/ext/geoip2/libmaxminddb/t/basic_lookup_t.c +172 -0
  66. data/ext/geoip2/libmaxminddb/t/compile_c++_t.pl +107 -0
  67. data/ext/geoip2/libmaxminddb/t/data_entry_list_t.c +353 -0
  68. data/ext/geoip2/libmaxminddb/t/data_types_t.c +439 -0
  69. data/ext/geoip2/libmaxminddb/t/dump_t.c +103 -0
  70. data/ext/geoip2/libmaxminddb/t/get_value_pointer_bug_t.c +66 -0
  71. data/ext/geoip2/libmaxminddb/t/get_value_t.c +249 -0
  72. data/ext/geoip2/libmaxminddb/t/ipv4_start_cache_t.c +36 -0
  73. data/ext/geoip2/libmaxminddb/t/ipv6_lookup_in_ipv4_t.c +48 -0
  74. data/ext/geoip2/libmaxminddb/t/maxminddb_test_helper.c +255 -0
  75. data/ext/geoip2/libmaxminddb/t/maxminddb_test_helper.h +69 -0
  76. data/ext/geoip2/libmaxminddb/t/metadata_pointers_t.c +32 -0
  77. data/ext/geoip2/libmaxminddb/t/metadata_t.c +226 -0
  78. data/ext/geoip2/libmaxminddb/t/mmdblookup_t.pl +158 -0
  79. data/ext/geoip2/libmaxminddb/t/no_map_get_value_t.c +32 -0
  80. data/ext/geoip2/libmaxminddb/t/read_node_t.c +157 -0
  81. data/ext/geoip2/libmaxminddb/t/threads_t.c +196 -0
  82. data/ext/geoip2/libmaxminddb/t/version_t.c +10 -0
  83. data/geoip2_c.gemspec +1 -1
  84. data/lib/geoip2/version.rb +1 -1
  85. metadata +82 -1
@@ -0,0 +1,141 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <ItemGroup>
22
+ <ClCompile Include="..\..\src\maxminddb.c" />
23
+ </ItemGroup>
24
+ <ItemGroup>
25
+ <ClInclude Include="..\..\include\maxminddb.h" />
26
+ </ItemGroup>
27
+ <ItemGroup>
28
+ <None Include="README" />
29
+ </ItemGroup>
30
+ <PropertyGroup Label="Globals">
31
+ <ProjectGuid>{82953BDA-2960-4ADA-A6D5-92E65CCB4A3D}</ProjectGuid>
32
+ <Keyword>Win32Proj</Keyword>
33
+ <RootNamespace>libmaxminddb</RootNamespace>
34
+ </PropertyGroup>
35
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
36
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
37
+ <ConfigurationType>StaticLibrary</ConfigurationType>
38
+ <UseDebugLibraries>true</UseDebugLibraries>
39
+ <PlatformToolset>v120</PlatformToolset>
40
+ <CharacterSet>Unicode</CharacterSet>
41
+ </PropertyGroup>
42
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
43
+ <ConfigurationType>StaticLibrary</ConfigurationType>
44
+ <UseDebugLibraries>true</UseDebugLibraries>
45
+ <PlatformToolset>v120</PlatformToolset>
46
+ <CharacterSet>Unicode</CharacterSet>
47
+ </PropertyGroup>
48
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
49
+ <ConfigurationType>StaticLibrary</ConfigurationType>
50
+ <UseDebugLibraries>false</UseDebugLibraries>
51
+ <PlatformToolset>v120</PlatformToolset>
52
+ <WholeProgramOptimization>true</WholeProgramOptimization>
53
+ <CharacterSet>Unicode</CharacterSet>
54
+ </PropertyGroup>
55
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
56
+ <ConfigurationType>StaticLibrary</ConfigurationType>
57
+ <UseDebugLibraries>false</UseDebugLibraries>
58
+ <PlatformToolset>v120</PlatformToolset>
59
+ <WholeProgramOptimization>true</WholeProgramOptimization>
60
+ <CharacterSet>Unicode</CharacterSet>
61
+ </PropertyGroup>
62
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
63
+ <ImportGroup Label="ExtensionSettings">
64
+ </ImportGroup>
65
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
66
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
67
+ <Import Project="libmaxminddb.props" />
68
+ </ImportGroup>
69
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
70
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
71
+ <Import Project="libmaxminddb.props" />
72
+ <Import Project="libmaxminddb-x64.props" />
73
+ </ImportGroup>
74
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
75
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
76
+ <Import Project="libmaxminddb.props" />
77
+ <Import Project="libmaxminddb-release.props" />
78
+ </ImportGroup>
79
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
80
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
81
+ <Import Project="libmaxminddb.props" />
82
+ <Import Project="libmaxminddb-x64.props" />
83
+ <Import Project="libmaxminddb-release.props" />
84
+ </ImportGroup>
85
+ <PropertyGroup Label="UserMacros" />
86
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
87
+ <TargetName>$(ProjectName)d</TargetName>
88
+ </PropertyGroup>
89
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
90
+ <TargetName>$(ProjectName)d</TargetName>
91
+ </PropertyGroup>
92
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
93
+ <ClCompile>
94
+ <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
95
+ </ClCompile>
96
+ <Link>
97
+ <SubSystem>Windows</SubSystem>
98
+ <GenerateDebugInformation>true</GenerateDebugInformation>
99
+ </Link>
100
+ <PreBuildEvent />
101
+ <Lib />
102
+ </ItemDefinitionGroup>
103
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
104
+ <ClCompile>
105
+ <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
106
+ </ClCompile>
107
+ <Link>
108
+ <SubSystem>Windows</SubSystem>
109
+ <GenerateDebugInformation>true</GenerateDebugInformation>
110
+ </Link>
111
+ <PreBuildEvent />
112
+ <Lib />
113
+ </ItemDefinitionGroup>
114
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
115
+ <ClCompile>
116
+ <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
117
+ </ClCompile>
118
+ <Link>
119
+ <SubSystem>Windows</SubSystem>
120
+ <GenerateDebugInformation>true</GenerateDebugInformation>
121
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
122
+ <OptimizeReferences>true</OptimizeReferences>
123
+ </Link>
124
+ <PreBuildEvent />
125
+ </ItemDefinitionGroup>
126
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
127
+ <ClCompile>
128
+ <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
129
+ </ClCompile>
130
+ <Link>
131
+ <SubSystem>Windows</SubSystem>
132
+ <GenerateDebugInformation>true</GenerateDebugInformation>
133
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
134
+ <OptimizeReferences>true</OptimizeReferences>
135
+ </Link>
136
+ <PreBuildEvent />
137
+ </ItemDefinitionGroup>
138
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
139
+ <ImportGroup Label="ExtensionTargets">
140
+ </ImportGroup>
141
+ </Project>
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup>
4
+ <Filter Include="Source Files">
5
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+ </Filter>
8
+ <Filter Include="Header Files">
9
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+ <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
11
+ </Filter>
12
+ </ItemGroup>
13
+ <ItemGroup>
14
+ <ClCompile Include="..\..\src\maxminddb.c">
15
+ <Filter>Source Files</Filter>
16
+ </ClCompile>
17
+ </ItemGroup>
18
+ <ItemGroup>
19
+ <ClInclude Include="..\..\include\maxminddb.h">
20
+ <Filter>Header Files</Filter>
21
+ </ClInclude>
22
+ </ItemGroup>
23
+ <ItemGroup>
24
+ <None Include="README" />
25
+ </ItemGroup>
26
+ </Project>
@@ -0,0 +1,14 @@
1
+ #ifndef MAXMINDDB_CONFIG_H
2
+ #define MAXMINDDB_CONFIG_H
3
+
4
+ #ifndef MMDB_UINT128_USING_MODE
5
+ /* Define as 1 if we we use unsigned int __atribute__ ((__mode__(TI))) for uint128 values */
6
+ #define MMDB_UINT128_USING_MODE 0
7
+ #endif
8
+
9
+ #ifndef MMDB_UINT128_IS_BYTE_ARRAY
10
+ /* Define as 1 if we don't have an unsigned __int128 type */
11
+ #define MMDB_UINT128_IS_BYTE_ARRAY 1
12
+ #endif
13
+
14
+ #endif /* MAXMINDDB_CONFIG_H */
@@ -0,0 +1,105 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Release|Win32">
9
+ <Configuration>Release</Configuration>
10
+ <Platform>Win32</Platform>
11
+ </ProjectConfiguration>
12
+ </ItemGroup>
13
+ <PropertyGroup Label="Globals">
14
+ <ProjectGuid>{B19839F4-376C-11E7-A95B-48C58C130AD6}</ProjectGuid>
15
+ <Keyword>Win32Proj</Keyword>
16
+ <RootNamespace>bad_pointers</RootNamespace>
17
+ <ProjectName>test_bad_pointers</ProjectName>
18
+ </PropertyGroup>
19
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
20
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
21
+ <ConfigurationType>Application</ConfigurationType>
22
+ <UseDebugLibraries>true</UseDebugLibraries>
23
+ <PlatformToolset>v120</PlatformToolset>
24
+ <CharacterSet>Unicode</CharacterSet>
25
+ </PropertyGroup>
26
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
27
+ <ConfigurationType>Application</ConfigurationType>
28
+ <UseDebugLibraries>false</UseDebugLibraries>
29
+ <PlatformToolset>v120</PlatformToolset>
30
+ <WholeProgramOptimization>true</WholeProgramOptimization>
31
+ <CharacterSet>Unicode</CharacterSet>
32
+ </PropertyGroup>
33
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
34
+ <ImportGroup Label="ExtensionSettings">
35
+ </ImportGroup>
36
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
37
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38
+ </ImportGroup>
39
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
40
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
41
+ </ImportGroup>
42
+ <PropertyGroup Label="UserMacros" />
43
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
44
+ <LinkIncremental>true</LinkIncremental>
45
+ <IntDir>$(Configuration)\$(ProjectName)\</IntDir>
46
+ </PropertyGroup>
47
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
48
+ <LinkIncremental>false</LinkIncremental>
49
+ <IntDir>$(Configuration)\$(ProjectName)\</IntDir>
50
+ </PropertyGroup>
51
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
52
+ <ClCompile>
53
+ <PrecompiledHeader>
54
+ </PrecompiledHeader>
55
+ <WarningLevel>Level3</WarningLevel>
56
+ <Optimization>Disabled</Optimization>
57
+ <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
58
+ <AdditionalIncludeDirectories>$(SolutionDir)\..\..\include;$(SolutionDir)\..\..\t\libtap</AdditionalIncludeDirectories>
59
+ </ClCompile>
60
+ <Link>
61
+ <SubSystem>Console</SubSystem>
62
+ <GenerateDebugInformation>true</GenerateDebugInformation>
63
+ <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;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
64
+ </Link>
65
+ </ItemDefinitionGroup>
66
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
67
+ <ClCompile>
68
+ <WarningLevel>Level3</WarningLevel>
69
+ <PrecompiledHeader>
70
+ </PrecompiledHeader>
71
+ <Optimization>MaxSpeed</Optimization>
72
+ <FunctionLevelLinking>true</FunctionLevelLinking>
73
+ <IntrinsicFunctions>true</IntrinsicFunctions>
74
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
75
+ </ClCompile>
76
+ <Link>
77
+ <SubSystem>Console</SubSystem>
78
+ <GenerateDebugInformation>true</GenerateDebugInformation>
79
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
80
+ <OptimizeReferences>true</OptimizeReferences>
81
+ </Link>
82
+ </ItemDefinitionGroup>
83
+ <ItemGroup>
84
+ <ClCompile Include="..\..\t\bad_pointers_t.c" />
85
+ </ItemGroup>
86
+ <ItemGroup>
87
+ <ProjectReference Include="libtap.vcxproj">
88
+ <Project>{4dfc985a-83d7-4e61-85fe-c6ea6e43e3aa}</Project>
89
+ </ProjectReference>
90
+ <ProjectReference Include="..\VS12\libmaxminddb.vcxproj">
91
+ <Project>{82953bda-2960-4ada-a6d5-92e65ccb4a3d}</Project>
92
+ </ProjectReference>
93
+ <ProjectReference Include="maxminddb_test_helper.vcxproj">
94
+ <Project>{a8f568f6-5507-4ec2-a834-f2c0a3c635a5}</Project>
95
+ <Private>true</Private>
96
+ <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
97
+ <CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
98
+ <LinkLibraryDependencies>true</LinkLibraryDependencies>
99
+ <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
100
+ </ProjectReference>
101
+ </ItemGroup>
102
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
103
+ <ImportGroup Label="ExtensionTargets">
104
+ </ImportGroup>
105
+ </Project>
@@ -0,0 +1,105 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Release|Win32">
9
+ <Configuration>Release</Configuration>
10
+ <Platform>Win32</Platform>
11
+ </ProjectConfiguration>
12
+ </ItemGroup>
13
+ <PropertyGroup Label="Globals">
14
+ <ProjectGuid>{B1983C10-376C-11E7-A95B-48C58C130AD6}</ProjectGuid>
15
+ <Keyword>Win32Proj</Keyword>
16
+ <RootNamespace>basic_lookup</RootNamespace>
17
+ <ProjectName>test_basic_lookup</ProjectName>
18
+ </PropertyGroup>
19
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
20
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
21
+ <ConfigurationType>Application</ConfigurationType>
22
+ <UseDebugLibraries>true</UseDebugLibraries>
23
+ <PlatformToolset>v120</PlatformToolset>
24
+ <CharacterSet>Unicode</CharacterSet>
25
+ </PropertyGroup>
26
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
27
+ <ConfigurationType>Application</ConfigurationType>
28
+ <UseDebugLibraries>false</UseDebugLibraries>
29
+ <PlatformToolset>v120</PlatformToolset>
30
+ <WholeProgramOptimization>true</WholeProgramOptimization>
31
+ <CharacterSet>Unicode</CharacterSet>
32
+ </PropertyGroup>
33
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
34
+ <ImportGroup Label="ExtensionSettings">
35
+ </ImportGroup>
36
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
37
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38
+ </ImportGroup>
39
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
40
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
41
+ </ImportGroup>
42
+ <PropertyGroup Label="UserMacros" />
43
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
44
+ <LinkIncremental>true</LinkIncremental>
45
+ <IntDir>$(Configuration)\$(ProjectName)\</IntDir>
46
+ </PropertyGroup>
47
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
48
+ <LinkIncremental>false</LinkIncremental>
49
+ <IntDir>$(Configuration)\$(ProjectName)\</IntDir>
50
+ </PropertyGroup>
51
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
52
+ <ClCompile>
53
+ <PrecompiledHeader>
54
+ </PrecompiledHeader>
55
+ <WarningLevel>Level3</WarningLevel>
56
+ <Optimization>Disabled</Optimization>
57
+ <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
58
+ <AdditionalIncludeDirectories>$(SolutionDir)\..\..\include;$(SolutionDir)\..\..\t\libtap</AdditionalIncludeDirectories>
59
+ </ClCompile>
60
+ <Link>
61
+ <SubSystem>Console</SubSystem>
62
+ <GenerateDebugInformation>true</GenerateDebugInformation>
63
+ <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;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
64
+ </Link>
65
+ </ItemDefinitionGroup>
66
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
67
+ <ClCompile>
68
+ <WarningLevel>Level3</WarningLevel>
69
+ <PrecompiledHeader>
70
+ </PrecompiledHeader>
71
+ <Optimization>MaxSpeed</Optimization>
72
+ <FunctionLevelLinking>true</FunctionLevelLinking>
73
+ <IntrinsicFunctions>true</IntrinsicFunctions>
74
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
75
+ </ClCompile>
76
+ <Link>
77
+ <SubSystem>Console</SubSystem>
78
+ <GenerateDebugInformation>true</GenerateDebugInformation>
79
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
80
+ <OptimizeReferences>true</OptimizeReferences>
81
+ </Link>
82
+ </ItemDefinitionGroup>
83
+ <ItemGroup>
84
+ <ClCompile Include="..\..\t\basic_lookup_t.c" />
85
+ </ItemGroup>
86
+ <ItemGroup>
87
+ <ProjectReference Include="libtap.vcxproj">
88
+ <Project>{4dfc985a-83d7-4e61-85fe-c6ea6e43e3aa}</Project>
89
+ </ProjectReference>
90
+ <ProjectReference Include="..\VS12\libmaxminddb.vcxproj">
91
+ <Project>{82953bda-2960-4ada-a6d5-92e65ccb4a3d}</Project>
92
+ </ProjectReference>
93
+ <ProjectReference Include="maxminddb_test_helper.vcxproj">
94
+ <Project>{a8f568f6-5507-4ec2-a834-f2c0a3c635a5}</Project>
95
+ <Private>true</Private>
96
+ <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
97
+ <CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
98
+ <LinkLibraryDependencies>true</LinkLibraryDependencies>
99
+ <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
100
+ </ProjectReference>
101
+ </ItemGroup>
102
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
103
+ <ImportGroup Label="ExtensionTargets">
104
+ </ImportGroup>
105
+ </Project>
@@ -0,0 +1,105 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Release|Win32">
9
+ <Configuration>Release</Configuration>
10
+ <Platform>Win32</Platform>
11
+ </ProjectConfiguration>
12
+ </ItemGroup>
13
+ <PropertyGroup Label="Globals">
14
+ <ProjectGuid>{B1983E90-376C-11E7-A95B-48C58C130AD6}</ProjectGuid>
15
+ <Keyword>Win32Proj</Keyword>
16
+ <RootNamespace>data_entry_list</RootNamespace>
17
+ <ProjectName>test_data_entry_list</ProjectName>
18
+ </PropertyGroup>
19
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
20
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
21
+ <ConfigurationType>Application</ConfigurationType>
22
+ <UseDebugLibraries>true</UseDebugLibraries>
23
+ <PlatformToolset>v120</PlatformToolset>
24
+ <CharacterSet>Unicode</CharacterSet>
25
+ </PropertyGroup>
26
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
27
+ <ConfigurationType>Application</ConfigurationType>
28
+ <UseDebugLibraries>false</UseDebugLibraries>
29
+ <PlatformToolset>v120</PlatformToolset>
30
+ <WholeProgramOptimization>true</WholeProgramOptimization>
31
+ <CharacterSet>Unicode</CharacterSet>
32
+ </PropertyGroup>
33
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
34
+ <ImportGroup Label="ExtensionSettings">
35
+ </ImportGroup>
36
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
37
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38
+ </ImportGroup>
39
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
40
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
41
+ </ImportGroup>
42
+ <PropertyGroup Label="UserMacros" />
43
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
44
+ <LinkIncremental>true</LinkIncremental>
45
+ <IntDir>$(Configuration)\$(ProjectName)\</IntDir>
46
+ </PropertyGroup>
47
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
48
+ <LinkIncremental>false</LinkIncremental>
49
+ <IntDir>$(Configuration)\$(ProjectName)\</IntDir>
50
+ </PropertyGroup>
51
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
52
+ <ClCompile>
53
+ <PrecompiledHeader>
54
+ </PrecompiledHeader>
55
+ <WarningLevel>Level3</WarningLevel>
56
+ <Optimization>Disabled</Optimization>
57
+ <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
58
+ <AdditionalIncludeDirectories>$(SolutionDir)\..\..\include;$(SolutionDir)\..\..\t\libtap</AdditionalIncludeDirectories>
59
+ </ClCompile>
60
+ <Link>
61
+ <SubSystem>Console</SubSystem>
62
+ <GenerateDebugInformation>true</GenerateDebugInformation>
63
+ <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;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
64
+ </Link>
65
+ </ItemDefinitionGroup>
66
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
67
+ <ClCompile>
68
+ <WarningLevel>Level3</WarningLevel>
69
+ <PrecompiledHeader>
70
+ </PrecompiledHeader>
71
+ <Optimization>MaxSpeed</Optimization>
72
+ <FunctionLevelLinking>true</FunctionLevelLinking>
73
+ <IntrinsicFunctions>true</IntrinsicFunctions>
74
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
75
+ </ClCompile>
76
+ <Link>
77
+ <SubSystem>Console</SubSystem>
78
+ <GenerateDebugInformation>true</GenerateDebugInformation>
79
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
80
+ <OptimizeReferences>true</OptimizeReferences>
81
+ </Link>
82
+ </ItemDefinitionGroup>
83
+ <ItemGroup>
84
+ <ClCompile Include="..\..\t\data_entry_list_t.c" />
85
+ </ItemGroup>
86
+ <ItemGroup>
87
+ <ProjectReference Include="libtap.vcxproj">
88
+ <Project>{4dfc985a-83d7-4e61-85fe-c6ea6e43e3aa}</Project>
89
+ </ProjectReference>
90
+ <ProjectReference Include="..\VS12\libmaxminddb.vcxproj">
91
+ <Project>{82953bda-2960-4ada-a6d5-92e65ccb4a3d}</Project>
92
+ </ProjectReference>
93
+ <ProjectReference Include="maxminddb_test_helper.vcxproj">
94
+ <Project>{a8f568f6-5507-4ec2-a834-f2c0a3c635a5}</Project>
95
+ <Private>true</Private>
96
+ <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
97
+ <CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
98
+ <LinkLibraryDependencies>true</LinkLibraryDependencies>
99
+ <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
100
+ </ProjectReference>
101
+ </ItemGroup>
102
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
103
+ <ImportGroup Label="ExtensionTargets">
104
+ </ImportGroup>
105
+ </Project>
@@ -0,0 +1,105 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Release|Win32">
9
+ <Configuration>Release</Configuration>
10
+ <Platform>Win32</Platform>
11
+ </ProjectConfiguration>
12
+ </ItemGroup>
13
+ <PropertyGroup Label="Globals">
14
+ <ProjectGuid>{B198400C-376C-11E7-A95B-48C58C130AD6}</ProjectGuid>
15
+ <Keyword>Win32Proj</Keyword>
16
+ <RootNamespace>data_types</RootNamespace>
17
+ <ProjectName>test_data_types</ProjectName>
18
+ </PropertyGroup>
19
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
20
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
21
+ <ConfigurationType>Application</ConfigurationType>
22
+ <UseDebugLibraries>true</UseDebugLibraries>
23
+ <PlatformToolset>v120</PlatformToolset>
24
+ <CharacterSet>Unicode</CharacterSet>
25
+ </PropertyGroup>
26
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
27
+ <ConfigurationType>Application</ConfigurationType>
28
+ <UseDebugLibraries>false</UseDebugLibraries>
29
+ <PlatformToolset>v120</PlatformToolset>
30
+ <WholeProgramOptimization>true</WholeProgramOptimization>
31
+ <CharacterSet>Unicode</CharacterSet>
32
+ </PropertyGroup>
33
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
34
+ <ImportGroup Label="ExtensionSettings">
35
+ </ImportGroup>
36
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
37
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
38
+ </ImportGroup>
39
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
40
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
41
+ </ImportGroup>
42
+ <PropertyGroup Label="UserMacros" />
43
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
44
+ <LinkIncremental>true</LinkIncremental>
45
+ <IntDir>$(Configuration)\$(ProjectName)\</IntDir>
46
+ </PropertyGroup>
47
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
48
+ <LinkIncremental>false</LinkIncremental>
49
+ <IntDir>$(Configuration)\$(ProjectName)\</IntDir>
50
+ </PropertyGroup>
51
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
52
+ <ClCompile>
53
+ <PrecompiledHeader>
54
+ </PrecompiledHeader>
55
+ <WarningLevel>Level3</WarningLevel>
56
+ <Optimization>Disabled</Optimization>
57
+ <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
58
+ <AdditionalIncludeDirectories>$(SolutionDir)\..\..\include;$(SolutionDir)\..\..\t\libtap</AdditionalIncludeDirectories>
59
+ </ClCompile>
60
+ <Link>
61
+ <SubSystem>Console</SubSystem>
62
+ <GenerateDebugInformation>true</GenerateDebugInformation>
63
+ <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;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
64
+ </Link>
65
+ </ItemDefinitionGroup>
66
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
67
+ <ClCompile>
68
+ <WarningLevel>Level3</WarningLevel>
69
+ <PrecompiledHeader>
70
+ </PrecompiledHeader>
71
+ <Optimization>MaxSpeed</Optimization>
72
+ <FunctionLevelLinking>true</FunctionLevelLinking>
73
+ <IntrinsicFunctions>true</IntrinsicFunctions>
74
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
75
+ </ClCompile>
76
+ <Link>
77
+ <SubSystem>Console</SubSystem>
78
+ <GenerateDebugInformation>true</GenerateDebugInformation>
79
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
80
+ <OptimizeReferences>true</OptimizeReferences>
81
+ </Link>
82
+ </ItemDefinitionGroup>
83
+ <ItemGroup>
84
+ <ClCompile Include="..\..\t\data_types_t.c" />
85
+ </ItemGroup>
86
+ <ItemGroup>
87
+ <ProjectReference Include="libtap.vcxproj">
88
+ <Project>{4dfc985a-83d7-4e61-85fe-c6ea6e43e3aa}</Project>
89
+ </ProjectReference>
90
+ <ProjectReference Include="..\VS12\libmaxminddb.vcxproj">
91
+ <Project>{82953bda-2960-4ada-a6d5-92e65ccb4a3d}</Project>
92
+ </ProjectReference>
93
+ <ProjectReference Include="maxminddb_test_helper.vcxproj">
94
+ <Project>{a8f568f6-5507-4ec2-a834-f2c0a3c635a5}</Project>
95
+ <Private>true</Private>
96
+ <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
97
+ <CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
98
+ <LinkLibraryDependencies>true</LinkLibraryDependencies>
99
+ <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
100
+ </ProjectReference>
101
+ </ItemGroup>
102
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
103
+ <ImportGroup Label="ExtensionTargets">
104
+ </ImportGroup>
105
+ </Project>