summaryrefslogtreecommitdiff
path: root/v4.0/src/INC/CURDIR.INC
diff options
context:
space:
mode:
Diffstat (limited to 'v4.0/src/INC/CURDIR.INC')
-rw-r--r--v4.0/src/INC/CURDIR.INC45
1 files changed, 45 insertions, 0 deletions
diff --git a/v4.0/src/INC/CURDIR.INC b/v4.0/src/INC/CURDIR.INC
new file mode 100644
index 0000000..a91bff7
--- /dev/null
+++ b/v4.0/src/INC/CURDIR.INC
@@ -0,0 +1,45 @@
1; SCCSID = @(#)curdir.asm 1.1 85/04/10
2; SCCSID = @(#)curdir.asm 1.1 85/04/10
3BREAK <Current directory list structure>
4;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
5; C A V E A T P R O G R A M M E R ;
6; ;
7; CDS items are used bu the internal routines to store cluster numbers and ;
8; network identifiers for each logical name. The ID field is used dually, ;
9; both as net ID and for a cluster number for local devices. In the case ;
10; of local devices, the cluster number will be -1 if there is a potential ;
11; of the disk being changed or if the path must be recracked. The END ;
12; field is the location of the end of the definition. No .. is allowed ;
13; past this point ;
14
15DIRSTRLEN EQU 64+3 ; Max length in bytes of directory strings
16TEMPLEN EQU DIRSTRLEN*2
17
18curdir_list STRUC
19curdir_text DB DIRSTRLEN DUP (?) ; text of assignment and curdir
20curdir_flags DW ? ; various flags
21curdir_devptr DD ? ; local pointer to DPB or net device
22curdir_ID DW ? ; cluster of current dir (net ID)
23 DW ?
24curdir_user_word DW ?
25curdir_end DW ? ; end of assignment
26curdir_type DB ? ; IFS drive (2=ifs, 4=netuse)
27curdir_ifs_hdr DD ? ; Ptr to File System Header
28curdir_fsda DB 2 DUP (?) ; File System Dependent Data Area
29curdir_list ENDS
30
31curdirLen EQU Size curdir_list ; Needed for screwed up
32 ; ASM87 which doesn't allow
33 ; Size directive as a macro
34 ; argument
35curdir_netID EQU DWORD PTR curdir_ID
36
37;Flag word masks
38curdir_isnet EQU 1000000000000000B
39curdir_isifs EQU 1000000000000000B ; DOS 4.00
40curdir_inuse EQU 0100000000000000B
41curdir_splice EQU 0010000000000000B
42curdir_local EQU 0001000000000000B
43; ;
44; C A V E A T P R O G R A M M E R ;
45;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;