rdataslab.c revision 6028d1ce0380d0ba7f6c6ecd1ad20b31ddd1becb
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * Copyright (C) 1999, 2000 Internet Software Consortium.
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * Permission to use, copy, modify, and distribute this software for any
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * purpose with or without fee is hereby granted, provided that the above
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * copyright notice and this permission notice appear in all copies.
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
705cea35a8f798340ac947713ab97791be521b52Mukund Sivaraman/* $Id: rdataslab.c,v 1.13 2000/05/08 19:23:14 tale Exp $ */
#include <config.h>
unsigned char *rawbuf;
unsigned int buflen;
unsigned int nitems;
nitems = 0;
nitems++;
return (result);
return (ISC_R_NOMEMORY);
return (result);
return (ISC_R_SUCCESS);
unsigned char *current;
while (count > 0) {
count--;
olength = 0;
tcount++;
ncount--;
} while (ncount > 0);
return (DNS_R_UNCHANGED);
return (ISC_R_NOMEMORY);
ncount--;
} while (ncount > 0);
return (ISC_R_SUCCESS);
unsigned char **tslabp)
tcount = 0;
tcount++;
mcount--;
} while (mcount > 0);
if (tcount == 0)
return (DNS_R_NXRRSET);
if (!removed_something)
return (DNS_R_UNCHANGED);
return (ISC_R_NOMEMORY);
mcount--;
} while (mcount > 0);
return (ISC_R_SUCCESS);