Changeset View
Changeset View
Standalone View
Standalone View
contrib/ldns/ldns/rr_functions.h
Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | |||||
bool ldns_rr_rrsig_set_origttl(ldns_rr *r, ldns_rdf *f); | bool ldns_rr_rrsig_set_origttl(ldns_rr *r, ldns_rdf *f); | ||||
/** | /** | ||||
* returns the expiration time of a LDNS_RR_TYPE_RRSIG RR | * returns the expiration time of a LDNS_RR_TYPE_RRSIG RR | ||||
* \param[in] r the resource record | * \param[in] r the resource record | ||||
* \return a ldns_rdf* with the expiration time or NULL on failure | * \return a ldns_rdf* with the expiration time or NULL on failure | ||||
*/ | */ | ||||
ldns_rdf* ldns_rr_rrsig_expiration(const ldns_rr *r); | ldns_rdf* ldns_rr_rrsig_expiration(const ldns_rr *r); | ||||
/** | /** | ||||
* sets the expireation date of a LDNS_RR_TYPE_RRSIG rr | * sets the expiration date of a LDNS_RR_TYPE_RRSIG rr | ||||
* \param[in] r the rr to use | * \param[in] r the rr to use | ||||
* \param[in] f the expireation date to set | * \param[in] f the expiration date to set | ||||
* \return true on success, false otherwise | * \return true on success, false otherwise | ||||
*/ | */ | ||||
bool ldns_rr_rrsig_set_expiration(ldns_rr *r, ldns_rdf *f); | bool ldns_rr_rrsig_set_expiration(ldns_rr *r, ldns_rdf *f); | ||||
/** | /** | ||||
* returns the inception time of a LDNS_RR_TYPE_RRSIG RR | * returns the inception time of a LDNS_RR_TYPE_RRSIG RR | ||||
* \param[in] r the resource record | * \param[in] r the resource record | ||||
* \return a ldns_rdf* with the inception time or NULL on failure | * \return a ldns_rdf* with the inception time or NULL on failure | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 229 Lines • Show Last 20 Lines |