home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / SHARE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-18  |  608 b   |  28 lines

  1. /*  share.h
  2.  
  3.     File sharing mode for use with sopen.
  4.     See DOS function 3Dh for definition.
  5.  
  6. */
  7.  
  8. /* $Copyright: 1987$ */
  9. /* $Revision:   8.1  $ */
  10.  
  11. #if !defined( __SHARE_H )
  12. #define __SHARE_H
  13.  
  14. #if !defined( ___DEFS_H )
  15. #include <_defs.h>
  16. #endif
  17.  
  18. #define SH_COMPAT      0x00    /* compatibility mode */
  19. #define SH_DENYRW      0x10    /* deny read/write mode */
  20. #define SH_DENYWR      0x20    /* deny write mode */
  21. #define SH_DENYRD      0x30    /* deny read mode */
  22. #define SH_DENYNO      0x40    /* deny none mode */
  23.  
  24. #define SH_DENYNONE    SH_DENYNO
  25.  
  26. #endif  /* __SHARE_H */
  27.  
  28.