1ldns(25 Apr 2005)                                            ldns(25 Apr 2005)
2
3
4

NAME

6       ldns_buffer_remaining_at,   ldns_buffer_remaining,   ldns_buffer_avail‐
7       able_at,  ldns_buffer_available,  ldns_buffer_status,  ldns_buffer_sta‐
8       tus_ok
9
10

SYNOPSIS

12       #ifdef HAVE_STDINT_H
13       #include <stdint.h>
14       #endif /* HAVE_STDINT_H */
15
16       #ifdef HAVE_STDBOOL_H
17       #include <stdbool.h>
18       #endif /* HAVE_STDBOOL_H */
19
20       #include <ldns/ldns.h>
21
22       size_t ldns_buffer_remaining_at(ldns_buffer *buffer, size_t at);
23
24       size_t ldns_buffer_remaining(ldns_buffer *buffer);
25
26       int  ldns_buffer_available_at(ldns_buffer  *buffer,  size_t  at, size_t
27       count);
28
29       int ldns_buffer_available(ldns_buffer *buffer, size_t count);
30
31       ldns_status ldns_buffer_status(ldns_buffer *buffer);
32
33       bool ldns_buffer_status_ok(ldns_buffer *buffer);
34

DESCRIPTION

36       ldns_buffer_remaining_at()  returns  the  number  of  bytes   remaining
37              between the indicated position and the limit.
38
39       ldns_buffer_remaining()  returns  the number of bytes remaining between
40              the buffer's position and limit.
41
42       ldns_buffer_available_at() checks if the buffer has at least COUNT more
43              bytes  available.  Before reading or writing the caller needs to
44              ensure enough space is available!
45
46       ldns_buffer_available() checks if the buffer has count bytes  available
47              at the current position
48
49       ldns_buffer_status() returns the status of the buffer
50
51       ldns_buffer_status_ok()  returns  true  if  the status of the buffer is
52              LDNS_STATUS_OK, false otherwise
53

AUTHOR

55       The ldns team at NLnet Labs. Which consists out of: Jelte Jansen,  Erik
56       Rozendaal and Miek Gieben.
57
58

REPORTING BUGS

60       Please  report  bugs  to  ldns-team@nlnetlabs.nl  or in our Bugzilla at
61       http://www.nlnetlabs.nl/bugs/index.html
62
63       Be sure to select ldns as the product.
64
65
67       Copyright (c) 2004, 2005 NLnet Labs.  Licensed under the  BSD  License.
68       There  is  NO  warranty;  not even for MERCHANTABILITY or FITNESS FOR A
69       PARTICULAR PURPOSE.
70

SEE ALSO

72       perldoc Net::DNS, RFC1043, RFC1035, RFC4033, RFC4034 and RFC4035.
73

REMARKS

75       This manpage was automaticly generated from the ldns source code by use
76       of Doxygen and some perl.
77
78
79
80                                                             ldns(25 Apr 2005)
Impressum