summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-08-12 13:00:54 -0700
committerJeremy Allison <jra@samba.org>2009-08-12 13:00:54 -0700
commitd6270df748dcfd8d5a02c328518c2332da8fbed5 (patch)
tree7e921433a6e293f54fac3c0405b42be36ff7ac78 /source3/include/proto.h
parent1ddd10b56aea663b06768638d83e3bdcfea9ec89 (diff)
downloadsamba-d6270df748dcfd8d5a02c328518c2332da8fbed5.tar.gz
samba-d6270df748dcfd8d5a02c328518c2332da8fbed5.tar.bz2
samba-d6270df748dcfd8d5a02c328518c2332da8fbed5.zip
Add "store create time" parameter (docs to follow)
that stores the create time in the user.DosTimestamps EA. Jeremy.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 8b3e029d3f..963e6df0c8 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4187,6 +4187,7 @@ bool lp_administrative_share(int );
bool lp_print_ok(int );
bool lp_map_hidden(int );
bool lp_map_archive(int );
+bool lp_store_create_time(int );
bool lp_store_dos_attributes(int );
bool lp_dmapi_support(int );
bool lp_locking(const struct share_params *p );
@@ -6266,10 +6267,17 @@ bool set_sticky_write_time_fsp(struct files_struct *fsp,
struct timespec mtime);
bool update_write_time(struct files_struct *fsp);
-struct timespec get_create_timespec(struct files_struct *fsp,
+NTSTATUS set_create_timespec_ea(connection_struct *conn,
+ struct files_struct *fsp,
+ const struct smb_filename *smb_fname,
+ struct timespec create_time);
+
+struct timespec get_create_timespec(connection_struct *conn,
+ struct files_struct *fsp,
const struct smb_filename *smb_fname);
-struct timespec get_change_timespec(struct files_struct *fsp,
+struct timespec get_change_timespec(connection_struct *conn,
+ struct files_struct *fsp,
const struct smb_filename *smb_fname);
/* The following definitions come from smbd/error.c */