byaddr.c revision 16a68807e13caea3183a41a5292f1b3f48b81a26
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater * Copyright (C) 2000-2003 Internet Software Consortium.
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater * Permission to use, copy, modify, and distribute this software for any
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * purpose with or without fee is hereby granted, provided that the above
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * copyright notice and this permission notice appear in all copies.
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews * PERFORMANCE OF THIS SOFTWARE.
d76ed813a51465e5c47d521ab09ea20c06f1428dMark Andrews/* $Id: byaddr.c,v 1.35 2004/08/28 06:16:55 marka Exp $ */
struct dns_byaddr {
unsigned int magic;
unsigned int options;
static char hex_digits[] = {
unsigned char *bytes;
char *cp;
unsigned int len;
return (ISC_R_NOTIMPLEMENTED);
static inline isc_result_t
return (result);
return (ISC_R_NOMEMORY);
return (ISC_R_NOMEMORY);
return (result);
return (ISC_R_NOMEMORY);
goto cleanup_byaddr;
goto cleanup_event;
goto cleanup_lock;
goto cleanup_lock;
return (ISC_R_SUCCESS);
return (result);