#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'. |
Definition in file bufferlist.h.
#define ISC_BUFFERLIST_H 1 |
Definition at line 21 of file bufferlist.h.
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:
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.