rdatalist.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 1999-2001, 2003-2005, 2007, 2008, 2010-2012, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id$ */
/*! \file */
#include <config.h>
#include <stddef.h>
#include <string.h>
#include <dns/rdatalist.h>
#include <dns/rdataset.h>
#include "rdatalist_p.h"
static dns_rdatasetmethods_t methods = {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
};
void
/*
* Initialize rdatalist.
*/
/*
* Clear upper set bit.
*/
}
{
/*
* Make 'rdataset' refer to the rdata in 'rdatalist'.
*/
/* Check if dns_rdatalist_init has was called. */
rdataset->privateuint4 = 0;
return (ISC_R_SUCCESS);
}
{
return (ISC_R_SUCCESS);
}
void
}
return (ISC_R_NOMORE);
return (ISC_R_SUCCESS);
}
return (ISC_R_NOMORE);
return (ISC_R_NOMORE);
return (ISC_R_SUCCESS);
}
void
}
void
/*
* Reset iterator state.
*/
}
unsigned int
unsigned int count;
count = 0;
count++;
return (count);
}
{
continue;
}
return (ISC_R_NOTFOUND);
{
}
return (ISC_R_NOTFOUND);
/*
* Minimise ttl.
*/
return (ISC_R_SUCCESS);
}
{
{
continue;
}
return (ISC_R_NOTFOUND);
{
}
return (ISC_R_NOTFOUND);
return (ISC_R_SUCCESS);
}
{
continue;
}
return (ISC_R_NOTFOUND);
{
}
return (ISC_R_NOTFOUND);
/*
* Minimise ttl.
*/
return (ISC_R_SUCCESS);
}
{
{
continue;
}
return (ISC_R_NOTFOUND);
{
}
return (ISC_R_NOTFOUND);
return (ISC_R_SUCCESS);
}
void
unsigned int i;
/*
* We do not need to worry about label lengths as they are all
* less than or equal to 63.
*/
/*
* Record that upper has been set.
*/
}
void
unsigned int i;
return;
/*
* Set the case bit if it does not match the recorded bit.
*/
}
}