00001 /* 00002 * Copyright (C) 2006, 2007 Internet Systems Consortium, Inc. ("ISC") 00003 * 00004 * Permission to use, copy, modify, and/or distribute this software for any 00005 * purpose with or without fee is hereby granted, provided that the above 00006 * copyright notice and this permission notice appear in all copies. 00007 * 00008 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 00009 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 00010 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 00011 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 00012 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 00013 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00014 * PERFORMANCE OF THIS SOFTWARE. 00015 */ 00016 00017 /* $Id: xml.h,v 1.4 2007/06/19 23:47:18 tbox Exp $ */ 00018 00019 #ifndef ISC_XML_H 00020 #define ISC_XML_H 1 00021 00022 /* 00023 * This file is here mostly to make it easy to add additional libxml header 00024 * files as needed across all the users of this file. Rather than place 00025 * these libxml includes in each file, one include makes it easy to handle 00026 * the ifdef as well as adding the ability to add additional functions 00027 * which may be useful. 00028 */ 00029 00030 #ifdef HAVE_LIBXML2 00031 #include <libxml/encoding.h> 00032 #include <libxml/xmlwriter.h> 00033 #endif 00034 00035 #define ISC_XMLCHAR (const xmlChar *) 00036 00037 #define ISC_XML_RENDERCONFIG 0x00000001 /* render config data */ 00038 #define ISC_XML_RENDERSTATS 0x00000002 /* render stats */ 00039 #define ISC_XML_RENDERALL 0x000000ff /* render everything */ 00040 00041 #endif /* ISC_XML_H */