]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - sys-utils/hwclock.h
include/c: add print_version() macro
[thirdparty/util-linux.git] / sys-utils / hwclock.h
index 7bb6ec8bd46782083257b1f1ac29955d4ee68fb3..92fdb5f82edc1a07f7e9e9dcbe8812c1a925426c 100644 (file)
@@ -22,6 +22,7 @@ UL_DEBUG_DECLARE_MASK(hwclock);
 struct hwclock_control {
        char *date_opt;
        char *adj_file_name;
+       double rtc_delay;       /* --delay <seconds> */
 #if defined(__linux__) && defined(__alpha__)
        char *epoch_option;
 #endif
@@ -58,6 +59,7 @@ struct clock_ops {
        int (*read_hardware_clock) (const struct hwclock_control *ctl, struct tm * tm);
        int (*set_hardware_clock) (const struct hwclock_control *ctl, const struct tm * tm);
        int (*synchronize_to_clock_tick) (const struct hwclock_control *ctl);
+       const char *(*get_device_path) (void);
 };
 
 extern struct clock_ops *probe_for_cmos_clock(void);