discover: Add test_data member to struct discover_context
authorJeremy Kerr <jk@ozlabs.org>
Fri, 27 Sep 2013 06:16:10 +0000 (14:16 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 1 Oct 2013 04:51:59 +0000 (12:51 +0800)
commite28232f4b8941ccd151abaaae3f18c32400436f3
tree2a5b9da5141d64f47fa4eea912ecad39e7e670c6
parentbd6e384a0ba2c1464d9270baf829fea932b88224
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 <jk@ozlabs.org>
discover/device-handler.c
discover/device-handler.h
test/parser/utils.c