Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Appendix C - Special Functions


Functions Callable From Deferred Tasks

Table C-3 lists Open Transport functions that you can call from a deferred task and specifies whether the call can only be made with a provider in asynchronous mode.

Note
Some functions listed in Table C-3 are not documented in this manual because they are specific to Open Transport protocol and device drivers. They are listed here to provide a complete reference
In general, all endpoint calls can be made asynchronously from a deferred task, with the following limitation.


Table C-3  Functions callable from deferred tasks

FunctionCalling restrictions
OTAcceptasynchronous only
OTAckSends 
OTAlloc 
OTAsynchCreateStream 
OTAsyncOpenEndpoint If opening first endpoint of a configuration, foreground task must be calling SystemTask or some other function that calls SystemTask (for example, WaitNextEvent).
OTAsyncOpenMapper If opening first endpoint of a configuration, foreground task must be calling SystemTask or some other function that calls SystemTask (for example, WaitNextEvent).
OTAsyncOpenProvider If opening first endpoint of a configuration, foreground task must be calling SystemTask or some other function that calls SystemTask (for example, WaitNextEvent).
OTAsyncStreamOpen 
OTAsyncStreamPoll 
OTBindasynchronous only
OTCancelReplyasynchronous only
OTCancelRequestasynchronous only
OTCancelSynchronousCalls 
OTCancelUReplyasynchronous only
OTCancelURequestasynchronous only
OTCfigAddChild 
OTCfigChangeProviderName 
OTCfigCloneConfiguration 
OTCfigDeleteConfiguration 
OTCfigGetChild 
OTCfigNewChild 
OTCfigNewConfiguration 
OTCfigPopChild 
OTCfigPushChild 
OTCfigPushNewSingleChild 
OTCfigPushParent 
OTCfigRemoveChild 
OTCfigSetPath 
OTCfigSetPortRef 
OTCloneConfiguration 
OTCloseMatchingProviders 
OTCloseProvider 
OTCloseProviderByStream 
OTConfiguratorUnloaded 
OTConfigureChildren 
OTConnectasynchronous only
OTCountDataBytes 
OTCreateConfiguration 
OTCreateStateMachine 
OTCreateTimerTask 
OTDeleteConfigurator 
OTDeleteNameasynchronous only
OTDeleteNameByIDasynchronous only
OTDestroyConfiguration 
OTDestroyStateMachine 
OTDestroyTimerTask 
OTDontAckSends 
OTEnterNotifier 
OTFindOption 
OTFindPort 
OTFindPortByRef 
OTFree 
OTGetConfiguratorUserData     
OTGetEndpointInfoasynchronous only
OTGetEndpointState 
OTGetIndexedPort 
OTGetMessageasynchronous only
OTGetPriorityMessageasynchronous only    
OTGetProtAddressasynchronous only
OTGetProviderPortRef 
OTInitHashList 
OTInstallNotifier 
OTIoctlasynchronous only
OTIsBlocking 
OTIsDependentPort 
OTIsMasterConfigurator 
OTIsSynchronous 
OTLeaveNotifier 
OTListenasynchronous only
OTLook 
OTLookupNameasynchronous only
OTNewControlMask 
OTNextOption 
OTNotifyAllClients 
OTNotifyUser 
OTOptionManagementasynchronous only
OTPeekMessage 
OTPutBackBuffer 
OTPutBackPartialBuffer 
OTPutMessageasynchronous only
OTPutPriorityMessageasynchronous only
OTRcvasynchronous only
OTRcvConnectasynchronous only
OTRcvDisconnectasynchronous only
OTRcvOrderlyDisconnectasynchronous only
OTRcvReplyasynchronous only
OTRcvRequestasynchronous only
OTRcvUDataasynchronous only
OTRcvUDErrasynchronous only
OTRcvUReplyasynchronous only
OTRcvURequestasynchronous only
OTReadMessage 
OTRegisterNameasynchronous only
OTRegisterPort 
OTRemoveNotifier 
OTRemoveStreamFromProvider 
OTResolveAddressasynchronous only
OTSetAsynchronous 
OTSetBlocking 
OTSetNonBlocking 
OTSetSynchronous 
OTSMCallStateProc 
OTSMComplete 
OTSMCreateControlStream 
OTSMCreateStream 
OTSMGetClientData 
OTSMGetMessage 
OTSMGetState 
OTSMIoctl 
OTSMOpenStream 
OTSMPopCallback 
OTSMPutMessage 
OTSMReturnToCaller 
OTSMSetState 
OTSMWaitForComplete 
OTSndasynchronous only
OTSndDisconnectasynchronous only
OTSndReplyasynchronous only
OTSndRequestasynchronous only
OTSndUDataasynchronous only
OTSndUReplyasynchronous only
OTSndURequestasynchronous only
OTStreamClose 
OTStreamGetMessageasynchronous only
OTStreamGetPriorityMessageasynchronous only
OTStreamInstallNotifier 
OTStreamIoctlasynchronous onl
OTStreamIsBlocking 
OTStreamIsSynchronous 
OTStreamPutMessageasynchronous only
OTStreamPutPriorityMessageasynchronous only
OTStreamReadasynchronous only
OTStreamRemoveNotifier 
OTStreamSetAsynchronous 
OTStreamSetBlocking 
OTStreamSetControlMask 
OTStreamSetNonBlocking 
OTStreamSetSynchronous 
OTStreamUseSyncIdleEvents 
OTStreamWriteasynchronous only
OTSyncasynchronous onl
OTUnbindasynchronous only
OTUnregisterPort 
OTUseSyncIdleEvents 
OTWhoAmI 


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998