summaryrefslogtreecommitdiff
path: root/udev/udev_rules.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-06 15:45:31 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-06 15:45:31 +0200
commit7d563a17f3967890331daf08d43f2f005418139b (patch)
tree88b0c35d258a5b51fcadc1c0fc96ff80dfcaeacf /udev/udev_rules.h
parentcf8ec631a23eae532541bfeeccce20f0d978404d (diff)
use libudev code, unify logging, pass udev context around everywhere
Diffstat (limited to 'udev/udev_rules.h')
-rw-r--r--udev/udev_rules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev/udev_rules.h b/udev/udev_rules.h
index 9a41ccbdd8..4f95121f30 100644
--- a/udev/udev_rules.h
+++ b/udev/udev_rules.h
@@ -108,13 +108,14 @@ struct udev_rule {
};
struct udev_rules {
+ struct udev *udev;
char *buf;
size_t bufsize;
size_t current;
int resolve_names;
};
-extern int udev_rules_init(struct udev_rules *rules, int resolve_names);
+extern int udev_rules_init(struct udev *udev, struct udev_rules *rules, int resolve_names);
extern void udev_rules_cleanup(struct udev_rules *rules);
extern void udev_rules_iter_init(struct udev_rules *rules);