[master] allow arbitrary-size rndc output

4005.	[func]		The buffer used for returning text from rndc
			commands is now dynamically resizable, allowing
			arbitrarily large amounts of text to be sent back
			to the client. (Prior to this change, it was
			possible for the output of "rndc tsig-list" to be
			truncated.) [RT #37731]
This commit is contained in:
Evan Hunt
2014-11-14 15:58:54 -08:00
parent c4abb19716
commit e32d354f75
24 changed files with 844 additions and 308 deletions

View File

@@ -37,6 +37,7 @@
/*! \file isccc/cc.h */
#include <isc/lang.h>
#include <isc/buffer.h>
#include <isccc/types.h>
ISC_LANG_BEGINDECLS
@@ -65,7 +66,7 @@ ISC_LANG_BEGINDECLS
/*% Send to Wire */
isc_result_t
isccc_cc_towire(isccc_sexpr_t *alist, isccc_region_t *target,
isccc_cc_towire(isccc_sexpr_t *alist, isc_buffer_t **buffer,
isc_uint32_t algorithm, isccc_region_t *secret);
/*% Get From Wire */