ssu.c revision dc1961d96f9d116f77e0ac5e4a0b2bb5bb40328e
/*
* $Id: ssu.c,v 1.5 2000/03/02 20:39:23 brister Exp $
* Principal Author: Brian Wellington
*/
#include <config.h>
#include <string.h>
#include <isc/assertions.h>
struct dns_ssurule {
unsigned int matchtype; /* which type of pattern match? */
unsigned int ntypes; /* number of data types covered */
/* defaults to all but SIG,SOA,NS if NULL*/
};
struct dns_ssutable {
};
return (ISC_R_NOMEMORY);
return (ISC_R_SUCCESS);
}
void
}
}
}
}
{
if (matchtype == DNS_SSUMATCHTYPE_WILDCARD)
if (ntypes > 0)
return (ISC_R_NOMEMORY);
goto failure;
}
if (result != ISC_R_SUCCESS)
goto failure;
goto failure;
}
if (result != ISC_R_SUCCESS)
goto failure;
if (ntypes > 0) {
ntypes * sizeof(dns_rdatatype_t));
goto failure;
}
}
else
return (ISC_R_SUCCESS);
}
}
ntypes * sizeof(dns_rdatatype_t));
return (result);
}
static inline isc_boolean_t
return (type != dns_rdatatype_ns &&
type != dns_rdatatype_soa &&
type != dns_rdatatype_sig);
}
{
unsigned int i;
return (ISC_FALSE);
{
continue;
}
else {
continue;
}
continue;
}
continue;
}
continue;
}
continue;
}
if (!isusertype(type))
continue;
}
else {
break;
}
continue;
}
}
return (ISC_FALSE);
}
}
}
unsigned int
}
}
unsigned int
}
}
}