]> git.ozlabs.org Git - petitboot/commitdiff
discover: Add device lookup functions
authorJeremy Kerr <jk@ozlabs.org>
Thu, 28 Feb 2013 09:16:57 +0000 (17:16 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 29 Apr 2013 04:31:20 +0000 (14:31 +1000)
Add a few functions to find devices by various attributes:

 * device_lookup_by_name
 * device_lookup_by_path
 * device_lookup_by_uuid
 * device_lookup_by_label
 * device_lookup_by_id

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

No differences found