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

NAME

6       ldns_fget_token, ldns_fskipcs
7
8

SYNOPSIS

10       #include <stdint.h>
11       #include <stdbool.h>
12
13       #include <ldns/ldns.h>
14
15       ssize_t ldns_fget_token(FILE *f, char *token, const char *delim, size_t
16       limit);
17
18       void ldns_fskipcs(FILE *fp, const char *s);
19

DESCRIPTION

21       ldns_fget_token() returns a token/char from the stream F.   This  func‐
22              tion  deals  with  (  and ) in the stream, and ignores them when
23              encountered
24              *f: the file to read from
25              *token: the read token is put here
26              *delim: chars at which the parsing should stop
27              *limit: how much to read. If 0 the builtin maximum is used
28              Returns 0 on error of EOF of the stream F.  Otherwise return the
29              length of what is read
30
31       ldns_fskipcs()  skips  all of the characters in the given string in the
32              fp, moving the position to the first character that  is  not  in
33              *s.
34              *fp: file to use
35              *s: characters to skip
36              Returns void
37

AUTHOR

39       The  ldns  team  at  NLnet Labs. Which consists out of Jelte Jansen and
40       Miek Gieben.
41
42

REPORTING BUGS

44       Please report bugs to ldns-team@nlnetlabs.nl  or  in  our  bugzilla  at
45       http://www.nlnetlabs.nl/bugs/index.html
46
47
49       Copyright (c) 2004 - 2006 NLnet Labs.
50
51       Licensed under the BSD License. There is NO warranty; not even for MER‐
52       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
53
54

SEE ALSO

56       ldns_buffer.  And perldoc Net::DNS, RFC1034, RFC1035, RFC4033,  RFC4034
57       and RFC4035.
58

REMARKS

60       This manpage was automaticly generated from the ldns source code by use
61       of Doxygen and some perl.
62
63
64
65                                  30 May 2006                          ldns(3)
Impressum