/home/dko/projects/mobilec/trunk/src/mxml-2.2.2/config.h

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

Generated on Fri May 16 14:49:54 2008 for Mobile-C by  doxygen 1.5.4