diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-02 12:37:31 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-02 12:37:31 +0000 |
commit | 24bf006d5224e59d2d073ca4a7cb2df838c4c6c7 (patch) | |
tree | 67360075f9d28f60661056afb9b5a335c5b7b86b /source3/smbwrapper/kernel_stat.h | |
parent | 019c8d2fdda74dc03d9089eacfbd2b77e1056169 (diff) | |
download | samba-24bf006d5224e59d2d073ca4a7cb2df838c4c6c7.tar.gz samba-24bf006d5224e59d2d073ca4a7cb2df838c4c6c7.tar.bz2 samba-24bf006d5224e59d2d073ca4a7cb2df838c4c6c7.zip |
the guts of the smbwrapper code. I may change the layout of this at
some stage.
(This used to be commit 3f34a3cac817de19d227c36bc792db8b2c3798f9)
Diffstat (limited to 'source3/smbwrapper/kernel_stat.h')
-rw-r--r-- | source3/smbwrapper/kernel_stat.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/source3/smbwrapper/kernel_stat.h b/source3/smbwrapper/kernel_stat.h new file mode 100644 index 0000000000..bd7ddcc9bc --- /dev/null +++ b/source3/smbwrapper/kernel_stat.h @@ -0,0 +1,31 @@ +/* Definition of `struct stat' used in the kernel.. */ +struct kernel_stat + { + unsigned short int st_dev; + unsigned short int __pad1; +#define _HAVE___PAD1 + unsigned long int st_ino; + unsigned short int st_mode; + unsigned short int st_nlink; + unsigned short int st_uid; + unsigned short int st_gid; + unsigned short int st_rdev; + unsigned short int __pad2; +#define _HAVE___PAD2 + unsigned long int st_size; + unsigned long int st_blksize; + unsigned long int st_blocks; + unsigned long int st_atime; + unsigned long int __unused1; +#define _HAVE___UNUSED1 + unsigned long int st_mtime; + unsigned long int __unused2; +#define _HAVE___UNUSED2 + unsigned long int st_ctime; + unsigned long int __unused3; +#define _HAVE___UNUSED3 + unsigned long int __unused4; +#define _HAVE___UNUSED4 + unsigned long int __unused5; +#define _HAVE___UNUSED5 + }; |