/*static char *SCCSID = "@(#)opncreat.h	6.1 90/11/17";*/
//      SCCSID = @(#)opncreat.h	13.1 89/03/66


//*	 File exist action codes and selection mask
//
#define exist_fail 	    0
#define exist_open 	    1
#define exist_replace 	    2
#define exist_mask 	    0x0f

//*	File not exist action codes and selection mask
#define nexist_fail 	    0
#define nexist_create 	    0x10
#define nexist_mask 	    0x0f0

#define o_flag_reserved 	0x0FFEC

//*	Action return codes
//
#define file_exist 	1
#define file_create 	2
#define file_replace 	3


//* Flag for setting SAttrib
//
// There are times when we have a server DOS call to open or create a file
// In this case, we need to use the search attribute value in TCBSrvAttrib
// to set into [SAttrib].
// Other calls just set the value directly.
//
#define OPCR_SATTR_DIRECT 	0	// Set [SAttrib] directly (using MOV)
#define OPCR_SATTR_INDIRECT 	1	// Call SetAttrib to set [SAttrib]
