diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-15 17:12:47 -0700 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-15 17:12:47 -0700 |
commit | 8753fadf2a6ecead372e71b8bf9336cf29f9c958 (patch) | |
tree | 9032f1a046db6a757234ddc19bfcd798b04ec0a2 /udev/lib/libudev.h | |
parent | 9a8047fa290f05d0b2dcf7e7dbe8539c6e3d325e (diff) |
libudev: switch API from devpath to syspath
Diffstat (limited to 'udev/lib/libudev.h')
-rw-r--r-- | udev/lib/libudev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/lib/libudev.h b/udev/lib/libudev.h index 05f23e1705..6996b47fa3 100644 --- a/udev/lib/libudev.h +++ b/udev/lib/libudev.h @@ -45,7 +45,7 @@ extern void udev_selinux_setfscreatecon(struct udev *udev, const char *file, uns extern void udev_selinux_lsetfilecon(struct udev *udev, const char *file, unsigned int mode); struct udev_device; -extern struct udev_device *udev_device_new_from_devpath(struct udev *udev, const char *devpath); +extern struct udev_device *udev_device_new_from_syspath(struct udev *udev, const char *syspath); extern struct udev_device *udev_device_get_parent(struct udev_device *udev_device); extern struct udev_device *udev_device_ref(struct udev_device *udev_device); extern void udev_device_unref(struct udev_device *udev_device); @@ -71,7 +71,7 @@ extern const char *udev_device_get_attr_value(struct udev_device *udev_device, c extern int udev_enumerate_devices(struct udev *udev, const char *subsystem, int (*cb)(struct udev *udev, - const char *devpath, const char *subsystem, const char *name, void *data), + const char *syspath, const char *subsystem, const char *name, void *data), void *data); struct udev_monitor; |