summaryrefslogtreecommitdiff
path: root/src/libknot/rrset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libknot/rrset.h')
-rw-r--r--src/libknot/rrset.h8
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);