af062818b47340eef15700d2f0211576ba3506eevboxsync/*
af062818b47340eef15700d2f0211576ba3506eevboxsync * share.h
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * Constants for file sharing functions.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * Derived from the Mingw32 header written by Colin Peters.
af062818b47340eef15700d2f0211576ba3506eevboxsync * Modified for Wine use by Bill Medland
af062818b47340eef15700d2f0211576ba3506eevboxsync * This file is in the public domain.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * Original header contained the following
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * THIS SOFTWARE IS NOT COPYRIGHTED
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * This source code is offered for use in the public domain. You may
af062818b47340eef15700d2f0211576ba3506eevboxsync * use, modify or distribute it freely.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * This code is distributed in the hope that it will be useful but
af062818b47340eef15700d2f0211576ba3506eevboxsync * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
af062818b47340eef15700d2f0211576ba3506eevboxsync * DISCLAIMED. This includes but is not limited to warranties of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync */
af062818b47340eef15700d2f0211576ba3506eevboxsync
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync/*
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * other than GPL or LGPL is available it will apply instead, Sun elects to use only
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * a choice of LGPL license versions is made available with the language indicating
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * of the LGPL is applied is otherwise unspecified.
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#ifndef __WINE_SHARE_H
af062818b47340eef15700d2f0211576ba3506eevboxsync#define __WINE_SHARE_H
af062818b47340eef15700d2f0211576ba3506eevboxsync#ifndef __WINE_USE_MSVCRT
af062818b47340eef15700d2f0211576ba3506eevboxsync#define __WINE_USE_MSVCRT
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SH_COMPAT 0x00 /* Compatibility */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SH_DENYRW 0x10 /* Deny read/write */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SH_DENYWR 0x20 /* Deny write */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SH_DENYRD 0x30 /* Deny read */
af062818b47340eef15700d2f0211576ba3506eevboxsync#define SH_DENYNO 0x40 /* Deny nothing */
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#define _SH_COMPAT SH_COMPAT
af062818b47340eef15700d2f0211576ba3506eevboxsync#define _SH_DENYRW SH_DENYRW
af062818b47340eef15700d2f0211576ba3506eevboxsync#define _SH_DENYWR SH_DENYWR
af062818b47340eef15700d2f0211576ba3506eevboxsync#define _SH_DENYRD SH_DENYRD
af062818b47340eef15700d2f0211576ba3506eevboxsync#define _SH_DENYNO SH_DENYNO
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* __WINE_SHARE_H_ */