X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev%2Flib%2Flibudev.h;h=30753a19a782255327962c4308738ef8874ec02c;hp=cd366c7dfca81692abed23551094dda12227a432;hb=11d543c1ee886ef30c3ef66d7176149d0b126fa5;hpb=a689165b5a140cd7d5fdd63cacf8fce2f275033d diff --git a/udev/lib/libudev.h b/udev/lib/libudev.h index cd366c7df..30753a19a 100644 --- a/udev/lib/libudev.h +++ b/udev/lib/libudev.h @@ -21,7 +21,7 @@ #define _LIBUDEV_H_ /* this will stay as long as the DeviceKit integration of udev is work in progress */ -#if !defined LIBUDEV_COMPILATION && !defined LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE +#if !defined _LIBUDEV_COMPILATION && !defined LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE #error "#define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE is needed to use this experimental library version" #endif @@ -44,8 +44,9 @@ extern struct udev_device *udev_device_ref(struct udev_device *udev_device); extern void udev_device_unref(struct udev_device *udev_device); extern struct udev *udev_device_get_udev(struct udev_device *udev_device); extern const char *udev_device_get_devpath(struct udev_device *udev_device); -extern const char *udev_device_get_devname(struct udev_device *udev_device); extern const char *udev_device_get_subsystem(struct udev_device *udev_device); +extern const char *udev_device_get_syspath(struct udev_device *udev_device); +extern const char *udev_device_get_devname(struct udev_device *udev_device); extern int udev_device_get_devlinks(struct udev_device *udev_device, int (*cb)(struct udev_device *udev_device, const char *value, void *data),