share.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * share.h
  3. *
  4. * Constants for file sharing functions.
  5. *
  6. * This file is part of the Mingw32 package.
  7. *
  8. * Contributors:
  9. * Created by Colin Peters <[email protected]>
  10. *
  11. * THIS SOFTWARE IS NOT COPYRIGHTED
  12. *
  13. * This source code is offered for use in the public domain. You may
  14. * use, modify or distribute it freely.
  15. *
  16. * This code is distributed in the hope that it will be useful but
  17. * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
  18. * DISCLAIMED. This includes but is not limited to warranties of
  19. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  20. *
  21. * $Revision: 1.2 $
  22. * $Author: bellard $
  23. * $Date: 2005/04/17 13:14:29 $
  24. *
  25. */
  26. #ifndef __STRICT_ANSI__
  27. #ifndef _SHARE_H_
  28. #define _SHARE_H_
  29. /* All the headers include this file. */
  30. #include <_mingw.h>
  31. #define SH_COMPAT 0x00 /* Compatibility */
  32. #define SH_DENYRW 0x10 /* Deny read/write */
  33. #define SH_DENYWR 0x20 /* Deny write */
  34. #define SH_DENYRD 0x30 /* Deny read */
  35. #define SH_DENYNO 0x40 /* Deny nothing */
  36. #endif /* Not _SHARE_H_ */
  37. #endif /* Not __STRICT_ANSI__ */