aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/resolver/rr_set.h
diff options
context:
space:
mode:
authorReto Guadagnini <rguadagn@hsr.ch>2012-04-03 22:15:00 +0200
committerTobias Brunner <tobias@strongswan.org>2013-02-19 11:57:21 +0100
commit62ea67e7003d9f0b3db1cdda694f86deec87aabe (patch)
tree05d4b524f665703672a0471feff93edbadf857f8 /src/libstrongswan/resolver/rr_set.h
parent4a335a2164aabadd9bbe56ea56c003565348c798 (diff)
downloadstrongswan-62ea67e7003d9f0b3db1cdda694f86deec87aabe.tar.bz2
strongswan-62ea67e7003d9f0b3db1cdda694f86deec87aabe.tar.xz
Implemented rr_set_t interface
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_ @}*/