json.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2013  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 #ifndef ISC_JSON_H
00018 #define ISC_JSON_H 1
00019 
00020 /*
00021  * This file is here mostly to make it easy to add additional libjson header
00022  * files as needed across all the users of this file.  Rather than place
00023  * these libjson includes in each file, one include makes it easy to handle
00024  * the ifdef as well as adding the ability to add additional functions
00025  * which may be useful.
00026  */
00027 
00028 #ifdef HAVE_JSON
00029 #include <json.h>
00030 #endif
00031 
00032 #define ISC_JSON_RENDERCONFIG           0x00000001 /* render config data */
00033 #define ISC_JSON_RENDERSTATS            0x00000002 /* render stats */
00034 #define ISC_JSON_RENDERALL              0x000000ff /* render everything */
00035 
00036 #endif /* ISC_JSON_H */

Generated on Tue Apr 28 17:41:04 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha