name_test.c revision 15a44745412679c30a6d022733925af70a38b715
bf49a52178db60df60f2316a3977b2249f7c0edbBrian Wellington * Copyright (C) 1998-2000 Internet Software Consortium.
bf49a52178db60df60f2316a3977b2249f7c0edbBrian Wellington * Permission to use, copy, modify, and distribute this software for any
bf49a52178db60df60f2316a3977b2249f7c0edbBrian Wellington * purpose with or without fee is hereby granted, provided that the above
bf49a52178db60df60f2316a3977b2249f7c0edbBrian Wellington * copyright notice and this permission notice appear in all copies.
/* $Id: name_test.c,v 1.30 2000/07/27 09:38:10 tale Exp $ */
#include <config.h>
#include <stdlib.h>
isc_region_t r;
if (r.length > 0)
isc_region_t r;
int ch;
switch (ch) {
if (argc > 0) {
NULL);
if (result != 0) {
result);
} else if (concatenate)
if (result != 0) {
result);
len--;
if (len > 0)
if (!quiet) {
print_wirename(&r);
if (concatenate) {
if (got_name) {
NULL);
if (check_absolute &&
if (check_wildcard &&
if (!quiet) {
print_wirename(&r);
r.length);
if (r.length > 0)
if (!quiet) {
if (test_downcase) {
if (inplace) {
if (!quiet) {
print_wirename(&r);
r.length);
int order;
if (!quiet) {
if (order < 0)
else if (order > 0)
switch (namereln) {
case dns_namereln_contains:
case dns_namereln_subdomain:
if (concatenate) {
if (got_name)