|
| #define | NewFileTransferDefUPP(userRoutine) |
| |
| #define | NewFileTransferReadUPP(userRoutine) |
| |
| #define | NewFileTransferWriteUPP(userRoutine) |
| |
| #define | NewFileTransferSendUPP(userRoutine) |
| |
| #define | NewFileTransferReceiveUPP(userRoutine) |
| |
| #define | NewFileTransferEnvironsUPP(userRoutine) |
| |
| #define | NewFileTransferNotificationUPP(userRoutine) |
| |
| #define | NewFileTransferChooseIdleUPP(userRoutine) |
| |
|
#define | DisposeFileTransferDefUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeFileTransferReadUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeFileTransferWriteUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeFileTransferSendUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeFileTransferReceiveUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeFileTransferEnvironsUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeFileTransferNotificationUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeFileTransferChooseIdleUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
| #define | InvokeFileTransferDefUPP(hTerm, msg, p1, p2, p3, userUPP) |
| |
| #define | InvokeFileTransferReadUPP(count, pData, refCon, fileMsg, userUPP) |
| |
| #define | InvokeFileTransferWriteUPP(count, pData, refCon, fileMsg, userUPP) |
| |
| #define | InvokeFileTransferSendUPP(thePtr, theSize, refCon, channel, flag, userUPP) |
| |
| #define | InvokeFileTransferReceiveUPP(thePtr, theSize, refCon, channel, flag, userUPP) |
| |
| #define | InvokeFileTransferEnvironsUPP(refCon, theEnvirons, userUPP) |
| |
| #define | InvokeFileTransferNotificationUPP(hFT, pFSSpec, userUPP) |
| |
|
#define | InvokeFileTransferChooseIdleUPP(userUPP) CALL_ZERO_PARAMETER_UPP((userUPP), uppFileTransferChooseIdleProcInfo) |
| |
|
#define | NewFileTransferDefProc(userRoutine) NewFileTransferDefUPP(userRoutine) |
| |
|
#define | NewFileTransferReadProc(userRoutine) NewFileTransferReadUPP(userRoutine) |
| |
|
#define | NewFileTransferWriteProc(userRoutine) NewFileTransferWriteUPP(userRoutine) |
| |
|
#define | NewFileTransferSendProc(userRoutine) NewFileTransferSendUPP(userRoutine) |
| |
|
#define | NewFileTransferReceiveProc(userRoutine) NewFileTransferReceiveUPP(userRoutine) |
| |
|
#define | NewFileTransferEnvironsProc(userRoutine) NewFileTransferEnvironsUPP(userRoutine) |
| |
|
#define | NewFileTransferNotificationProc(userRoutine) NewFileTransferNotificationUPP(userRoutine) |
| |
|
#define | NewFileTransferChooseIdleProc(userRoutine) NewFileTransferChooseIdleUPP(userRoutine) |
| |
|
#define | CallFileTransferDefProc(userRoutine, hTerm, msg, p1, p2, p3) InvokeFileTransferDefUPP(hTerm, msg, p1, p2, p3, userRoutine) |
| |
|
#define | CallFileTransferReadProc(userRoutine, count, pData, refCon, fileMsg) InvokeFileTransferReadUPP(count, pData, refCon, fileMsg, userRoutine) |
| |
|
#define | CallFileTransferWriteProc(userRoutine, count, pData, refCon, fileMsg) InvokeFileTransferWriteUPP(count, pData, refCon, fileMsg, userRoutine) |
| |
|
#define | CallFileTransferSendProc(userRoutine, thePtr, theSize, refCon, channel, flag) InvokeFileTransferSendUPP(thePtr, theSize, refCon, channel, flag, userRoutine) |
| |
| #define | CallFileTransferReceiveProc(userRoutine, thePtr, theSize, refCon, channel, flag) |
| |
|
#define | CallFileTransferEnvironsProc(userRoutine, refCon, theEnvirons) InvokeFileTransferEnvironsUPP(refCon, theEnvirons, userRoutine) |
| |
|
#define | CallFileTransferNotificationProc(userRoutine, hFT, pFSSpec) InvokeFileTransferNotificationUPP(hFT, pFSSpec, userRoutine) |
| |
|
#define | CallFileTransferChooseIdleProc(userRoutine) InvokeFileTransferChooseIdleUPP(userRoutine) |
| |
|
| enum | { curFTVersion = 2
} |
| |
| enum | {
ftGenericError = -1
, ftNoErr = 0
, ftRejected = 1
, ftFailed = 2
,
ftTimeOut = 3
, ftTooManyRetry = 4
, ftNotEnoughDSpace = 5
, ftRemoteCancel = 6
,
ftWrongFormat = 7
, ftNoTools = 8
, ftUserCancel = 9
, ftNotSupported = 10
} |
| |
| enum | {
ftIsFTMode = 1 << 0
, ftNoMenus = 1 << 1
, ftQuiet = 1 << 2
, ftConfigChanged = 1 << 4
,
ftSucc = 1 << 7
} |
| |
| enum | {
ftSameCircuit = 1 << 0
, ftSendDisable = 1 << 1
, ftReceiveDisable = 1 << 2
, ftTextOnly = 1 << 3
,
ftNoStdFile = 1 << 4
, ftMultipleFileSend = 1 << 5
} |
| |
| enum | { ftReceiving = 0
, ftTransmitting = 1
, ftFullDuplex = 2
} |
| |
| enum | {
ftReadOpenFile = 0
, ftReadDataFork = 1
, ftReadRsrcFork = 2
, ftReadAbort = 3
,
ftReadComplete = 4
, ftReadSetFPos = 6
, ftReadGetFPos = 7
} |
| |
| enum | {
ftWriteOpenFile = 0
, ftWriteDataFork = 1
, ftWriteRsrcFork = 2
, ftWriteAbort = 3
,
ftWriteComplete = 4
, ftWriteFileInfo = 5
, ftWriteSetFPos = 6
, ftWriteGetFPos = 7
} |
| |
| enum | { ftOpenDataFork = 1
, ftOpenRsrcFork = 2
} |
| |
| enum | { uppFileTransferDefProcInfo = 0x0000FEF0
} |
| |
| enum | { uppFileTransferReadProcInfo = 0x00002FE0
} |
| |
| enum | { uppFileTransferWriteProcInfo = 0x00002FE0
} |
| |
| enum | { uppFileTransferSendProcInfo = 0x0000AFF0
} |
| |
| enum | { uppFileTransferReceiveProcInfo = 0x0000EFF0
} |
| |
| enum | { uppFileTransferEnvironsProcInfo = 0x000003E0
} |
| |
| enum | { uppFileTransferNotificationProcInfo = 0x000003C0
} |
| |
| enum | { uppFileTransferChooseIdleProcInfo = 0x00000000
} |
| |
|
|
typedef | CALLBACK_API (long, FileTransferDefProcPtr)(TermHandle hTerm |
| |
|
typedef | CALLBACK_API (OSErr, FileTransferReadProcPtr)(unsigned long *count |
| |
|
typedef | CALLBACK_API (OSErr, FileTransferWriteProcPtr)(unsigned long *count |
| |
|
typedef | CALLBACK_API (Size, FileTransferSendProcPtr)(Ptr thePtr |
| |
|
typedef | CALLBACK_API (Size, FileTransferReceiveProcPtr)(Ptr thePtr |
| |
|
typedef | CALLBACK_API (OSErr, FileTransferEnvironsProcPtr)(long refCon |
| |
|
typedef | CALLBACK_API (void, FileTransferNotificationProcPtr)(FTHandle hFT |
| |
|
typedef | CALLBACK_API (void, FileTransferChooseIdleProcPtr)(void) |
| |
|
typedef | STACK_UPP_TYPE (FileTransferDefProcPtr) FileTransferDefUPP |
| |
|
typedef | STACK_UPP_TYPE (FileTransferReadProcPtr) FileTransferReadUPP |
| |
|
typedef | STACK_UPP_TYPE (FileTransferWriteProcPtr) FileTransferWriteUPP |
| |
|
typedef | STACK_UPP_TYPE (FileTransferSendProcPtr) FileTransferSendUPP |
| |
|
typedef | STACK_UPP_TYPE (FileTransferReceiveProcPtr) FileTransferReceiveUPP |
| |
|
typedef | STACK_UPP_TYPE (FileTransferEnvironsProcPtr) FileTransferEnvironsUPP |
| |
|
typedef | STACK_UPP_TYPE (FileTransferNotificationProcPtr) FileTransferNotificationUPP |
| |
|
typedef | STACK_UPP_TYPE (FileTransferChooseIdleProcPtr) FileTransferChooseIdleUPP |
| |
| FileTransferDefUPP | NewFileTransferDefUPP (FileTransferDefProcPtr userRoutine) |
| |
| FileTransferReadUPP | NewFileTransferReadUPP (FileTransferReadProcPtr userRoutine) |
| |
| FileTransferWriteUPP | NewFileTransferWriteUPP (FileTransferWriteProcPtr userRoutine) |
| |
| FileTransferSendUPP | NewFileTransferSendUPP (FileTransferSendProcPtr userRoutine) |
| |
| FileTransferReceiveUPP | NewFileTransferReceiveUPP (FileTransferReceiveProcPtr userRoutine) |
| |
| FileTransferEnvironsUPP | NewFileTransferEnvironsUPP (FileTransferEnvironsProcPtr userRoutine) |
| |
| FileTransferNotificationUPP | NewFileTransferNotificationUPP (FileTransferNotificationProcPtr userRoutine) |
| |
| FileTransferChooseIdleUPP | NewFileTransferChooseIdleUPP (FileTransferChooseIdleProcPtr userRoutine) |
| |
| void | DisposeFileTransferDefUPP (FileTransferDefUPP userUPP) |
| |
| void | DisposeFileTransferReadUPP (FileTransferReadUPP userUPP) |
| |
| void | DisposeFileTransferWriteUPP (FileTransferWriteUPP userUPP) |
| |
| void | DisposeFileTransferSendUPP (FileTransferSendUPP userUPP) |
| |
| void | DisposeFileTransferReceiveUPP (FileTransferReceiveUPP userUPP) |
| |
| void | DisposeFileTransferEnvironsUPP (FileTransferEnvironsUPP userUPP) |
| |
| void | DisposeFileTransferNotificationUPP (FileTransferNotificationUPP userUPP) |
| |
| void | DisposeFileTransferChooseIdleUPP (FileTransferChooseIdleUPP userUPP) |
| |
| long | InvokeFileTransferDefUPP (TermHandle hTerm, short msg, long p1, long p2, long p3, FileTransferDefUPP userUPP) |
| |
| OSErr | InvokeFileTransferReadUPP (unsigned long *count, Ptr pData, long refCon, short fileMsg, FileTransferReadUPP userUPP) |
| |
| OSErr | InvokeFileTransferWriteUPP (unsigned long *count, Ptr pData, long refCon, short fileMsg, FileTransferWriteUPP userUPP) |
| |
| Size | InvokeFileTransferSendUPP (Ptr thePtr, long theSize, long refCon, CMChannel channel, CMFlags flag, FileTransferSendUPP userUPP) |
| |
| Size | InvokeFileTransferReceiveUPP (Ptr thePtr, long theSize, long refCon, CMChannel channel, CMFlags *flag, FileTransferReceiveUPP userUPP) |
| |
| OSErr | InvokeFileTransferEnvironsUPP (long refCon, ConnEnvironRec *theEnvirons, FileTransferEnvironsUPP userUPP) |
| |
| void | InvokeFileTransferNotificationUPP (FTHandle hFT, const FSSpec *pFSSpec, FileTransferNotificationUPP userUPP) |
| |
| void | InvokeFileTransferChooseIdleUPP (FileTransferChooseIdleUPP userUPP) |
| |
| FTErr | InitFT (void) |
| |
| Handle | FTGetVersion (FTHandle hFT) |
| |
| short | FTGetFTVersion (void) |
| |
| FTHandle | FTNew (short procID, FTFlags flags, FileTransferSendUPP sendProc, FileTransferReceiveUPP recvProc, FileTransferReadUPP readProc, FileTransferWriteUPP writeProc, FileTransferEnvironsUPP environsProc, WindowRef owner, long refCon, long userData) |
| |
| void | FTDispose (FTHandle hFT) |
| |
| FTErr | FTStart (FTHandle hFT, FTDirection direction, const SFReply *fileInfo) |
| |
| FTErr | FTAbort (FTHandle hFT) |
| |
| FTErr | FTSend (FTHandle hFT, short numFiles, FSSpecArrayPtr pFSSpec, FileTransferNotificationUPP notifyProc) |
| |
| FTErr | FTReceive (FTHandle hFT, FSSpecPtr pFSSpec, FileTransferNotificationUPP notifyProc) |
| |
| void | FTExec (FTHandle hFT) |
| |
| void | FTActivate (FTHandle hFT, Boolean activate) |
| |
| void | FTResume (FTHandle hFT, Boolean resume) |
| |
| Boolean | FTMenu (FTHandle hFT, short menuID, short item) |
| |
| short | FTChoose (FTHandle *hFT, Point where, FileTransferChooseIdleUPP idleProc) |
| |
| void | FTEvent (FTHandle hFT, const EventRecord *theEvent) |
| |
| Boolean | FTValidate (FTHandle hFT) |
| |
| void | FTDefault (Ptr *theConfig, short procID, Boolean allocate) |
| |
| Handle | FTSetupPreflight (short procID, long *magicCookie) |
| |
| void | FTSetupSetup (short procID, const void *theConfig, short count, DialogRef theDialog, long *magicCookie) |
| |
| Boolean | FTSetupFilter (short procID, const void *theConfig, short count, DialogRef theDialog, EventRecord *theEvent, short *theItem, long *magicCookie) |
| |
| void | FTSetupItem (short procID, const void *theConfig, short count, DialogRef theDialog, short *theItem, long *magicCookie) |
| |
| void | FTSetupXCleanup (short procID, const void *theConfig, short count, DialogRef theDialog, Boolean OKed, long *magicCookie) |
| |
| void | FTSetupPostflight (short procID) |
| |
| Ptr | FTGetConfig (FTHandle hFT) |
| |
| short | FTSetConfig (FTHandle hFT, const void *thePtr) |
| |
| FTErr | FTIntlToEnglish (FTHandle hFT, const void *inputPtr, Ptr *outputPtr, short language) |
| |
| FTErr | FTEnglishToIntl (FTHandle hFT, const void *inputPtr, Ptr *outputPtr, short language) |
| |
| void | FTGetToolName (short procID, Str255 name) |
| |
| short | FTGetProcID (ConstStr255Param name) |
| |
| void | FTSetRefCon (FTHandle hFT, long refCon) |
| |
| long | FTGetRefCon (FTHandle hFT) |
| |
| void | FTSetUserData (FTHandle hFT, long userData) |
| |
| long | FTGetUserData (FTHandle hFT) |
| |
| void | FTGetErrorString (FTHandle hFT, short id, Str255 errMsg) |
| |
| FTErr | FTSendAsync (FTHandle hFT, short numFiles, FSSpecArrayPtr pFSSpec, FileTransferNotificationUPP notifyProc) |
| |
| FTErr | FTReceiveAsync (FTHandle hFT, FSSpecPtr pFSSpec, FileTransferNotificationUPP notifyProc) |
| |
| FTErr | FTCompletionAsync (FTHandle hFT, FTCompletionKind completionCall) |
| |
CommToolbox File Transfer 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/