check.c revision c4a9ce445c48a57eed5aa16582b1964cf8cedf87
37b017f2ca736c251b80d2db564ef274317da168Mark Andrews * Copyright (C) 2001, 2002 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
37b017f2ca736c251b80d2db564ef274317da168Mark Andrews * copyright notice and this permission notice appear in all copies.
37b017f2ca736c251b80d2db564ef274317da168Mark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
37b017f2ca736c251b80d2db564ef274317da168Mark Andrews * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
37b017f2ca736c251b80d2db564ef274317da168Mark Andrews * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
37b017f2ca736c251b80d2db564ef274317da168Mark Andrews * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
37b017f2ca736c251b80d2db564ef274317da168Mark Andrews * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
37b017f2ca736c251b80d2db564ef274317da168Mark Andrews * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
37b017f2ca736c251b80d2db564ef274317da168Mark Andrews * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
37b017f2ca736c251b80d2db564ef274317da168Mark Andrews * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
e7857b5ee05414961bb11f9e57f654163fae6acbckb/* $Id: check.c,v 1.33 2002/04/26 00:40:28 marka Exp $ */
static isc_result_t
isc_buffer_t b;
const char *str;
r.base);
r.base);
return (result);
static isc_result_t
return (result);
return (result);
static isc_result_t
return (ISC_R_FAILURE);
return (ISC_R_SUCCESS);
const char *name;
unsigned int scale;
unsigned int max;
static isc_result_t
const char *str;
str);
return (result);
const char *name;
int allowed;
} optionstable;
static isc_result_t
const char *zname;
const char *typestr;
unsigned int ztype;
isc_buffer_t b;
return (ISC_R_FAILURE);
return (ISC_R_FAILURE);
return (ISC_R_FAILURE);
return (ISC_R_FAILURE);
char *key;
return (ISC_R_NOMEMORY);
const char *file;
unsigned int line;
return (tresult);
zname);
zname);
zname);
return (result);
keyname);
return (ISC_R_FAILURE);
return (ISC_R_SUCCESS);
static isc_result_t
const char *file;
unsigned int line;
return (tresult);
return (tresult);
return (result);
static isc_result_t
== ISC_R_SUCCESS);
return (result);
static isc_result_t
return (ISC_R_NOMEMORY);
return (ISC_R_NOMEMORY);
return (tresult);
return (tresult);
return (result);
const char *aclname;
aclname);
const char *name;
return (result);