chiark / gitweb /
[PATCH] udevd - next round of fixes
[elogind.git] / udevd.h
diff --git a/udevd.h b/udevd.h
index eb516ab65ddeda70c6b06221818f1da4bb1a31aa..4bccd4b81a75e14cd7c46a90c0e6ce18bc303925 100644 (file)
--- a/udevd.h
+++ b/udevd.h
  *
  */
 
-#define HOTPLUGMSGTYPE         44
-#define DEFAULT_EXEC_PROGRAM   "/sbin/udev"
-#define IPC_KEY_ID             0
+#include "list.h"
+
+#define FIRST_EVENT_TIMEOUT_SEC                1
+#define EVENT_TIMEOUT_SEC              5
+#define UDEVSEND_RETRY_COUNT           50 /* x 10 millisec */
+
+#define IPC_KEY_ID                     1
+#define HOTPLUGMSGTYPE                 44
 
 
 struct hotplug_msg {
        long mtype;
-       struct hotplug_msg *next;
+       struct list_head list;
+       pid_t pid;
        int seqnum;
+       time_t queue_time;
        char action[8];
        char devpath[128];
        char subsystem[16];