Implemented rr_set_t interface
This commit is contained in:
committed by
Tobias Brunner
parent
4a335a2164
commit
62ea67e700
@@ -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_ @}*/
|
||||
|
||||
Reference in New Issue
Block a user