summaryrefslogtreecommitdiffstats
path: root/ui/test/discover-test.c
Commit message (Collapse)AuthorAgeFilesLines
* discover: Consolidate user events by device IDJeremy Kerr2013-04-161-0/+18
| | | | | | | | | | Currently, we assume all user events are for a new device. This means that we can never add boot options to an existing device. This change tries to find an existing (matching by ID) device before creating a new one in the user event add path. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* discover-client: interact directly with waitsetJeremy Kerr2013-04-151-2/+5
| | | | | | | | | | | | | | Currently, clients need to mess with the discover client fd directly, and manually register the waiter. Instead, this change adds a waitset parameter to discover_client_register, so that the discover client can register itself, and call discover_client_process directly. This means no proxy handlers, and no casts to waiter callbacks. We can also get rid of discover_client_get_fd. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Rename pb-test.c to discover-test.cGeoff Levand2012-02-121-0/+61
Signed-off-by: Geoff Levand <geoff@infradead.org>
OpenPOWER on IntegriCloud