More abstraction of file system data types, to move to a 64
authorJeremy Allison <jra@samba.org>
Tue, 1 Sep 1998 20:11:54 +0000 (20:11 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 1 Sep 1998 20:11:54 +0000 (20:11 +0000)
commit28aa182dbffaa4ffd86047e608400de4b26e80eb
tree789ac30eed5ef242b4cd9ffd6cbb84a7c640e0f4
parent8bd2cf0eb7533c3ec2d5767163ffdaf20b01bbff
More abstraction of file system data types, to move to a 64
bit file interface for the NT SMB's.

Created a new define, SMB_STRUCT_STAT that currently is
defined to be struct stat - this wil change to a user
defined type containing 64 bit info when the correct
wrappers are written for 64 bit stat(), fstat() and lstat()
calls.

Also changed all sys_xxxx() calls that were previously just
wrappers to the same call prefixed by a dos_to_unix() call
into dos_xxxx() calls. This makes it explicit when a pathname
translation is being done, and when it is not.

Now, all sys_xxx() calls are meant to be wrappers to mask
OS differences, and not silently converting filenames on
the fly.

Jeremy.
32 files changed:
source/client/client.c
source/client/clitar.c
source/client/smbmnt.c
source/include/includes.h
source/include/proto.h
source/lib/charset.c
source/lib/debug.c
source/lib/genrand.c
source/lib/netatalk.c
source/lib/smbrun.c
source/lib/system.c
source/lib/time.c
source/lib/util.c
source/locking/locking_slow.c
source/passdb/passdb.c
source/printing/printing.c
source/smbd/dir.c
source/smbd/dosmode.c
source/smbd/fileio.c
source/smbd/filename.c
source/smbd/files.c
source/smbd/groupname.c
source/smbd/ipc.c
source/smbd/nttrans.c
source/smbd/open.c
source/smbd/predict.c
source/smbd/quotas.c
source/smbd/reply.c
source/smbd/trans2.c
source/utils/make_smbcodepage.c
source/utils/testparm.c
source/web/cgi.c