From e28232f4b8941ccd151abaaae3f18c32400436f3 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Fri, 27 Sep 2013 14:16:10 +0800 Subject: discover: Add test_data member to struct discover_context We have parsers passing discover_contexts around, which we want to hook into the test framework. Add a void * member, which the test code can use to reference the test. Signed-off-by: Jeremy Kerr --- discover/device-handler.c | 1 + 1 file changed, 1 insertion(+) (limited to 'discover/device-handler.c') diff --git a/discover/device-handler.c b/discover/device-handler.c index 8b4046e..fc280af 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -520,6 +520,7 @@ struct discover_context *device_handler_discover_context_create( ctx = talloc(handler, struct discover_context); ctx->device = device; ctx->conf_url = NULL; + ctx->test_data = NULL; list_init(&ctx->boot_options); return ctx; -- cgit v1.2.1