/*-1* SPDX-License-Identifier: ISC2*3* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")4* Copyright (c) 1999 by Internet Software Consortium.5*6* Permission to use, copy, modify, and distribute this software for any7* purpose with or without fee is hereby granted, provided that the above8* copyright notice and this permission notice appear in all copies.9*10* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES11* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF12* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR13* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES14* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN15* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT16* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.17*/1819#ifndef _RES_DEBUG_H_20#define _RES_DEBUG_H_2122#ifndef DEBUG23# define Dprint(cond, args) /*empty*/24# define DprintQ(cond, args, query, size) /*empty*/25# define Aerror(statp, file, string, error, address, alen) /*empty*/26# define Perror(statp, file, string, error) /*empty*/27#else28# define Dprint(cond, args) if (cond) {fprintf args;} else {}29# define DprintQ(cond, args, query, size) if (cond) {\30fprintf args;\31res_pquery(statp, query, size, stdout);\32} else {}33#endif3435#endif /* _RES_DEBUG_H_ */36/*! \file */373839