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] add inotify to the rules for gentoo
[elogind.git]
/
udevd.h
diff --git
a/udevd.h
b/udevd.h
index 96f179ad44b6065cc13f82dac9c26eed693f750d..657f684e3fb3a861d03f99cde64de1f7bb6e6476 100644
(file)
--- a/
udevd.h
+++ b/
udevd.h
@@
-25,15
+25,17
@@
#include "list.h"
#define UDEV_MAGIC "udevd_" UDEV_VERSION
#include "list.h"
#define UDEV_MAGIC "udevd_" UDEV_VERSION
-#define EVENT_TIMEOUT_SEC 5
-#define UDEVSEND_CONNECT_RETRY 20 /* x 100 millisec */
+#define EVENT_TIMEOUT_SEC 10
#define UDEVD_SOCK_PATH "udevd"
#define UDEVD_SOCK_PATH "udevd"
+#define SEND_WAIT_MAX_SECONDS 3
+#define SEND_WAIT_LOOP_PER_SECOND 10
+
struct hotplug_msg {
char magic[20];
struct list_head list;
pid_t pid;
struct hotplug_msg {
char magic[20];
struct list_head list;
pid_t pid;
-
int
seqnum;
+
unsigned long long
seqnum;
long queue_time;
char action[ACTION_SIZE];
char devpath[DEVPATH_SIZE];
long queue_time;
char action[ACTION_SIZE];
char devpath[DEVPATH_SIZE];