43 #if PRAGMA_STRUCT_ALIGN
44 #pragma options align = mac68k
45 #elif PRAGMA_STRUCT_PACKPUSH
47 #elif PRAGMA_STRUCT_PACK
215 ADSPCompletionUPP ioCompletion;
236 #if CALL_NOT_IN_CARBON
245 ADSPConnectionEventUPP
247 #if !OPAQUE_UPP_TYPES
250 uppADSPConnectionEventProcInfo = 0x0000B802
253 inline ADSPConnectionEventUPP
257 (ProcPtr)(userRoutine), uppADSPConnectionEventProcInfo,
258 GetCurrentArchitecture());
261 #define NewADSPConnectionEventUPP(userRoutine) \
262 (ADSPConnectionEventUPP) NewRoutineDescriptor( \
263 (ProcPtr)(userRoutine), uppADSPConnectionEventProcInfo, \
264 GetCurrentArchitecture())
278 #if !OPAQUE_UPP_TYPES
281 uppADSPCompletionProcInfo = 0x00009802
284 inline ADSPCompletionUPP
288 uppADSPCompletionProcInfo,
289 GetCurrentArchitecture());
292 #define NewADSPCompletionUPP(userRoutine) \
293 (ADSPCompletionUPP) \
294 NewRoutineDescriptor((ProcPtr)(userRoutine), uppADSPCompletionProcInfo, \
295 GetCurrentArchitecture())
308 #if !OPAQUE_UPP_TYPES
315 #define DisposeADSPConnectionEventUPP(userUPP) DisposeRoutineDescriptor(userUPP)
329 #if !OPAQUE_UPP_TYPES
336 #define DisposeADSPCompletionUPP(userUPP) DisposeRoutineDescriptor(userUPP)
348 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
349 #pragma parameter InvokeADSPConnectionEventUPP(__A1, __A0)
353 #if !OPAQUE_UPP_TYPES && \
354 (!TARGET_OS_MAC || !TARGET_CPU_68K || TARGET_RT_MAC_CFM)
357 ADSPConnectionEventUPP userUPP)
359 CALL_ONE_PARAMETER_UPP(userUPP, uppADSPConnectionEventProcInfo, sourceCCB);
362 #define InvokeADSPConnectionEventUPP(sourceCCB, userUPP) \
363 CALL_ONE_PARAMETER_UPP((userUPP), uppADSPConnectionEventProcInfo, (sourceCCB))
375 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
376 #pragma parameter InvokeADSPCompletionUPP(__A0, __A1)
380 #if !OPAQUE_UPP_TYPES && \
381 (!TARGET_OS_MAC || !TARGET_CPU_68K || TARGET_RT_MAC_CFM)
384 ADSPCompletionUPP userUPP)
386 CALL_ONE_PARAMETER_UPP(userUPP, uppADSPCompletionProcInfo, thePBPtr);
389 #define InvokeADSPCompletionUPP(thePBPtr, userUPP) \
390 CALL_ONE_PARAMETER_UPP((userUPP), uppADSPCompletionProcInfo, (thePBPtr))
396 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
398 #define NewADSPConnectionEventProc(userRoutine) \
399 NewADSPConnectionEventUPP(userRoutine)
400 #define NewADSPCompletionProc(userRoutine) NewADSPCompletionUPP(userRoutine)
401 #define CallADSPConnectionEventProc(userRoutine, sourceCCB) \
402 InvokeADSPConnectionEventUPP(sourceCCB, userRoutine)
403 #define CallADSPCompletionProc(userRoutine, thePBPtr) \
404 InvokeADSPCompletionUPP(thePBPtr, userRoutine)
407 #if PRAGMA_STRUCT_ALIGN
408 #pragma options align = reset
409 #elif PRAGMA_STRUCT_PACKPUSH
411 #elif PRAGMA_STRUCT_PACK
415 #ifdef PRAGMA_IMPORT_OFF
@ dspWrite
Definition: ADSP.h:64
@ dspReset
Definition: ADSP.h:67
@ dspCLDeny
Definition: ADSP.h:61
@ dspClose
Definition: ADSP.h:57
@ dspRead
Definition: ADSP.h:63
@ dspOptions
Definition: ADSP.h:66
@ dspOpen
Definition: ADSP.h:56
@ dspNewCID
Definition: ADSP.h:68
@ dspRemove
Definition: ADSP.h:55
@ dspCLInit
Definition: ADSP.h:58
@ dspCLListen
Definition: ADSP.h:60
@ dspStatus
Definition: ADSP.h:62
@ dspAttention
Definition: ADSP.h:65
@ dspCLRemove
Definition: ADSP.h:59
void InvokeADSPConnectionEventUPP(TPCCB sourceCCB, ADSPConnectionEventUPP userUPP)
Definition: ADSP.h:356
void DisposeADSPConnectionEventUPP(ADSPConnectionEventUPP userUPP)
Definition: ADSP.h:310
void DisposeADSPCompletionUPP(ADSPCompletionUPP userUPP)
Definition: ADSP.h:331
@ sClosing
Definition: ADSP.h:87
@ sClosed
Definition: ADSP.h:88
@ sOpening
Definition: ADSP.h:85
@ sPassive
Definition: ADSP.h:84
@ sOpen
Definition: ADSP.h:86
@ sListening
Definition: ADSP.h:83
ADSPCompletionUPP NewADSPCompletionUPP(ADSPCompletionProcPtr userRoutine)
Definition: ADSP.h:285
void InvokeADSPCompletionUPP(DSPPBPtr thePBPtr, ADSPCompletionUPP userUPP)
Definition: ADSP.h:383
@ eClosed
Definition: ADSP.h:94
@ eTearDown
Definition: ADSP.h:95
@ eAttention
Definition: ADSP.h:96
@ eFwdReset
Definition: ADSP.h:97
@ minDSPQueueSize
Definition: ADSP.h:104
@ attnBufSize
Definition: ADSP.h:103
@ ocRequest
Definition: ADSP.h:74
@ ocAccept
Definition: ADSP.h:76
@ ocPassive
Definition: ADSP.h:75
@ ocEstablish
Definition: ADSP.h:77
ADSPConnectionEventUPP NewADSPConnectionEventUPP(ADSPConnectionEventProcPtr userRoutine)
Definition: ADSP.h:254
unsigned char * StringPtr
Definition: MacTypes.h:477
void DisposeRoutineDescriptor(UniversalProcPtr theUPP)
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)
typedef CALLBACK_API_REGISTER68K(void, SIInterruptProcPtr,(SPBPtr inParamPtr, Ptr dataBuffer, short peakAmplitude, long sampleSize))
typedef REGISTER_UPP_TYPE(HighHookProcPtr) HighHookUPP
Definition: AppleTalk.h:342
TRioParams ioParams
Definition: ADSP.h:228
TRattnParams attnParams
Definition: ADSP.h:229
short ccbRefNum
Definition: ADSP.h:222
TRstatusParams statusParams
Definition: ADSP.h:230
short csCode
Definition: ADSP.h:220
TRnewcidParams newCIDParams
Definition: ADSP.h:232
TRoptionParams optionParams
Definition: ADSP.h:231
long qStatus
Definition: ADSP.h:221
Definition: OSUtils.h:131
UInt16 refNum
Definition: ADSP.h:113
UInt8 userFlags
Definition: ADSP.h:115
UInt8 localSocket
Definition: ADSP.h:116
void * attnPtr
Definition: ADSP.h:120
AddrBlock remoteAddress
Definition: ADSP.h:117
UInt16 attnSize
Definition: ADSP.h:119
UInt16 state
Definition: ADSP.h:114
UInt16 attnCode
Definition: ADSP.h:118
UInt8 filler4
Definition: ADSP.h:183
UInt8 attnInterval
Definition: ADSP.h:182
void * attnData
Definition: ADSP.h:181
UInt16 attnSize
Definition: ADSP.h:180
UInt8 filler3
Definition: ADSP.h:165
UInt16 recvQSize
Definition: ADSP.h:138
UInt8 localSocket
Definition: ADSP.h:141
ADSPConnectionEventUPP userRoutine
Definition: ADSP.h:135
UInt8 filler1
Definition: ADSP.h:142
UInt16 sendQSize
Definition: ADSP.h:136
void * sendQueue
Definition: ADSP.h:137
void * attnPtr
Definition: ADSP.h:140
void * recvQueue
Definition: ADSP.h:139
UInt8 flush
Definition: ADSP.h:174
void * dataPtr
Definition: ADSP.h:172
UInt16 actCount
Definition: ADSP.h:171
UInt8 eom
Definition: ADSP.h:173
UInt32 sendSeq
Definition: ADSP.h:151
UInt8 filler2
Definition: ADSP.h:159
UInt32 attnSendSeq
Definition: ADSP.h:154
UInt8 ocInterval
Definition: ADSP.h:157
UInt16 remoteCID
Definition: ADSP.h:148
UInt16 sendWindow
Definition: ADSP.h:152
AddrBlock filterAddress
Definition: ADSP.h:150
UInt32 recvSeq
Definition: ADSP.h:153
UInt8 ocMode
Definition: ADSP.h:156
AddrBlock remoteAddress
Definition: ADSP.h:149
UInt8 ocMaximum
Definition: ADSP.h:158
UInt32 attnRecvSeq
Definition: ADSP.h:155
UInt8 sendTimer
Definition: ADSP.h:198
UInt8 useCheckSum
Definition: ADSP.h:201
UInt8 badSeqMax
Definition: ADSP.h:200
UInt8 rtmtTimer
Definition: ADSP.h:199
UInt16 recvQFree
Definition: ADSP.h:192
UInt16 sendQFree
Definition: ADSP.h:190
UInt16 recvQPending
Definition: ADSP.h:191
UInt16 sendQPending
Definition: ADSP.h:189