43 #if PRAGMA_STRUCT_ALIGN
44 #pragma options align = mac68k
45 #elif PRAGMA_STRUCT_PACKPUSH
47 #elif PRAGMA_STRUCT_PACK
66 EAddrRType = FOUR_CHAR_CODE(
'eadr')
80 ENETCompletionUPP ioCompletion;
102 #if CALL_NOT_IN_CARBON
113 #if !OPAQUE_UPP_TYPES
116 uppENETCompletionProcInfo = 0x00009802
119 inline ENETCompletionUPP
123 uppENETCompletionProcInfo,
124 GetCurrentArchitecture());
127 #define NewENETCompletionUPP(userRoutine) \
128 (ENETCompletionUPP) \
129 NewRoutineDescriptor((ProcPtr)(userRoutine), uppENETCompletionProcInfo, \
130 GetCurrentArchitecture())
144 #if !OPAQUE_UPP_TYPES
151 #define DisposeENETCompletionUPP(userUPP) DisposeRoutineDescriptor(userUPP)
163 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
164 #pragma parameter InvokeENETCompletionUPP(__A0, __A1)
168 #if !OPAQUE_UPP_TYPES && \
169 (!TARGET_OS_MAC || !TARGET_CPU_68K || TARGET_RT_MAC_CFM)
172 ENETCompletionUPP userUPP)
174 CALL_ONE_PARAMETER_UPP(userUPP, uppENETCompletionProcInfo, thePBPtr);
177 #define InvokeENETCompletionUPP(thePBPtr, userUPP) \
178 CALL_ONE_PARAMETER_UPP((userUPP), uppENETCompletionProcInfo, (thePBPtr))
184 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
186 #define NewENETCompletionProc(userRoutine) NewENETCompletionUPP(userRoutine)
187 #define CallENETCompletionProc(userRoutine, thePBPtr) \
188 InvokeENETCompletionUPP(thePBPtr, userRoutine)
191 #if CALL_NOT_IN_CARBON
594 #if PRAGMA_STRUCT_ALIGN
595 #pragma options align = reset
596 #elif PRAGMA_STRUCT_PACKPUSH
598 #elif PRAGMA_STRUCT_PACK
602 #ifdef PRAGMA_IMPORT_OFF
void DisposeENETCompletionUPP(ENETCompletionUPP userUPP)
OSErr EDelMulti(EParamBlkPtr thePBptr, Boolean async)
Decrement a multicast address counter.
OSErr ESetGeneral(EParamBlkPtr thePBptr, Boolean async)
Switch The .ENET Driver to general-transmission.
OSErr EWrite(EParamBlkPtr thePBptr, Boolean async)
Send a data packet over Ethernet.
OSErr EGetInfo(EParamBlkPtr thePBptr, Boolean async)
Return information about The .ENET Driver.
OSErr EAttachPH(EParamBlkPtr thePBptr, Boolean async)
Attach protocol handler to The .ENET Driver.
OSErr ERdCancel(EParamBlkPtr thePBptr, Boolean async)
Cancel execution of a specific call to the ERead function.
void InvokeENETCompletionUPP(EParamBlkPtr thePBPtr, ENETCompletionUPP userUPP)
OSErr EDetachPH(EParamBlkPtr thePBptr, Boolean async)
Detach a protocol handler from The .ENET Driver.
ENETCompletionUPP NewENETCompletionUPP(ENETCompletionProcPtr userRoutine)
OSErr EAddMulti(EParamBlkPtr thePBptr, Boolean async)
Add a multicast address to the node.
OSErr ERead(EParamBlkPtr thePBptr, Boolean async)
Read a data packet and place it in a data buffer.
Basic Macintosh data types.
unsigned char * StringPtr
Definition: MacTypes.h:477
unsigned char Boolean
Definition: MacTypes.h:318
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: OSUtils.h:131