summaryrefslogtreecommitdiffstats
path: root/test/helpers/quictestlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/helpers/quictestlib.h')
-rw-r--r--test/helpers/quictestlib.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/helpers/quictestlib.h b/test/helpers/quictestlib.h
index d1ac350c24..79de17d153 100644
--- a/test/helpers/quictestlib.h
+++ b/test/helpers/quictestlib.h
@@ -194,11 +194,13 @@ int qtest_fault_resize_message(QTEST_FAULT *fault, size_t newlen);
* Helper function to delete an extension from an extension block. |exttype| is
* the type of the extension to be deleted. |ext| points to the extension block.
* On entry |*extlen| contains the length of the extension block. It is updated
- * with the new length on exit.
+ * with the new length on exit. If old_ext is non-NULL, the deleted extension
+ * is appended to the given BUF_MEM.
*/
int qtest_fault_delete_extension(QTEST_FAULT *fault,
unsigned int exttype, unsigned char *ext,
- size_t *extlen);
+ size_t *extlen,
+ BUF_MEM *old_ext);
/*
* Add additional helper functions for querying extensions here (e.g.