1 PAGE ,132 ;
\ f ;AN000;
2 ; SCCSID = @(#)ifsfsym.inc 1.0 87/05/11 ;AN000;
4 ;************************************************************************************
8 ; Modification history:
11 ; LOD = 80 (IFS added)
13 ; A000 Original version 4.00 May 1987
14 ; A001 DCR 188 - design correction of Get IFSFUNC Item 8/87 RGAZZIA
15 ; A002 PTM ??? - 80H bit on Lock functions ignorred 10/27 FEIGENBAUM
16 ; A003 PTM 2270- filesys/network attach problem 11/27 RGAZZIA
17 ; A004 DCR 285 - remove Extended Attribute/Lock support 1/88 RGAZZIA
18 ; A005 PTM 2827- error msg problems 1/88 RMG
19 ; A006 PTM 3334- new ifsresetenv call 2/88 RMG
20 ; A007 PTM 3657- don't want val code page in flag 2/88 RGazzia
21 ; A008 PTM 3692- net use xxx /d error msg wrong 3/88 RGazzia
22 ; A009 PTM 3673- filesys problems again, undo a003 3/14/88 RMG
23 ; A010 PTM 3968- time/date stamping problems 3/25/88 RMG
24 ; A011 PTM 4140- INT 2F 5 interface change 4/12/88 RMG
25 ; A012 PTM 5006- need save original device ptr - new dfl field 6/02/88 RMG
27 ;************************************************************************************
29 ; Old Redirector Stuff ;AN000;
31 TRUE EQU 0FFFFh ;AN000;
34 PATHGEN = TRUE ;AN000;
36 REDIRECTOR = TRUE ;AN000;
37 Installed = TRUE ;AN000;
39 MSNET_TIMING = FALSE ;AN000;
43 IF MSNET_TIMING ;AN000;
44 %out MSNET_TIMING version ;AN000;
47 %out DEBUGGING version ;AN000;
49 %out INSTALLED version ;AN000;
51 ; Structures and equates for the network support ;AN000;
53 ;Net call interrupt - used to generate critical sections ;AN000;
54 NET_CALL_INT EQU 2AH ;AN000;
56 ;Max size of PRINT_PRE_STRING ;AN000;
57 MAX_PRE_STRING EQU 64 ;AN000;
60 ;AH function code for $GET_IN_VARS INT 21 function ;AN000;
61 GET_IN_VAR EQU 52H ;AN000;
64 ; The following EQUates control the replacement of the FCB SFT cache by ;AN000;
65 ; IFSFUNC. If the current FCB Cache Size,Keepcount is DefNumFCB,DefKeepVal ;AN000;
66 ; then IFSFUNC will set up a new cache of NewNumFCB,NewKeepVal. ;AN000;
67 DefNumFCB EQU 4 ;AN000;
68 DefKeepVal EQU 0 ;AN000;
70 NewNumFCB EQU 16 ;AN000;
71 NewKeepVal EQU 8 ;AN000;
73 SUBTTL IFSFUNC Data ;AN000;
75 ; miscellaneous IFS equates ;AN000;
76 MINUS_ONE EQU -1 ;AN000;
77 NULL_PTR EQU -1 ;AN000;
78 ERROR_INFO_NOT_SET EQU -1 ;AN000;
79 CHECK_REMOVABLE EQU 4408H ;AN000;
80 ICOLON EQU ":" ;AN000;
82 OLDOPEN_MODE EQU 2180H ;AN000;
83 OLDOPEN_FLAG EQU 0101H ;AN000;
84 OLDCREATE_MODE EQU 0002H ;AC007;
85 OLDCREATE_FLAG EQU 0112H ;AC007;
86 OLDCREATENEW_FLAG EQU 10H ;AN000;
87 ;INT21AL_LOCK_READ EQU 4 ;AD004;
88 ;INT21AL_WRITE_UNLOCK EQU 5 ;AD004;
89 IFSFINSTALLED EQU 0FFH ;AN000;
90 GET_TRUNCATE_FLAG EQU 7 ;AN000;
91 SET_TRUNCATE_FLAG EQU 8 ;AN000;
92 ;;;alias COMPLEX EQU 4 ;AN000;
93 PARSE_ERR_1 EQU 1 ;AN000;
94 PARSE_ERR_5 EQU 5 ;AN000;
95 PARSE_ERR_6 EQU 6 ;AN000;
96 PARSE_ERR_10 EQU 10 ;AN000;
97 COMMON_ERR_2 EQU 2 ;AN000;
98 COMMON_ERR_3 EQU 3 ;AN000;
99 UTIL_ERR_4 EQU 4 ;AN000;
101 I2F5_MsgRet EQU 2 ;AN011;
103 ; ifsproc flags ;AN000;
104 IsCDS EQU 80H ;AN000;
105 IsSFT EQU 40H ;AN000;
106 IsSEQ EQU 20H ;AN000;
107 IsGet EQU 10H ; vs. set ;AN000;
108 IsOldOpen EQU 10H ;AN000;
109 IsOldCreate EQU 08H ;AN000;
110 IsCreate EQU 8000H ; used in IFS_OPEN in setting sf date/time ;AN010;
111 IsClose EQU 10H ; vs. commit ;AN000;
112 IsRen EQU 10H ; vs. delete ;AN000;
113 ;IsLockRead EQU 10H ;AD005;
114 ;IsWriteUnlock EQU 08H ;AD005;
115 ;IsAdd EQU 04H ;AD005;
116 THISIFS_SET EQU 02H ;AN000;
117 IsShare EQU 80H ; used by auto-attach ;AN000;
118 IsCTLFCN EQU 01H ; used by IFS_UPDATE_CB@ ;AN000;
119 IsCritIFS EQU 02H ; indicates ifs cs ;AN000;
120 Print_On EQU 80H ; sess ;AN000;
121 SetDeviceCB EQU 0100H ; indicates to sft_to_sff to set ifs_device_cb@ ;AN000;
122 IsDummyCDS EQU 0200H ; used to indicate dummy cds (AttStrt/CDS-CD) ;AN000;
123 IsNetwork EQU 0400H ; indicates types 3 or 4 attach ;AN001;
124 SetBP EQU 0800H ; set if return lsn ;AN001;
125 Filesys_Status EQU 1000H ; indicates new style get ifsfunc item ;AN001;
126 ;Filesys_Network_Attach EQU 1000H ; flag used to determine if move ptr direct to parms ;AN003;;AD009;
127 ;IsWOLock EQU 2000H ; write operation only lock - flag moved RMG ;AD004;
128 IsInit EQU 2000H ; this set in AutoAttach for CI-error area ;AN005;
129 IsResetEnvirn EQU 4000H ; used in sess - diff abort from reset environment ;AN006;
130 IsMsgRet EQU 8000H ; used in ifserror - int2f5 to distinguish msg ret ;AN011;
131 ; from command.com ;AN011;
132 ; ifsfunc flags ;AN000;
133 UNC_INSTALLED EQU 80H ; unc file system installed ;AN000;
134 NO_IFS_DRIVERS EQU 40H ; no ifs drivers installed ;AN000;
136 ; ifs semaphores IFSSEM equates ;AN011;
137 MR_ERRMSG_SEM EQU 80H ; used by ifserror INT2F AH=5 as gate for msgret entry ;AN011;
139 ; DFL - This structure stores IFS/NETUSE/ALIAS Device information ;AN000;
140 ; to IFS driver. ;AN000;
142 DFLL_LIST STRUC ;AN000;
143 DFLL_FLAGS DB ? ; Flags ;AN000;
144 DFLL_TYPE DB ? ; 1=IFS, 3=NETUSE, 0=ALIAS ;AN000;
145 DFLL_DEV_NAME DB 8 DUP (?) ; Device name ;AN000;
146 DFLL_USER_WORD DW ? ; attach user word ;AN001;
147 DFLL_ALIAS_INDEX DW ? ; Byte index into alias names list (resv) ;AN000;
148 DFLL_IFS_HDR DD ? ; Pointer to IFSHDR ;AN000;
149 DFLL_FSDA DB 8 DUP (?) ; File System Dependent Data Area ;AN000;
150 DFLL_DEVPTR DD ? ; sft_devptr ;AN012;
151 DFLL_LIST ENDS ;AN000;
154 DFL_INPROG EQU 80H ; in progress ;AN000;
155 DFL_INUSE EQU 40H ; in use ;AN000;
156 DFL_PAUSED EQU 20H ; device is paused ;AN000;
157 DFL_DEV_REAL EQU 10H ; device is real ;AN000;
159 ; error codes ;AN000;
160 device_not_attached equ 0FH ; ;AC008;
161 fs_driver_not_found equ 67 ; ;AN000;
162 error_out_of_structs equ 56 ; ;AN000;