discover: Add device-specific status reporting functions
authorJeremy Kerr <jk@ozlabs.org>
Mon, 12 Dec 2016 07:43:21 +0000 (15:43 +0800)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 20 Dec 2016 05:40:21 +0000 (16:40 +1100)
commit8ed7af65d5eaea57a62c26bef6267047cf3c95ea
treef42e72b0d7ae399fb1c585464c19dc26b9301b80
parent458e307dd5a19de5c530c9eebeffadfce1a48feb
discover: Add device-specific status reporting functions

Most of our status reporting is against a specific device, so add
status reporting functions that take a struct discover_device and use a
stnadard prefix.

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