Carbon


OTCFCreateStreamProcPtr

Header: OpenTransportProtocol.h Carbon status: Unsupported

typedef OSStatus(* OTCFCreateStreamProcPtr) (
    TOTConfiguratorRef cfigor, 
    OTConfigurationRef cfig, 
    OTOpenFlags oFlags, 
    OTNotifyUPP proc, 
    void *contextPtr
);

You would declare your function like this if you were to name it MyOTCFCreateStreamCallback:

OSStatus MyOTCFCreateStreamCallback (
    TOTConfiguratorRef cfigor, 
    OTConfigurationRef cfig, 
    OTOpenFlags oFlags, 
    OTNotifyUPP proc, 
    void *contextPtr
);
function result

A result code.

CARBON NOTES

Carbon does not support access to Open Transport configuration APIs because the Mac OS X networking stack is not based on STREAMS.


© 2000 Apple Computer, Inc. (Last Updated 6/26/2000)