aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/resolver/rr_set.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/resolver/rr_set.h')
-rw-r--r--src/libstrongswan/resolver/rr_set.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libstrongswan/resolver/rr_set.h b/src/libstrongswan/resolver/rr_set.h
index cbca38dfb..5a1737a05 100644
--- a/src/libstrongswan/resolver/rr_set.h
+++ b/src/libstrongswan/resolver/rr_set.h
@@ -25,6 +25,7 @@ typedef struct rr_set_t rr_set_t;
#include <library.h>
#include <collections/enumerator.h>
+#include <collections/linked_list.h>
/**
* A set of DNS Resource Records.
@@ -64,4 +65,15 @@ struct rr_set_t {
void (*destroy) (rr_set_t *this);
};
+/**
+ * Create an rr_set instance.
+ *
+ * @param list_of_rr list of Resource Records which form this RRset
+ * @param list_of_rrsig list of the signatures (RRSIGs) of the
+ * Resource Records of this set
+ * @return Resource Record set, NULL on failure
+ */
+rr_set_t *rr_set_create(linked_list_t *list_of_rr,
+ linked_list_t *list_of_rrsig);
+
#endif /** RR_SET_H_ @}*/