xref: /freebsd/contrib/ntp/libntp/lib/isc/include/isc/xml.h (revision a466cc55373fc3cf86837f09da729535b57e69a1)
1*a466cc55SCy Schubert /*
2*a466cc55SCy Schubert  * Copyright (C) 2006, 2007  Internet Systems Consortium, Inc. ("ISC")
3*a466cc55SCy Schubert  *
4*a466cc55SCy Schubert  * Permission to use, copy, modify, and/or distribute this software for any
5*a466cc55SCy Schubert  * purpose with or without fee is hereby granted, provided that the above
6*a466cc55SCy Schubert  * copyright notice and this permission notice appear in all copies.
7*a466cc55SCy Schubert  *
8*a466cc55SCy Schubert  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9*a466cc55SCy Schubert  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10*a466cc55SCy Schubert  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11*a466cc55SCy Schubert  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12*a466cc55SCy Schubert  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13*a466cc55SCy Schubert  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14*a466cc55SCy Schubert  * PERFORMANCE OF THIS SOFTWARE.
15*a466cc55SCy Schubert  */
16*a466cc55SCy Schubert 
17*a466cc55SCy Schubert /* $Id: xml.h,v 1.4 2007/06/19 23:47:18 tbox Exp $ */
18*a466cc55SCy Schubert 
19*a466cc55SCy Schubert #ifndef ISC_XML_H
20*a466cc55SCy Schubert #define ISC_XML_H 1
21*a466cc55SCy Schubert 
22*a466cc55SCy Schubert /*
23*a466cc55SCy Schubert  * This file is here mostly to make it easy to add additional libxml header
24*a466cc55SCy Schubert  * files as needed across all the users of this file.  Rather than place
25*a466cc55SCy Schubert  * these libxml includes in each file, one include makes it easy to handle
26*a466cc55SCy Schubert  * the ifdef as well as adding the ability to add additional functions
27*a466cc55SCy Schubert  * which may be useful.
28*a466cc55SCy Schubert  */
29*a466cc55SCy Schubert 
30*a466cc55SCy Schubert #ifdef HAVE_LIBXML2
31*a466cc55SCy Schubert #include <libxml/encoding.h>
32*a466cc55SCy Schubert #include <libxml/xmlwriter.h>
33*a466cc55SCy Schubert #endif
34*a466cc55SCy Schubert 
35*a466cc55SCy Schubert #define ISC_XMLCHAR (const xmlChar *)
36*a466cc55SCy Schubert 
37*a466cc55SCy Schubert #define ISC_XML_RENDERCONFIG		0x00000001 /* render config data */
38*a466cc55SCy Schubert #define ISC_XML_RENDERSTATS		0x00000002 /* render stats */
39*a466cc55SCy Schubert #define ISC_XML_RENDERALL		0x000000ff /* render everything */
40*a466cc55SCy Schubert 
41*a466cc55SCy Schubert #endif /* ISC_XML_H */
42