]> wimlib.net Git - wimlib/blobdiff - include/wimlib/timestamp.h
Improved year 2038 safety
[wimlib] / include / wimlib / timestamp.h
index ac69846bc29d86aa293849958ac51c856a6e559a..37666c9aeb3329747aa55ca5348212b7132ee2d7 100644 (file)
 
 #include "wimlib/types.h"
 
+struct wimlib_timespec;
+
 extern time_t
 wim_timestamp_to_time_t(u64 timestamp);
 
+extern void
+wim_timestamp_to_wimlib_timespec(u64 timestamp, struct wimlib_timespec *wts,
+                                s32 *high_part_ret);
+
 extern struct timeval
 wim_timestamp_to_timeval(u64 timestamp);