1ldns(3)                    Library Functions Manual                    ldns(3)
2
3
4

NAME

6       ldns_str2period
7
8

SYNOPSIS

10       #include <stdint.h>
11       #include <stdbool.h>
12
13       #include <ldns/ldns.h>
14
15       uint32_t ldns_str2period(const char *nptr, const char **endptr);
16

DESCRIPTION

18       ldns_str2period() converts a ttl value (like 5d2h) to a long.
19              nptr: the start of the string
20              endptr: points to the last char in case of error
21              Returns the convert duration value
22

AUTHOR

24       The  ldns  team  at  NLnet Labs. Which consists out of Jelte Jansen and
25       Miek Gieben.
26
27

REPORTING BUGS

29       Please report bugs to ldns-team@nlnetlabs.nl  or  in  our  bugzilla  at
30       http://www.nlnetlabs.nl/bugs/index.html
31
32
34       Copyright (c) 2004 - 2006 NLnet Labs.
35
36       Licensed under the BSD License. There is NO warranty; not even for MER‐
37       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
38

SEE ALSO

40       perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
41

REMARKS

43       This manpage was automaticly generated from the ldns source code by use
44       of Doxygen and some perl.
45
46
47
48                                  30 May 2006                          ldns(3)
Impressum