Root/
Source at commit 1808 created 12 years 4 months ago. By blackosx, Revise layout of package installer 'Welcome' file so it looks cleaner. Change the copyright notice to begin from 2009 as seen in the Chameleon 2.0 r431 installer. Should this date be set earlier? | |
---|---|
1 | /*␊ |
2 | * Copyright (c) 2000-2007 Apple Inc. All rights reserved.␊ |
3 | *␊ |
4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@␊ |
5 | * ␊ |
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. The rights granted to you under the License␊ |
10 | * may not be used to create, or enable the creation or redistribution of,␊ |
11 | * unlawful or unlicensed copies of an Apple operating system, or to␊ |
12 | * circumvent, violate, or enable the circumvention or violation of, any␊ |
13 | * terms of an Apple operating system software license agreement.␊ |
14 | * ␊ |
15 | * Please obtain a copy of the License at␊ |
16 | * http://www.opensource.apple.com/apsl/ and read it before using this file.␊ |
17 | * ␊ |
18 | * The Original Code and all software distributed under the License are␊ |
19 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER␊ |
20 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,␊ |
21 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,␊ |
22 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.␊ |
23 | * Please see the License for the specific language governing rights and␊ |
24 | * limitations under the License.␊ |
25 | * ␊ |
26 | * @APPLE_OSREFERENCE_LICENSE_HEADER_END@␊ |
27 | */␊ |
28 | /*␊ |
29 | * Copyright (c) 1997-2002 Apple Computer, Inc. All Rights Reserved␊ |
30 | *␊ |
31 | */␊ |
32 | ␊ |
33 | #ifndef _HFS_MOUNT_H_␊ |
34 | #define _HFS_MOUNT_H_␊ |
35 | ␊ |
36 | #include <sys/appleapiopts.h>␊ |
37 | ␊ |
38 | #include <sys/mount.h>␊ |
39 | #include <sys/time.h>␊ |
40 | ␊ |
41 | /*␊ |
42 | * Arguments to mount HFS-based filesystems␊ |
43 | */␊ |
44 | ␊ |
45 | #define OVERRIDE_UNKNOWN_PERMISSIONS 0␊ |
46 | ␊ |
47 | #define UNKNOWNUID ((uid_t)99)␊ |
48 | #define UNKNOWNGID ((gid_t)99)␊ |
49 | #define UNKNOWNPERMISSIONS (S_IRWXU | S_IROTH | S_IXOTH)␉␉/* 705 */␊ |
50 | ␊ |
51 | #ifdef __APPLE_API_UNSTABLE␊ |
52 | struct hfs_mount_args {␊ |
53 | ␉char␉*fspec;␉␉␉/* block special device to mount */␊ |
54 | ␉uid_t␉hfs_uid;␉␉/* uid that owns hfs files (standard HFS only) */␊ |
55 | ␉gid_t␉hfs_gid;␉␉/* gid that owns hfs files (standard HFS only) */␊ |
56 | ␉mode_t␉hfs_mask;␉␉/* mask to be applied for hfs perms (standard HFS only) */␊ |
57 | ␉u_int32_t hfs_encoding;␉/* encoding for this volume (standard HFS only) */␊ |
58 | ␉struct␉timezone hfs_timezone;␉/* user time zone info (standard HFS only) */␊ |
59 | ␉int␉␉flags;␉␉␉/* mounting flags, see below */␊ |
60 | ␉int journal_tbuffer_size; /* size in bytes of the journal transaction buffer */␊ |
61 | ␉int␉␉journal_flags; /* flags to pass to journal_open/create */␊ |
62 | ␉int␉␉journal_disable; /* don't use journaling (potentially dangerous) */␊ |
63 | };␊ |
64 | ␊ |
65 | #define HFSFSMNT_NOXONFILES␉0x1␉/* disable execute permissions for files */␊ |
66 | #define HFSFSMNT_WRAPPER␉0x2␉/* mount HFS wrapper (if it exists) */␊ |
67 | #define HFSFSMNT_EXTENDED_ARGS 0x4 /* indicates new fields after "flags" are valid */␊ |
68 | ␊ |
69 | /*␊ |
70 | * Sysctl values for HFS␊ |
71 | */␊ |
72 | #define HFS_ENCODINGBIAS␉1␉ /* encoding matching CJK bias */␊ |
73 | #define HFS_EXTEND_FS␉␉2␊ |
74 | #define HFS_ENCODINGHINT␉3␉ /* guess encoding for string */␊ |
75 | #define HFS_ENABLE_JOURNALING 0x082969␊ |
76 | #define HFS_DISABLE_JOURNALING 0x031272␊ |
77 | #define HFS_GET_JOURNAL_INFO 0x6a6e6c69␊ |
78 | #define HFS_SET_PKG_EXTENSIONS 0x121031␊ |
79 | #define HFS_REPLAY_JOURNAL␉0x6a6e6c72␊ |
80 | ␊ |
81 | #endif /* __APPLE_API_UNSTABLE */␊ |
82 | ␊ |
83 | #endif /* ! _HFS_MOUNT_H_ */␊ |
84 |