#include <config.h>
#include <stddef.h>
#include <isc/buffer.h>
#include <isc/bufferlist.h>
#include <isc/util.h>
Go to the source code of this file.
Functions | |
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'. |
Definition in file bufferlist.c.
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:
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:
Definition at line 49 of file bufferlist.c.
References buffer, isc_buffer_availablelength, ISC_BUFFER_VALID, ISC_LIST_HEAD, ISC_LIST_NEXT, and REQUIRE.