bind9/lib
Ondřej Surý e6062ee3ae
Add isc_buffer_setmctx() and isc_buffer_clearmctx() function
Add two extra functions needed by StreamDNS:

1. isc_buffer_setmctx() sets the buffer internal memory context, so we
   can use isc_buffer_reserve() on the buffer.  For this, we also need
   to track whether the .base was dynamically allocated or not.  This
   needs to be called after isc_buffer_init() and before first
   isc_buffer_reserve() call.

2. isc_buffer_clearmctx() clears the buffer internal memory context, and
   frees any dynamically allocated buffer.  This needs to be called
   after the last isc_buffer_reserve() call and before calling the
   isc_buffer_invalidate()
2022-12-20 19:13:48 +01:00
..
bind9 Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
dns Enable auto-reallocation for all isc_buffer_allocate() buffers 2022-12-20 19:13:48 +01:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
isc Add isc_buffer_setmctx() and isc_buffer_clearmctx() function 2022-12-20 19:13:48 +01:00
isccc Change the isc_buffer_reserve() to take just buffer pointer 2022-12-20 19:13:48 +01:00
isccfg Remove isc_resource API and set limits directly in named_os unit 2022-12-07 19:40:00 +01:00
ns Refactor the isc_buffer_{get,put}uintN, add isc_buffer_peekuintN 2022-12-20 19:13:48 +01:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00