diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-12-15 15:22:34 +1100 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-12-15 15:22:34 +1100 |
commit | 32e6a41f33e5576716b351bd473a27939fe94fa1 (patch) | |
tree | 0d6b75ac0a02d2496416095405cb9498777c3beb /discover/pb-discover.h | |
parent | 000a92b4fa909c432732ac3ed8f28eeeaeac70ee (diff) | |
download | talos-petitboot-32e6a41f33e5576716b351bd473a27939fe94fa1.tar.gz talos-petitboot-32e6a41f33e5576716b351bd473a27939fe94fa1.zip |
Initial support for multiple UIs
Move the device discovery code from separate udev helpers to a single
process to listen on two sockets: one SOCK_DGRAM for incoming udev
events, and one SOCK_STREAM for UIs to connect.
Initial support for client/server infrastructure, still need to wire-up
the udev messages.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/pb-discover.h')
-rw-r--r-- | discover/pb-discover.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/discover/pb-discover.h b/discover/pb-discover.h new file mode 100644 index 0000000..a48557c --- /dev/null +++ b/discover/pb-discover.h @@ -0,0 +1,6 @@ +#ifndef _PB_DISCOVER_H +#define _PB_DISCOVER_H + +int register_waiter(int fd, int *callback(void *), void *arg); + +#endif /* _PB_DISCOVER_H */ |