/home/dko/projects/mobilec/tags/MobileC-v1.10.2/MobileC-v1.10.2/src/mxml-2.2.2/vcnet2005/config.h

Go to the documentation of this file.
00001 /* SVN FILE INFO
00002  * $Revision: 207 $ : Last Committed Revision
00003  * $Date: 2008-07-11 17:55:19 -0700 (Fri, 11 Jul 2008) $ : Last Committed Date */
00004 /*
00005  * "$Id: config.h,v 1.2 2008/01/15 01:28:09 david_ko Exp $"
00006  *
00007  * Configuration file for Mini-XML, a small XML-like file parsing library.
00008  *
00009  * Copyright 2003-2004 by Michael Sweet.
00010  *
00011  * This program is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Library General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2, or (at your option) any later version.
00015  *
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU General Public License for more details.
00020  */
00021 
00022 /*
00023  * Include necessary headers...
00024  */
00025 
00026 #include <stdio.h>
00027 #include <stdlib.h>
00028 #include <string.h>
00029 #include <stdarg.h>
00030 #include <ctype.h>
00031 
00032 
00033 /*
00034  * Version number...
00035  */
00036 
00037 #define MXML_VERSION "Mini-XML v2.0"
00038 
00039 
00040 /*
00041  * Do we have the vsnprintf() function?
00042  */
00043 
00044 /*#undef HAVE_VSNPRINTF */
00045 
00046 
00047 /*
00048  * Do we have the strXXX() functions?
00049  */
00050 
00051 #define HAVE_STRDUP 1
00052 
00053 
00054 /*
00055  * Define prototypes for string functions as needed...
00056  */
00057 
00058 #  ifndef HAVE_STRDUP
00059 extern char     *mxml_strdup(const char *);
00060 #    define strdup mxml_strdup
00061 #  endif /* !HAVE_STRDUP */
00062 
00063 extern char     *mxml_strdupf(const char *, va_list);
00064 
00065 #  ifndef HAVE_VSNPRINTF
00066 extern int      mxml_vsnprintf(char *, size_t, const char *, va_list);
00067 #    define vsnprintf mxml_vsnprintf
00068 #  endif /* !HAVE_VSNPRINTF */
00069 
00070 /*
00071  * End of "$Id: config.h,v 1.2 2008/01/15 01:28:09 david_ko Exp $".
00072  */

Generated on Fri Jul 11 17:59:45 2008 for Mobile-C by  doxygen 1.5.4