2 * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
22 /* Copyright (c) 1998 Apple Computer, Inc. All Rights Reserved */
30 #include <sys/appleapiopts.h>
32 #warning obsolete header! delete the include from your sources
34 #ifdef __APPLE_API_OBSOLETE
39 #ifndef _POSIX_C_SOURCE
42 fsid_t vst_volid
; /* volume identifier */
43 fsobj_id_t vst_nodeid
; /* object's id */
44 fsobj_type_t vst_vnodetype
; /* vnode type (VREG, VDIR, etc.) */
45 fsobj_tag_t vst_vnodetag
; /* vnode tag (HFS, UFS, etc.) */
46 mode_t vst_mode
; /* inode protection mode */
47 nlink_t vst_nlink
; /* number of hard links */
48 uid_t vst_uid
; /* user ID of the file's owner */
49 gid_t vst_gid
; /* group ID of the file's group */
50 dev_t vst_dev
; /* inode's device */
51 dev_t vst_rdev
; /* device type */
52 #ifndef _POSIX_C_SOURCE
53 struct timespec vst_atimespec
; /* time of last access */
54 struct timespec vst_mtimespec
; /* time of last data modification */
55 struct timespec vst_ctimespec
; /* time of last file status change */
57 time_t vst_atime
; /* time of last access */
58 long vst_atimensec
; /* nsec of last access */
59 time_t vst_mtime
; /* time of last data modification */
60 long vst_mtimensec
; /* nsec of last data modification */
61 time_t vst_ctime
; /* time of last file status change */
62 long vst_ctimensec
; /* nsec of last file status change */
64 off_t vst_filesize
; /* file size, in bytes */
65 quad_t vst_blocks
; /* bytes allocated for file */
66 u_int32_t vst_blksize
; /* optimal blocksize for I/O */
67 u_int32_t vst_flags
; /* user defined flags for file */
70 #endif /* ! _POSIX_C_SOURCE */
71 #endif /* __APPLE_API_OBSOLETE */
73 #endif /* !_SYS_VSTAT_H_ */