diff options
author | Ondřej Surý <ondrej@sury.org> | 2013-07-29 17:14:20 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2013-07-29 17:14:20 +0200 |
commit | adbc92de0cd2832e84dc5d684c31d5a25bf13b5d (patch) | |
tree | df03690388d4c9acb870a9ce02e9592c827e378f /src/libknot/rrset.h | |
parent | 93f582ba0ad3d1f69b796b70660ccfd1530303f1 (diff) | |
download | knot-upstream/1.3.0_rc5.tar.gz |
New upstream version 1.3.0~rc5upstream/1.3.0_rc5
Diffstat (limited to 'src/libknot/rrset.h')
-rw-r--r-- | src/libknot/rrset.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libknot/rrset.h b/src/libknot/rrset.h index 2b0cb6b..05deb37 100644 --- a/src/libknot/rrset.h +++ b/src/libknot/rrset.h @@ -29,6 +29,7 @@ #define _KNOT_RRSET_H_ #include <stdint.h> +#include <stdbool.h> #include "dname.h" @@ -361,6 +362,13 @@ int knot_rrset_merge(knot_rrset_t *rrset1, const knot_rrset_t *rrset2); */ int knot_rrset_merge_no_dupl(knot_rrset_t *rrset1, const knot_rrset_t *rrset2, int *merged, int *deleted_rrs); +/*! + * \brief Return true if the RRSet is an NSEC3 related type. + * + * \param rr RRSet. + */ +bool knot_rrset_is_nsec3rel(const knot_rrset_t *rr); + //TODO test const knot_dname_t *knot_rrset_rdata_cname_name(const knot_rrset_t *rrset); |