1290001Sglebius/* 2290001Sglebius * Copyright (C) 2006, 2007 Internet Systems Consortium, Inc. ("ISC") 3290001Sglebius * 4290001Sglebius * Permission to use, copy, modify, and/or distribute this software for any 5290001Sglebius * purpose with or without fee is hereby granted, provided that the above 6290001Sglebius * copyright notice and this permission notice appear in all copies. 7290001Sglebius * 8290001Sglebius * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 9290001Sglebius * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 10290001Sglebius * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 11290001Sglebius * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 12290001Sglebius * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 13290001Sglebius * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 14290001Sglebius * PERFORMANCE OF THIS SOFTWARE. 15290001Sglebius */ 16290001Sglebius 17290001Sglebius/* $Id: xml.h,v 1.4 2007/06/19 23:47:18 tbox Exp $ */ 18290001Sglebius 19290001Sglebius#ifndef ISC_XML_H 20290001Sglebius#define ISC_XML_H 1 21290001Sglebius 22290001Sglebius/* 23290001Sglebius * This file is here mostly to make it easy to add additional libxml header 24290001Sglebius * files as needed across all the users of this file. Rather than place 25290001Sglebius * these libxml includes in each file, one include makes it easy to handle 26290001Sglebius * the ifdef as well as adding the ability to add additional functions 27290001Sglebius * which may be useful. 28290001Sglebius */ 29290001Sglebius 30290001Sglebius#ifdef HAVE_LIBXML2 31290001Sglebius#include <libxml/encoding.h> 32290001Sglebius#include <libxml/xmlwriter.h> 33290001Sglebius#endif 34290001Sglebius 35290001Sglebius#define ISC_XMLCHAR (const xmlChar *) 36290001Sglebius 37290001Sglebius#define ISC_XML_RENDERCONFIG 0x00000001 /* render config data */ 38290001Sglebius#define ISC_XML_RENDERSTATS 0x00000002 /* render stats */ 39290001Sglebius#define ISC_XML_RENDERALL 0x000000ff /* render everything */ 40290001Sglebius 41290001Sglebius#endif /* ISC_XML_H */ 42