.TH ldns 3 "30 May 2006" .SH NAME ldns_buffer_remaining_at, ldns_buffer_remaining, ldns_buffer_available_at, ldns_buffer_available, ldns_buffer_status, ldns_buffer_status_ok\- .SH SYNOPSIS #include .br #include .br .PP #include .PP size_t ldns_buffer_remaining_at(ldns_buffer *buffer, size_t at); .PP size_t ldns_buffer_remaining(ldns_buffer *buffer); .PP int ldns_buffer_available_at(ldns_buffer *buffer, size_t at, size_t count); .PP int ldns_buffer_available(ldns_buffer *buffer, size_t count); .PP ldns_status ldns_buffer_status(ldns_buffer *buffer); .PP bool ldns_buffer_status_ok(ldns_buffer *buffer); .PP .SH DESCRIPTION .HP \fIldns_buffer_remaining_at\fR() returns the number of bytes remaining between the indicated position and the limit. \.br \fBbuffer\fR: the buffer \.br \fBat\fR: indicated position \.br Returns number of bytes .PP .HP \fIldns_buffer_remaining\fR() returns the number of bytes remaining between the buffer's position and limit. \.br \fBbuffer\fR: the buffer \.br Returns the number of bytes .PP .HP \fIldns_buffer_available_at\fR() checks if the buffer has at least \%COUNT more bytes available. Before reading or writing the caller needs to ensure enough space is available! \.br \fBbuffer\fR: the buffer \.br \fBat\fR: indicated position \.br \fBcount\fR: how much is available \.br Returns true or false (as int?) .PP .HP \fIldns_buffer_available\fR() checks if the buffer has count bytes available at the current position \.br \fBbuffer\fR: the buffer \.br \fBcount\fR: how much is available \.br Returns true or false (as int?) .PP .HP \fIldns_buffer_status\fR() returns the status of the buffer \\param[in] buffer \.br Returns the status .PP .HP \fIldns_buffer_status_ok\fR() returns true if the status of the buffer is \%LDNS_STATUS_OK, false otherwise \.br \fBbuffer\fR: the buffer \.br Returns true or false .PP .SH AUTHOR The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben. .SH REPORTING BUGS Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html .SH COPYRIGHT Copyright (c) 2004 - 2006 NLnet Labs. .PP Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. .SH SEE ALSO \fIldns_buffer\fR. And \fBperldoc Net::DNS\fR, \fBRFC1034\fR, \fBRFC1035\fR, \fBRFC4033\fR, \fBRFC4034\fR and \fBRFC4035\fR. .SH REMARKS This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl.