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