|
| #define | NewConnectionToolDefUPP(userRoutine) |
| |
| #define | NewConnectionSearchCallBackUPP(userRoutine) |
| |
| #define | NewConnectionCompletionUPP(userRoutine) |
| |
| #define | NewConnectionChooseIdleUPP(userRoutine) |
| |
|
#define | DisposeConnectionToolDefUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeConnectionSearchCallBackUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeConnectionCompletionUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeConnectionChooseIdleUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
| #define | InvokeConnectionToolDefUPP(hConn, msg, p1, p2, p3, userUPP) |
| |
| #define | InvokeConnectionSearchCallBackUPP(hConn, matchPtr, refNum, userUPP) |
| |
|
#define | InvokeConnectionCompletionUPP(hConn, userUPP) CALL_ONE_PARAMETER_UPP((userUPP), uppConnectionCompletionProcInfo, (hConn)) |
| |
|
#define | InvokeConnectionChooseIdleUPP(userUPP) CALL_ZERO_PARAMETER_UPP((userUPP), uppConnectionChooseIdleProcInfo) |
| |
|
#define | NewConnectionToolDefProc(userRoutine) NewConnectionToolDefUPP(userRoutine) |
| |
|
#define | NewConnectionSearchCallBackProc(userRoutine) NewConnectionSearchCallBackUPP(userRoutine) |
| |
|
#define | NewConnectionCompletionProc(userRoutine) NewConnectionCompletionUPP(userRoutine) |
| |
|
#define | NewConnectionChooseIdleProc(userRoutine) NewConnectionChooseIdleUPP(userRoutine) |
| |
|
#define | CallConnectionToolDefProc(userRoutine, hConn, msg, p1, p2, p3) InvokeConnectionToolDefUPP(hConn, msg, p1, p2, p3, userRoutine) |
| |
|
#define | CallConnectionSearchCallBackProc(userRoutine, hConn, matchPtr, refNum) InvokeConnectionSearchCallBackUPP(hConn, matchPtr, refNum, userRoutine) |
| |
|
#define | CallConnectionCompletionProc(userRoutine, hConn) InvokeConnectionCompletionUPP(hConn, userRoutine) |
| |
|
#define | CallConnectionChooseIdleProc(userRoutine) InvokeConnectionChooseIdleUPP(userRoutine) |
| |
|
| enum | { curCMVersion = 2
} |
| |
| enum | { curConnEnvRecVers
} |
| |
| enum | {
cmGenericError = -1
, cmNoErr = 0
, cmRejected = 1
, cmFailed = 2
,
cmTimeOut = 3
, cmNotOpen = 4
, cmNotClosed = 5
, cmNoRequestPending = 6
,
cmNotSupported = 7
, cmNoTools = 8
, cmUserCancel = 9
, cmUnknownError = 11
} |
| |
| enum | {
cmData = 1L << 0
, cmCntl = 1L << 1
, cmAttn = 1L << 2
, cmDataNoTimeout = 1L << 4
,
cmCntlNoTimeout = 1L << 5
, cmAttnNoTimeout = 1L << 6
, cmDataClean = 1L << 8
, cmCntlClean = 1L << 9
,
cmAttnClean = 1L << 10
, cmNoMenus = 1L << 16
, cmQuiet = 1L << 17
, cmConfigChanged = 1L << 18
} |
| |
| enum | {
cmStatusOpening = 1L << 0
, cmStatusOpen = 1L << 1
, cmStatusClosing = 1L << 2
, cmStatusDataAvail = 1L << 3
,
cmStatusCntlAvail = 1L << 4
, cmStatusAttnAvail = 1L << 5
, cmStatusDRPend = 1L << 6
, cmStatusDWPend = 1L << 7
,
cmStatusCRPend = 1L << 8
, cmStatusCWPend = 1L << 9
, cmStatusARPend = 1L << 10
, cmStatusAWPend = 1L << 11
,
cmStatusBreakPend = 1L << 12
, cmStatusListenPend = 1L << 13
, cmStatusIncomingCallPresent = 1L << 14
, cmStatusReserved0 = 1L << 15
} |
| |
| enum | {
cmDataIn = 0
, cmDataOut = 1
, cmCntlIn = 2
, cmCntlOut = 3
,
cmAttnIn = 4
, cmAttnOut = 5
, cmRsrvIn = 6
, cmRsrvOut = 7
} |
| |
| enum | { cmSearchSevenBit = 1L << 0
} |
| |
| enum | { cmFlagsEOM = 1L << 0
} |
| |
| enum | { cmIOPBQType = 10
, cmIOPBversion = 0
} |
| |
| enum | { uppConnectionToolDefProcInfo = 0x0000FEF0
} |
| |
| enum | { uppConnectionSearchCallBackProcInfo = 0x00000FC0
} |
| |
| enum | { uppConnectionCompletionProcInfo = 0x000000C0
} |
| |
| enum | { uppConnectionChooseIdleProcInfo = 0x00000000
} |
| |
|
|
typedef | CALLBACK_API (long, ConnectionToolDefProcPtr)(ConnHandle hConn |
| |
|
typedef | CALLBACK_API (void, ConnectionSearchCallBackProcPtr)(ConnHandle hConn |
| |
|
typedef | CALLBACK_API (void, ConnectionCompletionProcPtr)(ConnHandle hConn) |
| |
|
typedef | CALLBACK_API (void, ConnectionChooseIdleProcPtr)(void) |
| |
|
typedef | STACK_UPP_TYPE (ConnectionToolDefProcPtr) ConnectionToolDefUPP |
| |
|
typedef | STACK_UPP_TYPE (ConnectionSearchCallBackProcPtr) ConnectionSearchCallBackUPP |
| |
|
typedef | STACK_UPP_TYPE (ConnectionCompletionProcPtr) ConnectionCompletionUPP |
| |
|
typedef | STACK_UPP_TYPE (ConnectionChooseIdleProcPtr) ConnectionChooseIdleUPP |
| |
| ConnectionToolDefUPP | NewConnectionToolDefUPP (ConnectionToolDefProcPtr userRoutine) |
| |
| ConnectionSearchCallBackUPP | NewConnectionSearchCallBackUPP (ConnectionSearchCallBackProcPtr userRoutine) |
| |
| ConnectionCompletionUPP | NewConnectionCompletionUPP (ConnectionCompletionProcPtr userRoutine) |
| |
| ConnectionChooseIdleUPP | NewConnectionChooseIdleUPP (ConnectionChooseIdleProcPtr userRoutine) |
| |
| void | DisposeConnectionToolDefUPP (ConnectionToolDefUPP userUPP) |
| |
| void | DisposeConnectionSearchCallBackUPP (ConnectionSearchCallBackUPP userUPP) |
| |
| void | DisposeConnectionCompletionUPP (ConnectionCompletionUPP userUPP) |
| |
| void | DisposeConnectionChooseIdleUPP (ConnectionChooseIdleUPP userUPP) |
| |
| long | InvokeConnectionToolDefUPP (ConnHandle hConn, short msg, long p1, long p2, long p3, ConnectionToolDefUPP userUPP) |
| |
| void | InvokeConnectionSearchCallBackUPP (ConnHandle hConn, Ptr matchPtr, long refNum, ConnectionSearchCallBackUPP userUPP) |
| |
| void | InvokeConnectionCompletionUPP (ConnHandle hConn, ConnectionCompletionUPP userUPP) |
| |
| void | InvokeConnectionChooseIdleUPP (ConnectionChooseIdleUPP userUPP) |
| |
| CMErr | InitCM (void) |
| |
| Handle | CMGetVersion (ConnHandle hConn) |
| |
| short | CMGetCMVersion (void) |
| |
| ConnHandle | CMNew (short procID, CMRecFlags flags, ConstCMBufferSizesParam desiredSizes, long refCon, long userData) |
| |
| void | CMDispose (ConnHandle hConn) |
| |
| CMErr | CMListen (ConnHandle hConn, Boolean async, ConnectionCompletionUPP completor, long timeout) |
| |
| CMErr | CMAccept (ConnHandle hConn, Boolean accept) |
| |
| CMErr | CMOpen (ConnHandle hConn, Boolean async, ConnectionCompletionUPP completor, long timeout) |
| |
| CMErr | CMClose (ConnHandle hConn, Boolean async, ConnectionCompletionUPP completor, long timeout, Boolean now) |
| |
| CMErr | CMAbort (ConnHandle hConn) |
| |
| CMErr | CMStatus (ConnHandle hConn, CMBufferSizes sizes, CMStatFlags *flags) |
| |
| void | CMIdle (ConnHandle hConn) |
| |
| void | CMReset (ConnHandle hConn) |
| |
| void | CMBreak (ConnHandle hConn, long duration, Boolean async, ConnectionCompletionUPP completor) |
| |
| CMErr | CMRead (ConnHandle hConn, void *theBuffer, long *toRead, CMChannel theChannel, Boolean async, ConnectionCompletionUPP completor, long timeout, CMFlags *flags) |
| |
| CMErr | CMWrite (ConnHandle hConn, const void *theBuffer, long *toWrite, CMChannel theChannel, Boolean async, ConnectionCompletionUPP completor, long timeout, CMFlags flags) |
| |
| CMErr | CMIOKill (ConnHandle hConn, short which) |
| |
| void | CMActivate (ConnHandle hConn, Boolean activate) |
| |
| void | CMResume (ConnHandle hConn, Boolean resume) |
| |
| Boolean | CMMenu (ConnHandle hConn, short menuID, short item) |
| |
| Boolean | CMValidate (ConnHandle hConn) |
| |
| void | CMDefault (Ptr *theConfig, short procID, Boolean allocate) |
| |
| Handle | CMSetupPreflight (short procID, long *magicCookie) |
| |
| Boolean | CMSetupFilter (short procID, const void *theConfig, short count, DialogRef theDialog, EventRecord *theEvent, short *theItem, long *magicCookie) |
| |
| void | CMSetupSetup (short procID, const void *theConfig, short count, DialogRef theDialog, long *magicCookie) |
| |
| void | CMSetupItem (short procID, const void *theConfig, short count, DialogRef theDialog, short *theItem, long *magicCookie) |
| |
| void | CMSetupXCleanup (short procID, const void *theConfig, short count, DialogRef theDialog, Boolean OKed, long *magicCookie) |
| |
| void | CMSetupPostflight (short procID) |
| |
| Ptr | CMGetConfig (ConnHandle hConn) |
| |
| short | CMSetConfig (ConnHandle hConn, const void *thePtr) |
| |
| OSErr | CMIntlToEnglish (ConnHandle hConn, const void *inputPtr, Ptr *outputPtr, short language) |
| |
| OSErr | CMEnglishToIntl (ConnHandle hConn, const void *inputPtr, Ptr *outputPtr, short language) |
| |
| long | CMAddSearch (ConnHandle hConn, ConstStr255Param theString, CMSearchFlags flags, ConnectionSearchCallBackUPP callBack) |
| |
| void | CMRemoveSearch (ConnHandle hConn, long refnum) |
| |
| void | CMClearSearch (ConnHandle hConn) |
| |
| CMErr | CMGetConnEnvirons (ConnHandle hConn, ConnEnvironRec *theEnvirons) |
| |
| short | CMChoose (ConnHandle *hConn, Point where, ConnectionChooseIdleUPP idle) |
| |
| void | CMEvent (ConnHandle hConn, const EventRecord *theEvent) |
| |
| void | CMGetToolName (short procID, Str255 name) |
| |
| short | CMGetProcID (ConstStr255Param name) |
| |
| void | CMSetRefCon (ConnHandle hConn, long refCon) |
| |
| long | CMGetRefCon (ConnHandle hConn) |
| |
| long | CMGetUserData (ConnHandle hConn) |
| |
| void | CMSetUserData (ConnHandle hConn, long userData) |
| |
| void | CMGetErrorString (ConnHandle hConn, short id, Str255 errMsg) |
| |
| CMErr | CMNewIOPB (ConnHandle hConn, CMIOPBPtr *theIOPB) |
| |
| CMErr | CMDisposeIOPB (ConnHandle hConn, CMIOPBPtr theIOPB) |
| |
| CMErr | CMPBRead (ConnHandle hConn, CMIOPBPtr theIOPB, Boolean async) |
| |
| CMErr | CMPBWrite (ConnHandle hConn, CMIOPBPtr theIOPB, Boolean async) |
| |
| CMErr | CMPBIOKill (ConnHandle hConn, CMIOPBPtr theIOPB) |
| |
Communications Toolbox Connection Manager Interfaces.
- Introduced In: System 7.5
- Avaliable From: Universal Interfaces 3.4.1
- Copyright: � 1988-2001 by Apple Computer, Inc., all rights reserved
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/