*
*/
-#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];