dnssectool.c revision ee303f481dfefcd4e4994f8b8b17f2de32aa4d69
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2000 Internet Software Consortium.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Permission to use, copy, modify, and distribute this software for any
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * purpose with or without fee is hereby granted, provided that the above
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * copyright notice and this permission notice appear in all copies.
23dd2af8d3aaefcb05bf3664f6aa087d24d9cca8Mark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
9570ddcd41e2b0a0e124f0fa50653f73dfc1ef46Evan Hunt * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
821644d49b73b49f2abc5463bc53a3132f612478Mark Andrews * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
821644d49b73b49f2abc5463bc53a3132f612478Mark Andrews * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
23dd2af8d3aaefcb05bf3664f6aa087d24d9cca8Mark Andrews * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
23dd2af8d3aaefcb05bf3664f6aa087d24d9cca8Mark Andrews * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
23dd2af8d3aaefcb05bf3664f6aa087d24d9cca8Mark Andrews * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
f333ea9bdd3f85b74ae790e6c8ce2684295b3483Andreas Gustafsson * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23dd2af8d3aaefcb05bf3664f6aa087d24d9cca8Mark Andrews/* $Id: dnssectool.c,v 1.26 2000/12/27 00:11:23 bwelling Exp $ */
2c35c682362049f823248542e07e7dca4008b986Mark Andrewsextern const char *program;
isc_buffer_t b;
isc_region_t r;
isc_buffer_usedregion(&b, &r);
isc_buffer_t b;
isc_region_t r;
isc_buffer_usedregion(&b, &r);
int level;
switch (verbose) {
static isc_result_t
if (!blocking)
return (ISC_R_NOENTROPY);
if (first) {
if (!wantkeyboard) {
static isc_result_t
isc_time_t t;
if (!blocking)
return (ISC_R_NOTBLOCKING);
return (result);
return (result);
extra = c;
return (result);
return (result);
#ifdef PATH_RANDOMDEV
char *endp;