mac_cifs.h revision da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * CDDL HEADER START
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * The contents of this file are subject to the terms of the
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * Common Development and Distribution License (the "License").
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * You may not use this file except in compliance with the License.
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * or http://www.opensolaris.org/os/licensing.
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * See the License for the specific language governing permissions
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * and limitations under the License.
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * When distributing Covered Code, include this CDDL HEADER in each
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * If applicable, add the following below this CDDL HEADER, with the
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * fields enclosed by brackets "[]" replaced with your own identifying
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * information: Portions Copyright [yyyy] [name of copyright owner]
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * CDDL HEADER END
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
406fc5100dac8d225a315a6def6be8d628f34e24Toomas Soome * Use is subject to license terms.
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek#pragma ident "%Z%%M% %I% %E% SMI"
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * This file provides definitions for the Macintosh Extensions for CIFS
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * interface (see http://www.thursby.com/cifs).
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * Macintosh information level extensions. The entire list is presented
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * here for convenience but for consistency with the existing CIFS
bdf0047c9427cca40961a023475891c898579c37Roger A. Faulkner * information levels don't use these values directly. Use the SMB_MAC_
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * definitions in cifs.h.
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * SmbTrans2QueryFsInformation: MAC_QUERY_FS_INFO
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * SmbTrans2Find{First|Next}2: MAC_FIND_BOTH_HFS_INFO
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * SmbTrans2SetPathInformation: MAC_SET_FINDER_INFO
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * SmbTrans2QueryPathInformation: MAC_DT_{ADD|REMOVE|GET}_{APPL|ICON}
b49b27dcb66b2c7f4a23f7bc158e2dde5cd79030Theo Schlossnagle * Macintosh extensions support bits. Returned by the server in response
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * to a TRANS2_QUERY_FS_INFORMATION request when the information level
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * is MAC_QUERY_FS_INFO.
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * The MAC_ACCESS values are returned from the MAC_FIND_BOTH_HFS_INFO
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * info level of TRANS2_FIND. Set SUPPORT_MAC_ACCESS_CNTRL to enable
ad601a0502a167436cd68b185fff0eb78c34777bjv * support.
e71ca95ca6de23d33b54cb55cefdef30bc7c969bGerald Jelinek * The MAC_OWNER bit indicates that the user is the owner of the file
ad601a0502a167436cd68b185fff0eb78c34777bjv * or directory.
ad601a0502a167436cd68b185fff0eb78c34777bjv * The MAC_FINDER values support the SMB_MAC_SET_FINDER_INFO info level
ad601a0502a167436cd68b185fff0eb78c34777bjv * of TRANS2_SET_PATH_INFORMATION.
ad601a0502a167436cd68b185fff0eb78c34777bjv#endif /* _SMBSRV_MAC_CIFS_H */