diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-12-15 08:57:46 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-12-15 08:58:46 +0100 |
commit | 9c6a11b1c6c68dabfd28b72d361da0e1930c7321 (patch) | |
tree | 581eed5eeb14013c6ec4e9669ed14d6ed69d107e /libudev/libudev-private.h | |
parent | 93a724d3f8afc4b6fe5c7c9642c79df724324ed3 (diff) |
libudev: record and export "age" of device record
Diffstat (limited to 'libudev/libudev-private.h')
-rw-r--r-- | libudev/libudev-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libudev/libudev-private.h b/libudev/libudev-private.h index f7b4f90519..f95be53df7 100644 --- a/libudev/libudev-private.h +++ b/libudev/libudev-private.h @@ -98,6 +98,8 @@ int udev_device_get_event_timeout(struct udev_device *udev_device); int udev_device_set_event_timeout(struct udev_device *udev_device, int event_timeout); int udev_device_set_devnum(struct udev_device *udev_device, dev_t devnum); int udev_device_set_seqnum(struct udev_device *udev_device, unsigned long long int seqnum); +unsigned long long udev_device_get_usec_initialized(struct udev_device *udev_device); +void udev_device_set_usec_initialized(struct udev_device *udev_device, unsigned long long usec_initialized); int udev_device_get_devlink_priority(struct udev_device *udev_device); int udev_device_set_devlink_priority(struct udev_device *udev_device, int prio); int udev_device_get_watch_handle(struct udev_device *udev_device); @@ -224,6 +226,7 @@ int util_run_program(struct udev *udev, const char *command, char **envp, const sigset_t *sigmask, bool reset_prio); int util_resolve_subsys_kernel(struct udev *udev, const char *string, char *result, size_t maxsize, int read_value); +unsigned long long usec_monotonic(void); /* libudev-selinux-private.c */ #ifndef WITH_SELINUX |