diff options
author | Jeremy Allison <jra@samba.org> | 1997-10-20 21:50:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1997-10-20 21:50:59 +0000 |
commit | b03c6242b6d79cdca7956f689da5561302a74ae0 (patch) | |
tree | 3c926b2ab2bd59fff96f5f183c394ee0a147be27 /source/include | |
parent | 82318e300b34b5a0897acdba035eac8e5a08b7fc (diff) | |
download | samba-b03c6242b6d79cdca7956f689da5561302a74ae0.tar.gz samba-b03c6242b6d79cdca7956f689da5561302a74ae0.tar.xz samba-b03c6242b6d79cdca7956f689da5561302a74ae0.zip |
WHATSNEW.txt: Updated in preparation for p4.
Support.txt: One more consultant.
smb.conf: dos filetimes added.
loadparm.c: dos filetimes added.
proto.h: The usual.
reply.c: dos filetimes added.
server.c: dos filetimes added.
time.c: dos filetimes added.
trans2.c: dos filetimes added.
Jeremy (jallison@whistle.com)
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/proto.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/include/proto.h b/source/include/proto.h index 718d92495fc..7717ce2d4b9 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -251,6 +251,7 @@ BOOL lp_syncalways(int ); BOOL lp_map_system(int ); BOOL lp_delete_readonly(int ); BOOL lp_fake_oplocks(int ); +BOOL lp_dos_filetimes(int ); int lp_create_mode(int ); int lp_force_create_mode(int ); int lp_dir_mode(int ); @@ -699,6 +700,8 @@ void killkids(void); mode_t unix_mode(int cnum,int dosmode); int dos_mode(int cnum,char *path,struct stat *sbuf); int dos_chmod(int cnum,char *fname,int dosmode,struct stat *st); +int file_utime(int cnum, char *fname, struct utimbuf *times); +BOOL set_filetime(int cnum, char *fname, time_t mtime); BOOL unix_convert(char *name,int cnum,pstring saved_last_component, BOOL *bad_path); int disk_free(char *path,int *bsize,int *dfree,int *dsize); int sys_disk_free(char *path,int *bsize,int *dfree,int *dsize); @@ -822,13 +825,13 @@ int TimeDiff(time_t t); struct tm *LocalTime(time_t *t); time_t interpret_long_date(char *p); void put_long_date(char *p,time_t t); +BOOL null_mtime(time_t mtime); void put_dos_date(char *buf,int offset,time_t unixdate); void put_dos_date2(char *buf,int offset,time_t unixdate); void put_dos_date3(char *buf,int offset,time_t unixdate); time_t make_unix_date(void *date_ptr); time_t make_unix_date2(void *date_ptr); time_t make_unix_date3(void *date_ptr); -BOOL set_filetime(char *fname,time_t mtime); char *timestring(void ); /*The following definitions come from trans2.c */ |