parent
8ace1524af
commit
ee2eb12e07
@ -0,0 +1,69 @@ |
|||||||
|
/*
|
||||||
|
* "$Id: config.h,v 1.1 2004/06/21 11:17:51 mike Exp $" |
||||||
|
* |
||||||
|
* Configuration file for Mini-XML, a small XML-like file parsing library. |
||||||
|
* |
||||||
|
* Copyright 2003-2004 by Michael Sweet. |
||||||
|
* |
||||||
|
* This program is free software; you can redistribute it and/or |
||||||
|
* modify it under the terms of the GNU Library General Public |
||||||
|
* License as published by the Free Software Foundation; either |
||||||
|
* version 2, or (at your option) any later version. |
||||||
|
* |
||||||
|
* This program is distributed in the hope that it will be useful, |
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||||
|
* GNU General Public License for more details. |
||||||
|
*/ |
||||||
|
|
||||||
|
/*
|
||||||
|
* Include necessary headers... |
||||||
|
*/ |
||||||
|
|
||||||
|
#include <stdio.h> |
||||||
|
#include <stdlib.h> |
||||||
|
#include <string.h> |
||||||
|
#include <stdarg.h> |
||||||
|
#include <ctype.h> |
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Version number... |
||||||
|
*/ |
||||||
|
|
||||||
|
#define MXML_VERSION "Mini-XML v2.0" |
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Do we have the vsnprintf() function? |
||||||
|
*/ |
||||||
|
|
||||||
|
#define HAVE_VSNPRINTF 1 |
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Do we have the strXXX() functions? |
||||||
|
*/ |
||||||
|
|
||||||
|
#define HAVE_STRDUP 1 |
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Define prototypes for string functions as needed... |
||||||
|
*/ |
||||||
|
|
||||||
|
# ifndef HAVE_STRDUP |
||||||
|
extern char *mxml_strdup(const char *); |
||||||
|
# define strdup mxml_strdup |
||||||
|
# endif /* !HAVE_STRDUP */ |
||||||
|
|
||||||
|
extern char *mxml_strdupf(const char *, va_list); |
||||||
|
|
||||||
|
# ifndef HAVE_VSNPRINTF |
||||||
|
extern int mxml_vsnprintf(char *, size_t, const char *, va_list); |
||||||
|
# define vsnprintf mxml_vsnprintf |
||||||
|
# endif /* !HAVE_VSNPRINTF */ |
||||||
|
|
||||||
|
/*
|
||||||
|
* End of "$Id: config.h,v 1.1 2004/06/21 11:17:51 mike Exp $". |
||||||
|
*/ |
@ -0,0 +1,5 @@ |
|||||||
|
Microsoft Visual Studio Solution File, Format Version 8.00 |
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mxml", "mxml.vcproj", "{07169A72-08A9-4EC8-BC6C-CCBC1F01EA58}" |
||||||
|
ProjectSection(ProjectDependencies) = postProject |
||||||
|
EndProjectSection |
||||||
|
EndProject |
@ -0,0 +1,297 @@ |
|||||||
|
<?xml version="1.0" encoding="Windows-1252"?> |
||||||
|
<VisualStudioProject |
||||||
|
ProjectType="Visual C++" |
||||||
|
Version="7.10" |
||||||
|
Name="mxml" |
||||||
|
SccProjectName="" |
||||||
|
SccLocalPath=""> |
||||||
|
<Platforms> |
||||||
|
<Platform |
||||||
|
Name="Win32"/> |
||||||
|
</Platforms> |
||||||
|
<Configurations> |
||||||
|
<Configuration |
||||||
|
Name="Debug|Win32" |
||||||
|
OutputDirectory=".\Debug" |
||||||
|
IntermediateDirectory=".\Debug" |
||||||
|
ConfigurationType="4" |
||||||
|
UseOfMFC="0" |
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
Optimization="0" |
||||||
|
AdditionalIncludeDirectories="../vcnet,.." |
||||||
|
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;WIN32_EXTRA_LEAN" |
||||||
|
RuntimeLibrary="3" |
||||||
|
UsePrecompiledHeader="2" |
||||||
|
PrecompiledHeaderFile=".\Debug/mxml.lib.pch" |
||||||
|
AssemblerListingLocation=".\Debug/" |
||||||
|
ObjectFile=".\Debug/" |
||||||
|
ProgramDataBaseFileName=".\Debug/" |
||||||
|
BrowseInformation="1" |
||||||
|
SuppressStartupBanner="TRUE" |
||||||
|
DebugInformationFormat="1" |
||||||
|
CompileAs="0"/> |
||||||
|
<Tool |
||||||
|
Name="VCCustomBuildTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCLibrarianTool" |
||||||
|
OutputFile="..\mxmld.lib" |
||||||
|
SuppressStartupBanner="TRUE"/> |
||||||
|
<Tool |
||||||
|
Name="VCMIDLTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCPostBuildEventTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCPreBuildEventTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCPreLinkEventTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCResourceCompilerTool" |
||||||
|
Culture="1033"/> |
||||||
|
<Tool |
||||||
|
Name="VCWebServiceProxyGeneratorTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCXMLDataGeneratorTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCManagedWrapperGeneratorTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/> |
||||||
|
</Configuration> |
||||||
|
<Configuration |
||||||
|
Name="Release|Win32" |
||||||
|
OutputDirectory=".\Release" |
||||||
|
IntermediateDirectory=".\Release" |
||||||
|
ConfigurationType="4" |
||||||
|
UseOfMFC="0" |
||||||
|
ATLMinimizesCRunTimeLibraryUsage="FALSE"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
Optimization="4" |
||||||
|
InlineFunctionExpansion="2" |
||||||
|
ImproveFloatingPointConsistency="TRUE" |
||||||
|
FavorSizeOrSpeed="0" |
||||||
|
AdditionalIncludeDirectories="../vcnet,.." |
||||||
|
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;WIN32_EXTRA_LEAN" |
||||||
|
RuntimeLibrary="2" |
||||||
|
UsePrecompiledHeader="2" |
||||||
|
PrecompiledHeaderFile=".\Release/mxml.lib.pch" |
||||||
|
AssemblerListingLocation=".\Release/" |
||||||
|
ObjectFile=".\Release/" |
||||||
|
ProgramDataBaseFileName=".\Release/" |
||||||
|
SuppressStartupBanner="TRUE" |
||||||
|
CompileAs="0"/> |
||||||
|
<Tool |
||||||
|
Name="VCCustomBuildTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCLibrarianTool" |
||||||
|
OutputFile="..\mxml.lib" |
||||||
|
SuppressStartupBanner="TRUE"/> |
||||||
|
<Tool |
||||||
|
Name="VCMIDLTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCPostBuildEventTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCPreBuildEventTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCPreLinkEventTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCResourceCompilerTool" |
||||||
|
Culture="1033"/> |
||||||
|
<Tool |
||||||
|
Name="VCWebServiceProxyGeneratorTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCXMLDataGeneratorTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCManagedWrapperGeneratorTool"/> |
||||||
|
<Tool |
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/> |
||||||
|
</Configuration> |
||||||
|
</Configurations> |
||||||
|
<References> |
||||||
|
</References> |
||||||
|
<Files> |
||||||
|
<File |
||||||
|
RelativePath="../mxml-attr.c"> |
||||||
|
<FileConfiguration |
||||||
|
Name="Debug|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
Optimization="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions="" |
||||||
|
BrowseInformation="1"/> |
||||||
|
</FileConfiguration> |
||||||
|
<FileConfiguration |
||||||
|
Name="Release|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
FavorSizeOrSpeed="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions=""/> |
||||||
|
</FileConfiguration> |
||||||
|
</File> |
||||||
|
<File |
||||||
|
RelativePath="../mxml-entity.c"> |
||||||
|
<FileConfiguration |
||||||
|
Name="Debug|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
Optimization="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions="" |
||||||
|
BrowseInformation="1"/> |
||||||
|
</FileConfiguration> |
||||||
|
<FileConfiguration |
||||||
|
Name="Release|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
FavorSizeOrSpeed="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions=""/> |
||||||
|
</FileConfiguration> |
||||||
|
</File> |
||||||
|
<File |
||||||
|
RelativePath="../mxml-file.c"> |
||||||
|
<FileConfiguration |
||||||
|
Name="Debug|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
Optimization="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions="" |
||||||
|
BrowseInformation="1"/> |
||||||
|
</FileConfiguration> |
||||||
|
<FileConfiguration |
||||||
|
Name="Release|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
FavorSizeOrSpeed="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions=""/> |
||||||
|
</FileConfiguration> |
||||||
|
</File> |
||||||
|
<File |
||||||
|
RelativePath="../mxml-index.c"> |
||||||
|
<FileConfiguration |
||||||
|
Name="Debug|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
Optimization="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions="" |
||||||
|
BrowseInformation="1"/> |
||||||
|
</FileConfiguration> |
||||||
|
<FileConfiguration |
||||||
|
Name="Release|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
FavorSizeOrSpeed="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions=""/> |
||||||
|
</FileConfiguration> |
||||||
|
</File> |
||||||
|
<File |
||||||
|
RelativePath="../mxml-node.c"> |
||||||
|
<FileConfiguration |
||||||
|
Name="Debug|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
Optimization="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions="" |
||||||
|
BrowseInformation="1"/> |
||||||
|
</FileConfiguration> |
||||||
|
<FileConfiguration |
||||||
|
Name="Release|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
FavorSizeOrSpeed="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions=""/> |
||||||
|
</FileConfiguration> |
||||||
|
</File> |
||||||
|
<File |
||||||
|
RelativePath="../mxml-private.c"> |
||||||
|
<FileConfiguration |
||||||
|
Name="Debug|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
Optimization="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions="" |
||||||
|
BrowseInformation="1"/> |
||||||
|
</FileConfiguration> |
||||||
|
<FileConfiguration |
||||||
|
Name="Release|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
FavorSizeOrSpeed="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions=""/> |
||||||
|
</FileConfiguration> |
||||||
|
</File> |
||||||
|
<File |
||||||
|
RelativePath="../mxml-search.c"> |
||||||
|
<FileConfiguration |
||||||
|
Name="Debug|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
Optimization="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions="" |
||||||
|
BrowseInformation="1"/> |
||||||
|
</FileConfiguration> |
||||||
|
<FileConfiguration |
||||||
|
Name="Release|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
FavorSizeOrSpeed="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions=""/> |
||||||
|
</FileConfiguration> |
||||||
|
</File> |
||||||
|
<File |
||||||
|
RelativePath="../mxml-set.c"> |
||||||
|
<FileConfiguration |
||||||
|
Name="Debug|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
Optimization="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions="" |
||||||
|
BrowseInformation="1"/> |
||||||
|
</FileConfiguration> |
||||||
|
<FileConfiguration |
||||||
|
Name="Release|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
FavorSizeOrSpeed="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions=""/> |
||||||
|
</FileConfiguration> |
||||||
|
</File> |
||||||
|
<File |
||||||
|
RelativePath="../mxml-string.c"> |
||||||
|
<FileConfiguration |
||||||
|
Name="Debug|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
Optimization="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions="" |
||||||
|
BrowseInformation="1"/> |
||||||
|
</FileConfiguration> |
||||||
|
<FileConfiguration |
||||||
|
Name="Release|Win32"> |
||||||
|
<Tool |
||||||
|
Name="VCCLCompilerTool" |
||||||
|
FavorSizeOrSpeed="0" |
||||||
|
AdditionalIncludeDirectories="" |
||||||
|
PreprocessorDefinitions=""/> |
||||||
|
</FileConfiguration> |
||||||
|
</File> |
||||||
|
</Files> |
||||||
|
<Globals> |
||||||
|
</Globals> |
||||||
|
</VisualStudioProject> |
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue