summaryrefslogtreecommitdiff
path: root/udev/udev.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-23 02:57:08 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-23 02:57:08 +0200
commitb99028c96307e729303be8f6750418979a7488b9 (patch)
tree692f8b651631ed42ee87d4f1b565efd01b12dc1f /udev/udev.h
parent40fd3bc837e04538df305b512157e55a2a5e0789 (diff)
shrink struct udev_event
Diffstat (limited to 'udev/udev.h')
-rw-r--r--udev/udev.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/udev/udev.h b/udev/udev.h
index 927ff36e01..faa1bf6851 100644
--- a/udev/udev.h
+++ b/udev/udev.h
@@ -57,30 +57,28 @@ static inline void logging_close(void)
}
struct udev_event {
+ struct udev_list_node node;
struct udev *udev;
struct udev_device *dev;
struct udev_device *dev_parent;
- int devlink_final;
- char name[UTIL_PATH_SIZE];
- int name_final;
- int name_ignore;
+ char *name;
char *tmp_node;
char *program_result;
mode_t mode;
- int mode_final;
uid_t uid;
- int owner_final;
gid_t gid;
- int group_final;
struct udev_list_node run_list;
- int run_final;
- int ignore_device;
- int test;
-
- struct udev_list_node node;
pid_t pid;
int exitstatus;
time_t queue_time;
+ unsigned int group_final:1;
+ unsigned int owner_final:1;
+ unsigned int mode_final:1;
+ unsigned int name_final:1;
+ unsigned int devlink_final:1;
+ unsigned int run_final:1;
+ unsigned int ignore_device:1;
+ unsigned int test:1;
};
/* udev-rules.c */