1ldns(25 Apr 2005) ldns(25 Apr 2005)
2
3
4
6 ldns_str_remove_comment
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 char* ldns_str_remove_comment(char *str);
21
23 ldns_str_remove_comment() removes comments from a string. A comment =
24 ';'. Goes on with this until a newline (0 is reached. The com‐
25 ments are replaces with spaces.
26 str: the string to remove the comments from. String must be
27 writeable
28 Returns the new string
29
31 The ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
32 Rozendaal and Miek Gieben.
33
34
36 Please report bugs to ldns-team@nlnetlabs.nl or in our Bugzilla at
37 http://www.nlnetlabs.nl/bugs/index.html
38
39 Be sure to select ldns as the product.
40
41
43 Copyright (c) 2004, 2005 NLnet Labs. Licensed under the BSD License.
44 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
45 PARTICULAR PURPOSE.
46
48 perldoc Net::DNS, RFC1043, RFC1035, RFC4033, RFC4034 and RFC4035.
49
51 This manpage was automaticly generated from the ldns source code by use
52 of Doxygen and some perl.
53
54
55
56 ldns(25 Apr 2005)