;       SCCSID = @(#)demcd.inc	6.1 91/07/12
;       SCCSID = @(#)demcd.inc	6.1 90/11/17
;	SCCSID = @(#)demcd.asm	13.1 88/11/09
BREAK <Current directory list structure>
;
;   Revision history:
;
;   danno   09-Nov-1988     Modified for MVDM (from curdir.inc)
;			    depends on dosinc/curdir.inc
;
;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
;	     C	A  V  E  A  T	  P  R	O  G  R  A  M  M  E  R		   ;
;									   ;
; CDS items are used bu the internal routines to store cluster numbers and ;
; network identifiers for each logical name.  The ID field is used dually, ;
; both as net ID and for a cluster number for local devices.  In the case  ;
; of local devices, the cluster number will be -1 if there is a potential  ;
; of the disk being changed or if the path must be recracked.  The END	   ;
; field is the location of the end of the definition.  No .. is allowed    ;
; past this point							   ;

TEMPLEN 	EQU	RMDIRSTRLEN*2

curdir_list	STRUC
curdir_text	DB	RMDIRSTRLEN DUP (?)   ; text of assignment and curdir
curdir_flags	DW	?		; various flags
curdir_devptr	DD	?		; local pointer to DPB or net device
curdir_ID	DW	?		; cluster of current dir (net ID)
		DW	?
curdir_user_word DW	?
curdir_end	DW	?		; end of assignment
curdir_type	DB	?		; IFS drive (2=ifs, 4=netuse)
curdir_ifs_hdr	DD	?		; Ptr to File System Header
curdir_fsda	DB	2 DUP (?)	; File System Dependent Data Area
curdir_list	ENDS

curdirLen	EQU	Size curdir_list	; Needed for screwed up
						; ASM87 which doesn't allow
						; Size directive as a macro
						; argument
curdir_netID	EQU	DWORD PTR curdir_ID

;Flag word masks
curdir_isnet	EQU	CD_ISNET  SHL 8
curdir_isifs	EQU	1000000000000000B	; DOS 4.00
curdir_inuse	EQU	CD_INUSE  SHL 8
curdir_splice	EQU	CD_SPLICE SHL 8
curdir_local	EQU	CD_LOCAL  SHL 8
;									   ;
;	     C	A  V  E  A  T	  P  R	O  G  R  A  M  M  E  R		   ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
