40 #ifndef LDNS_DURATION_H
41 #define LDNS_DURATION_H
ldns_duration_type * ldns_duration_create_from_string(const char *str)
Create a duration from string.
void ldns_duration_cleanup(ldns_duration_type *duration)
Clean up duration.
char * ldns_duration2string(ldns_duration_type *duration)
Convert a duration to a string.
ldns_duration_type * ldns_duration_create(void)
This file is copied from the OpenDNSSEC source repository and only slightly adapted to make it fit...
time_t ldns_duration2time(ldns_duration_type *duration)
Convert a duration to a time.
int ldns_duration_compare(ldns_duration_type *d1, ldns_duration_type *d2)
Compare durations.