discover: Add helpers for status reporting
authorJeremy Kerr <jk@ozlabs.org>
Thu, 8 Dec 2016 02:08:15 +0000 (13:08 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 20 Dec 2016 04:04:29 +0000 (15:04 +1100)
commitb5f9e34d85075afe7aa87b5ce4a1a2d911468e36
tree2f1daf66c1d80f3141a3cd15d8ce1515606e5e10
parentc5ae6f4846ca4bd8e13ffa08a293950433f3096c
discover: Add helpers for status reporting

This change adds a couple of helpers for the status reporting API,
allowing callers to provide just a set of printf-style arguments, rather
than having to build up a struct status.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/device-handler.c
discover/device-handler.h
discover/pxe-parser.c