mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-29 07:24:55 +00:00 
			
		
		
		
	git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
		
			
				
	
	
		
			70 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			70 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * "$Id$"
 | |
|  *
 | |
|  * Configuration file for Mini-XML, a small XML-like file parsing library.
 | |
|  *
 | |
|  * Copyright 2003-2005 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	""
 | |
| 
 | |
| 
 | |
| /*
 | |
|  * Do we have the vsnprintf() function?
 | |
|  */
 | |
| 
 | |
| #undef HAVE_VSNPRINTF
 | |
| 
 | |
| 
 | |
| /*
 | |
|  * Do we have the strXXX() functions?
 | |
|  */
 | |
| 
 | |
| #undef HAVE_STRDUP
 | |
| 
 | |
| 
 | |
| /*
 | |
|  * 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$".
 | |
|  */
 |