summaryrefslogtreecommitdiff
path: root/lib/util/time.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-10-20 16:38:25 -0700
committerJeremy Allison <jra@samba.org>2008-10-20 16:38:25 -0700
commit29c9b88e2bb5d3f585e7aa591870e8b39a0d23c9 (patch)
tree761e1b6c8172470d651c7760806ce5081f5ee55f /lib/util/time.h
parent6aba3516769b944e7960d27f10799bb8a8898d2d (diff)
parentcefe4c66970b8ca243595cdb940a7c1a26765a08 (diff)
downloadsamba-29c9b88e2bb5d3f585e7aa591870e8b39a0d23c9.tar.gz
samba-29c9b88e2bb5d3f585e7aa591870e8b39a0d23c9.tar.bz2
samba-29c9b88e2bb5d3f585e7aa591870e8b39a0d23c9.zip
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Diffstat (limited to 'lib/util/time.h')
-rw-r--r--lib/util/time.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/util/time.h b/lib/util/time.h
index 1a1fcc999c..42644a3954 100644
--- a/lib/util/time.h
+++ b/lib/util/time.h
@@ -231,7 +231,12 @@ bool nt_time_equal(NTTIME *t1, NTTIME *t2);
void interpret_dos_date(uint32_t date,int *year,int *month,int *day,int *hour,int *minute,int *second);
-
struct timespec nt_time_to_unix_timespec(NTTIME *nt);
+time_t convert_timespec_to_time_t(struct timespec ts);
+
+struct timespec convert_time_t_to_timespec(time_t t);
+
+bool null_timespec(struct timespec ts);
+
#endif /* _SAMBA_TIME_H_ */