]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfs_mount.h
xnu-1228.tar.gz
[apple/xnu.git] / bsd / hfs / hfs_mount.h
index d09334757e19ade497082e53a4cdcb1b16203d35..5782bd6f642a2e9593f49c6e59b48f60fd01ab2c 100644 (file)
@@ -1,23 +1,29 @@
 /*
- * Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  *
- * @APPLE_LICENSE_HEADER_START@
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
- * The contents of this file constitute Original Code as defined in and
- * are subject to the Apple Public Source License Version 1.1 (the
- * "License").  You may not use this file except in compliance with the
- * License.  Please obtain a copy of the License at
- * http://www.apple.com/publicsource and read it before using this file.
+ * This file contains Original Code and/or Modifications of Original Code
+ * as defined in and that are subject to the Apple Public Source License
+ * Version 2.0 (the 'License'). You may not use this file except in
+ * compliance with the License. The rights granted to you under the License
+ * may not be used to create, or enable the creation or redistribution of,
+ * unlawful or unlicensed copies of an Apple operating system, or to
+ * circumvent, violate, or enable the circumvention or violation of, any
+ * terms of an Apple operating system software license agreement.
  * 
- * This Original Code and all software distributed under the License are
- * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
+ * Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
+ * 
+ * The Original Code and all software distributed under the License are
+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
- * License for the specific language governing rights and limitations
- * under the License.
+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
+ * Please see the License for the specific language governing rights and
+ * limitations under the License.
  * 
- * @APPLE_LICENSE_HEADER_END@
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  */
 /*
  * Copyright (c) 1997-2002 Apple Computer, Inc. All Rights Reserved
@@ -50,7 +56,7 @@ struct hfs_mount_args {
        uid_t   hfs_uid;                /* uid that owns hfs files (standard HFS only) */
        gid_t   hfs_gid;                /* gid that owns hfs files (standard HFS only) */
        mode_t  hfs_mask;               /* mask to be applied for hfs perms  (standard HFS only) */
-       uint32_t hfs_encoding;          /* encoding for this volume (standard HFS only) */
+       u_int32_t hfs_encoding; /* encoding for this volume (standard HFS only) */
        struct  timezone hfs_timezone;  /* user time zone info (standard HFS only) */
        int             flags;                  /* mounting flags, see below */
        int     journal_tbuffer_size;   /* size in bytes of the journal transaction buffer */
@@ -72,6 +78,7 @@ struct hfs_mount_args {
 #define HFS_DISABLE_JOURNALING  0x031272
 #define HFS_GET_JOURNAL_INFO    0x6a6e6c69
 #define HFS_SET_PKG_EXTENSIONS  0x121031
+#define HFS_REPLAY_JOURNAL     0x6a6e6c72
 
 #endif /* __APPLE_API_UNSTABLE */