xref: /netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/xml.h (revision 5dd36a3bc8bf2a9dec29ceb6349550414570c447)
1 /*	$NetBSD: xml.h,v 1.2 2018/08/12 13:02:38 christos Exp $	*/
2 
3 /*
4  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
5  *
6  * This Source Code Form is subject to the terms of the Mozilla Public
7  * License, v. 2.0. If a copy of the MPL was not distributed with this
8  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9  *
10  * See the COPYRIGHT file distributed with this work for additional
11  * information regarding copyright ownership.
12  */
13 
14 
15 #ifndef ISC_XML_H
16 #define ISC_XML_H 1
17 
18 /*
19  * This file is here mostly to make it easy to add additional libxml header
20  * files as needed across all the users of this file.  Rather than place
21  * these libxml includes in each file, one include makes it easy to handle
22  * the ifdef as well as adding the ability to add additional functions
23  * which may be useful.
24  */
25 
26 #ifdef HAVE_LIBXML2
27 #include <libxml/encoding.h>
28 #include <libxml/xmlwriter.h>
29 #endif
30 
31 #define ISC_XMLCHAR (const xmlChar *)
32 
33 #define ISC_XML_RENDERCONFIG		0x00000001 /* render config data */
34 #define ISC_XML_RENDERSTATS		0x00000002 /* render stats */
35 #define ISC_XML_RENDERALL		0x000000ff /* render everything */
36 
37 #endif /* ISC_XML_H */
38