sys7.1-doc-wip/Interfaces/AIncludes/ConnectionTools.a
2019-07-27 22:37:48 +08:00

119 lines
2.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;_____________________________________________
; File: ConnectionTools.a
;
; Contains: Assembler Interface to the Connection Manager Tools
;
; Written by: Byron Han
;
; Copyright: © 1988-1991 by Apple Computer, Inc.
; All rights reserved.
;
; This file is used in these builds: BigBang
;
; Change History (most recent first):
;
; <9> 10/10/91 MH Change the spelling of CMCompleteorRecodSize to
; CMCompletorRecordSize. There are no references to the former
; anywhere and its pretty obviously a typeo. (SIC)
; <8> 8/27/91 CH Updated interface header information & made consistent.
; <7> 6/24/91 BH change conditional wrapper to conform
; <6> 6/18/91 BH move 1.1 stuff here
; <5> 1/30/91 gbm sab, #38: Change the already including this file variable to
; all uppercase (for security reasons)
; <4> 11/27/90 kaz Moving CM Extensions tool messages to
; Internal:ConnectionsExtensions.a
; <1> 3/14/90 BBH first checked in
;
; To Do:
;_____________________________________________
IF (&TYPE('__INCLUDINGCONNECTIONTOOLS__') = 'UNDEFINED') THEN
__INCLUDINGCONNECTIONTOOLS__ SET 1
cmInitMsg EQU 0
cmDisposeMsg EQU 1
cmSuspendMsg EQU 2
cmResumeMsg EQU 3
cmMenuMsg EQU 4
cmEventMsg EQU 5
cmActivateMsg EQU 6
cmDeactivateMsg EQU 7
cmIdleMsg EQU 50
cmResetMsg EQU 51
cmAbortMsg EQU 52
cmReadMsg EQU 100
cmWriteMsg EQU 101
cmStatusMsg EQU 102
cmListenMsg EQU 103
cmAcceptMsg EQU 104
cmCloseMsg EQU 105
cmOpenMsg EQU 106
cmBreakMsg EQU 107
cmIOKillMsg EQU 108
cmEnvironsMsg EQU 109
cmNewIOPBMsg EQU 110
cmDisposeIOPBMsg EQU 111
cmGetErrorStringMsg EQU 112
cmPBReadMsg EQU 113
cmPBWriteMsg EQU 114
cmPBIOKillMsg EQU 115
; messages for validate DefProc
cmValidateMsg EQU 0
cmDefaultMsg EQU 1
; messages for Setup DefProc
cmSpreflightMsg EQU 0
cmSsetupMsg EQU 1
cmSitemMsg EQU 2
cmSfilterMsg EQU 3
cmScleanupMsg EQU 4
; messages for scripting defProc
cmMgetMsg EQU 0
cmMsetMsg EQU 1
; messages for localization defProc
cmL2English EQU 0
cmL2Intl EQU 1
cdefType EQU 'cdef'
cvalType EQU 'cval'
csetType EQU 'cset'
clocType EQU 'cloc'
cscrType EQU 'cscr'
cbndType EQU 'cbnd'
cverType EQU 'vers'
CMDataBuffer Record 0
thePtr ds.l 1
count ds.l 1
channel ds.w 1
flags ds.w 1
CMDataBufferSize EQU *
EndR
CMCompletorRecord Record 0
async ds.b 1
filler ds.b 1
completionRoutine ds.l 1
CMCompletorRecordSize EQU *
EndR
CMSetupStruct Record 0
theDialog ds.l 1
count ds.w 1
theConfig ds.l 1
procID ds.w 1
CMSetupStructSize EQU *
EndR
ENDIF ; already included