chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] udevinfo - missing options for man page
[elogind.git]
/
udevd.h
diff --git
a/udevd.h
b/udevd.h
index 43fe6b421a0b5773ed1d274a5923580da3dc8efd..c9b69bbc3cb6a0e4282556af8a8a1e6c4c18a629 100644
(file)
--- a/
udevd.h
+++ b/
udevd.h
@@
-21,17
+21,22
@@
*
*/
*
*/
-#define DEFAULT_UDEV_EXEC "./udev"
-#define DEFAULT_UDEVD_EXEC "./udevd"
+#include "list.h"
-#define IPC_KEY_ID 0
-#define HOTPLUGMSGTYPE 44
+#define UDEV_EXEC "./udev"
+#define UDEVD_EXEC "./udevd"
+#define UDEVD_TIMEOUT_SECONDS 60
+#define EVENT_TIMEOUT_SECONDS 5
+
+#define IPC_KEY_ID 0
+#define HOTPLUGMSGTYPE 44
struct hotplug_msg {
long mtype;
struct hotplug_msg {
long mtype;
- struct
hotplug_msg *nex
t;
+ struct
list_head lis
t;
int seqnum;
int seqnum;
+ time_t queue_time;
char action[8];
char devpath[128];
char subsystem[16];
char action[8];
char devpath[128];
char subsystem[16];