diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-15 11:19:56 -0700 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-15 11:19:56 -0700 |
commit | 0518da3b74a388680896747696b3644bbd3d98e5 (patch) | |
tree | e0e430bb2e3546ceb2edccc9930276ece1668028 /udev/lib/libudev-private.h | |
parent | 93b0f384589fce818edb9678571a30e71930d14c (diff) |
libudev: handle "device" link as parent, handle "class" "block" as "subsystem"
Diffstat (limited to 'udev/lib/libudev-private.h')
-rw-r--r-- | udev/lib/libudev-private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/udev/lib/libudev-private.h b/udev/lib/libudev-private.h index c2a3268038..f28bd9acfc 100644 --- a/udev/lib/libudev-private.h +++ b/udev/lib/libudev-private.h @@ -59,7 +59,8 @@ extern int device_set_devpath(struct udev_device *udev_device, const char *devpa extern int device_set_subsystem(struct udev_device *udev_device, const char *subsystem); extern int device_set_devname(struct udev_device *udev_device, const char *devname); extern int device_add_devlink(struct udev_device *udev_device, const char *devlink); -extern int device_add_property(struct udev_device *udev_device, const char *property); +extern int device_add_property(struct udev_device *udev_device, const char *key, const char *value); +extern int device_add_property_from_string(struct udev_device *udev_device, const char *property); extern int device_set_action(struct udev_device *udev_device, const char *action); extern int device_set_driver(struct udev_device *udev_device, const char *driver); extern const char *device_get_devpath_old(struct udev_device *udev_device); |