home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
- *
- * @APPLE_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 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.
- *
- * @APPLE_LICENSE_HEADER_END@
- */
- /*
- * Copyright (c) 1997-2000 Apple Computer, Inc. All Rights Reserved
- *
- */
-
- #ifndef _HFS_MOUNT_H_
- #define _HFS_MOUNT_H_
-
- #include <sys/mount.h>
- #include <sys/time.h>
-
- /*
- * Arguments to mount HFS-based filesystems
- */
-
- #define OVERRIDE_UNKNOWN_PERMISSIONS 0
-
- #define UNKNOWNUID ((uid_t)99)
- #define UNKNOWNGID ((gid_t)99)
- #define UNKNOWNPERMISSIONS (S_IRWXU | S_IROTH | S_IXOTH) /* 705 */
-
- struct hfs_mount_args {
- char *fspec; /* block special device to mount */
- struct export_args export; /* network export information */
- 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) */
- u_long 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 */
- };
-
- #define HFSFSMNT_NOXONFILES 0x1 /* disable execute permissions for files */
-
- #endif /* ! _HFS_MOUNT_H_ */
-