summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-01-24 08:49:21 +0000
committerJeremy Allison <jra@samba.org>1998-01-24 08:49:21 +0000
commit4f650dab6f867bda2beeeda71b2b97e75834853f (patch)
treeb67637d60b942fc454301cbc614c91613901284a /source3/include
parenta215c98602c0849819a50de6b13f8c41824ef08a (diff)
downloadsamba-4f650dab6f867bda2beeeda71b2b97e75834853f.tar.gz
samba-4f650dab6f867bda2beeeda71b2b97e75834853f.tar.bz2
samba-4f650dab6f867bda2beeeda71b2b97e75834853f.zip
Added get_create_time() function to time.c.
This gets the minimum timestamp associated with a file. reply.c and trans2.c then return this as the create time. Designed to fix problems with VC++ and others. Jeremy. (This used to be commit e3d5f6196d6eff707c78941696a368216e2a7410)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 3d478b9246..f422b8fc90 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1338,6 +1338,7 @@ time_t make_unix_date(void *date_ptr);
time_t make_unix_date2(void *date_ptr);
time_t make_unix_date3(void *date_ptr);
char *timestring(void );
+time_t get_create_time(struct stat *st);
/*The following definitions come from trans2.c */