1ldns(25 Apr 2005) ldns(25 Apr 2005)
2
3
4
6 ldns_fget_token, ldns_fskipcs
7
8
10 #ifdef HAVE_STDINT_H
11 #include <stdint.h>
12 #endif /* HAVE_STDINT_H */
13
14 #ifdef HAVE_STDBOOL_H
15 #include <stdbool.h>
16 #endif /* HAVE_STDBOOL_H */
17
18 #include <ldns/ldns.h>
19
20 ssize_t ldns_fget_token(FILE *f, char *token, const char *delim, size_t
21 limit);
22
23 void ldns_fskipcs(FILE *fp, const char *s);
24
26 ldns_fget_token() returns a token/char from the stream F. This func‐
27 tion deals with ( and ) in the stream, and ignores when it finds
28 them.
29 *f: the file to read from
30 *token: the token is put here
31 *delim: chars at which the parsing should stop
32 *limit: how much to read. If 0 use builtin maximum
33 Returns 0 on error of EOF of F otherwise return the length of
34 what is read
35
36 ldns_fskipcs() skips all of the characters in the given string in the
37 fp, moving the position to the first character that is not in
38 *s.
39 *fp: file to use
40 *s: characters to skip
41 Returns void
42
44 The ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
45 Rozendaal and Miek Gieben.
46
47
49 Please report bugs to ldns-team@nlnetlabs.nl or in our Bugzilla at
50 http://www.nlnetlabs.nl/bugs/index.html
51
52 Be sure to select ldns as the product.
53
54
56 Copyright (c) 2004, 2005 NLnet Labs. Licensed under the BSD License.
57 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
58 PARTICULAR PURPOSE.
59
61 perldoc Net::DNS, RFC1043, RFC1035, RFC4033, RFC4034 and RFC4035.
62
64 This manpage was automaticly generated from the ldns source code by use
65 of Doxygen and some perl.
66
67
68
69 ldns(25 Apr 2005)