bufferlist.h File Reference

Buffer lists have no synchronization. Clients must ensure exclusive access. More...

#include <isc/lang.h>
#include <isc/types.h>

Go to the source code of this file.

Defines

#define ISC_BUFFERLIST_H   1

Functions

ISC_LANG_BEGINDECLS unsigned int isc_bufferlist_usedcount (isc_bufferlist_t *bl)
 Return the length of the sum of all used regions of all buffers in the buffer list 'bl'.
unsigned int isc_bufferlist_availablecount (isc_bufferlist_t *bl)
 Return the length of the sum of all available regions of all buffers in the buffer list 'bl'.


Detailed Description

Buffer lists have no synchronization. Clients must ensure exclusive access.

Definition in file bufferlist.h.


Define Documentation

#define ISC_BUFFERLIST_H   1

Definition at line 21 of file bufferlist.h.


Function Documentation

ISC_LANG_BEGINDECLS unsigned int isc_bufferlist_usedcount ( isc_bufferlist_t *  bl  ) 

Return the length of the sum of all used regions of all buffers in the buffer list 'bl'.

Requires:

Returns:

Definition at line 31 of file bufferlist.c.

References buffer, isc_buffer_usedlength, ISC_BUFFER_VALID, ISC_LIST_HEAD, ISC_LIST_NEXT, and REQUIRE.

unsigned int isc_bufferlist_availablecount ( isc_bufferlist_t *  bl  ) 

Return the length of the sum of all available regions of all buffers in the buffer list 'bl'.

Requires:

Returns:

Definition at line 49 of file bufferlist.c.

References buffer, isc_buffer_availablelength, ISC_BUFFER_VALID, ISC_LIST_HEAD, ISC_LIST_NEXT, and REQUIRE.


Generated on Tue Apr 28 17:41:15 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha