/*
* Copyright (C) 2017 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/.
*/
#ifndef RDATA_GENERIC_DOA_259_C
#define RDATA_GENERIC_DOA_259_C
#define RRTYPE_DOA_ATTRIBUTES (0)
static inline isc_result_t
/*
* DOA-ENTERPRISE
*/
ISC_FALSE));
/*
* DOA-TYPE
*/
ISC_FALSE));
/*
* DOA-LOCATION
*/
ISC_FALSE));
}
/*
* DOA-MEDIA-TYPE
*/
ISC_FALSE));
/*
* DOA-DATA
*/
ISC_FALSE));
return (ISC_R_SUCCESS);
} else {
}
}
static inline isc_result_t
isc_uint32_t n;
/*
* DOA-ENTERPRISE
*/
n = uint32_fromregion(®ion);
/*
* DOA-TYPE
*/
n = uint32_fromregion(®ion);
/*
* DOA-LOCATION
*/
n = uint8_fromregion(®ion);
/*
* DOA-MEDIA-TYPE
*/
/*
* DOA-DATA
*/
} else {
}
}
static inline isc_result_t
/*
* DOA-MEDIA-TYPE may be an empty <character-string> (i.e.,
* comprising of just the length octet) and DOA-DATA can have
* zero length.
*/
return (ISC_R_UNEXPECTEDEND);
}
/*
* Check whether DOA-MEDIA-TYPE length is not malformed.
*/
return (ISC_R_UNEXPECTEDEND);
}
}
static inline isc_result_t
}
static inline int
}
static inline isc_result_t
}
static inline isc_result_t
/*
* DOA-ENTERPRISE
*/
return (ISC_R_UNEXPECTEDEND);
}
/*
* DOA-TYPE
*/
return (ISC_R_UNEXPECTEDEND);
}
/*
* DOA-LOCATION
*/
return (ISC_R_UNEXPECTEDEND);
}
/*
* DOA-MEDIA-TYPE
*/
return (ISC_R_UNEXPECTEDEND);
}
goto cleanup;
}
/*
* DOA-DATA
*/
goto cleanup;
}
}
return (ISC_R_SUCCESS);
}
return (ISC_R_NOMEMORY);
}
static inline void
return;
}
}
}
}
static inline isc_result_t
return (ISC_R_SUCCESS);
}
static inline isc_result_t
isc_region_t r;
dns_rdata_toregion(rdata, &r);
}
static inline isc_boolean_t
return (ISC_TRUE);
}
static inline isc_boolean_t
return (ISC_TRUE);
}
static inline int
}
#endif /* RDATA_GENERIC_DOA_259_C */