Add discover device report
authorGeoff Levand <geoffrey.levand@am.sony.com>
Sun, 12 Apr 2009 15:11:46 +0000 (15:11 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 30 Jun 2009 07:29:13 +0000 (15:29 +0800)
commit1eaa67c4bd124bd9e786c64c95f4fb1f3570482b
tree2ee70553839a766739d8cbeea0a1cffbf9accb05
parenta79f81caba3886b5f49ebb578f0c71a42a74adfa
Add discover device report

Fillout the missing discover code that reports current devices.
Replaces device_handler_get_current_devices() with two new
accessor routines device_handler_get_device_count() and
device_handler_get_device().

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/device-handler.c
discover/device-handler.h
discover/discover-server.c