;       SCCSID = @(#)mult.inc	6.1 90/11/17
;      SCCSID = @(#)mult.inc	13.3 89/02/06

;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
;	     C	A  V  E	 A  T	  P  R	O  G  R	 A  M  M  E  R		   ;
;									   ;
; Critical section definitions
;
; These below are subject to leave-all sections
;;critDisk    EQU     1			  ; Disk I/O critical section
;;critDevice  EQU     2			  ; Device I/O critical section
;;critShare   EQU     1			  ; Sharer I/O critical section
;;critMem     EQU     1			  ; memory maintenance critical section
;;critNet     EQU     5			  ; network critical section
;;critSFT     EQU     1			  ; sft table allocation
; These below are not subject to leave-all sections
;;critASSIGN  EQU     8			  ; Assign has munged a system call
;									   ;
;	     C	A  V  E	 A  T	  P  R	O  G  R	 A  M  M  E  R		   ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;

;
; The current set of defined multiplex channels is (* means documented):
;
;   Channel(h)	Issuer		Receiver    Function
;      00	server		PSPRINT	    print job control
;     *01	print/apps	PRINT	    Queueing of files
;      02	BIOS		REDIR	    signal open/close of printers
;
;      05	command		REDIR	    obtain text of net int 24 message
;     *06	server/assign	ASSIGN	    Install check
;
;      10	sharer/server	Sharer	    install check
;      11	DOS/server	Redir	    install check/redirection funcs
;      12	sharer/redir	DOS	    dos functions and structure maint
;      13	MSNET		MSNET	    movement of NCBs
;

MultSHARE   EQU	    10h			; sharer
    ;	1   MFT_enter
    ;	2   MFTClose
    ;	3   MFTclU
    ;	4   MFTCloseP
    ;	5   MFTCloN
    ;	6   set_block
    ;	7   clr_block
    ;	8   chk_block
    ;	9   MFT_get
    ;	10  ShSave
    ;	11  ShChk
    ;	12  ShCol
    ;	13  ShCloseFile

MultNET	    EQU	    11h			; Network support
    NET_RMDIR			EQU 1
;;  NET_SEQ_RMDIR		EQU 2
    NET_MKDIR			EQU 3
;;  NET_SEQ_MKDIR		EQU 4
    NET_CHDIR			EQU 5
    NET_CLOSE			EQU 6
    NET_COMMIT			EQU 7
    NET_READ			EQU 8
    NET_WRITE			EQU 9
    NET_LOCK			EQU 10
    NET_UNLOCK			EQU 11
    NET_DISK_INFO		EQU 12
    NET_SET_FILE_ATTRIBUTE	EQU 13
    NET_File_Info		EQU 14
    NET_GET_FILE_INFO		EQU 15
;;  NET_SEQ_GET_FILE_INFO	EQU 16
    NET_RENAME			EQU 17
;;  NET_SEQ_RENAME		EQU 18
    NET_DELETE			EQU 19
;;  NET_SEQ_DELETE		EQU 20
    NET_OPEN			EQU 21
;;  NET_SEQ_OPEN		EQU 22
    NET_CREATE			EQU 23
    NET_NmPipe			EQU 24
    NET_FindFirst		EQU 25
    NET_FindNext		EQU 26
    NET_SEARCH_FIRST		EQU 27
    NET_SEARCH_NEXT		EQU 28
    NET_ABORT			EQU 29
    NET_ASSOPER			EQU 30
    Printer_SET_STRING		EQU 31
    NetFlushBuf			EQU 32
    NetBufWrite			EQU 33
    NetResetEnvironment		EQU 34
    NetSpoolCheck		EQU 35
    NetSpoolClose		EQU 36
    NET_IOCTL			EQU 37
    NET_Find_Close		EQU 38
    NET_LSEEK			EQU 39
    NET_FSInfo			EQU 40
    NET_Dup			EQU 41
    NET_Exec			EQU 42
    NET_FindNotifyClose		EQU 43
    NET_FindNotifyFirst		EQU 44
    NET_FindNotifyNext		EQU 45
    NET_FileIO			EQU 46


MultDOS	    EQU	    12h			; DOS call back
    ;	1   DOS_CLOSE
    ;	2   RECSET
    ;	3   Get DOSGROUP
    ;	4   PATHCHRCMP
    ;	5   OUT
    ;	6   NET_I24_ENTRY
    ;	7   PLACEBUF
    ;	8   FREE_SFT
    ;	9   BUFWRITE
    ;	10  SHARE_VIOLATION
    ;	11  SHARE_ERROR
    ;	12  SET_SFT_MODE
    ;	13  DATE16
    ;	14  SETVISIT
    ;	15  SCANPLACE
    ;	16  SKIPVISIT
    ;	17  StrCpy
    ;	18  StrLen
    ;	19  Ucase
    ;	20  POINTCOMP
    ;	21  CHECKFLUSH
    ;	22  SFFromSFN
    ;	23  GetCDSFromDrv
    ;	24  Get_User_Stack
    ;	25  GetThisDrv
    ;	26  DriveFromText
    ;	27  SETYEAR
    ;	28  DSUM
    ;	29  DSLIDE
    ;	30  StrCmp
    ;	31  initcds
    ;	32  pjfnfromhandle
    ;	33  $NameTrans
    ;	34  CAL_LK
    ;	35  DEVNAME
    ;	36  Idle
