Mac OS 9
FileTransfers.h File Reference

CommToolbox File Transfer Manager Interfaces. More...

#include <ConditionalMacros.h>
#include <StandardFile.h>
#include <CTBUtilities.h>
#include <Connections.h>
#include <Files.h>
#include <Terminals.h>

Go to the source code of this file.

Data Structures

struct  FTRecord
 

Macros

#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)
 

Typedefs

typedef OSErr FTErr
 
typedef unsigned long FTFlags
 
typedef unsigned short FTAttributes
 
typedef unsigned short FTDirection
 
typedef short msg
 
typedef short long p1
 
typedef short long long p2
 
typedef short long long long p3
 
typedef struct FTRecord FTRecord
 
typedef FTRecordFTPtr
 
typedef FTPtrFTHandle
 
typedef Ptr pData
 
typedef Ptr long refCon
 
typedef Ptr long short fileMsg
 
typedef long theSize
 
typedef long long CMChannel channel
 
typedef long long CMChannel CMFlags flag
 
typedef ConnEnvironRectheEnvirons
 
typedef const FSSpec * pFSSpec
 
typedef unsigned short FTCompletionKind
 

Enumerations

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 }
 

Functions

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)
 

Detailed Description

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/

Macro Definition Documentation

◆ CallFileTransferReceiveProc

#define CallFileTransferReceiveProc (   userRoutine,
  thePtr,
  theSize,
  refCon,
  channel,
  flag 
)
Value:
InvokeFileTransferReceiveUPP(thePtr, theSize, refCon, channel, flag, \
userRoutine)
Size InvokeFileTransferReceiveUPP(Ptr thePtr, long theSize, long refCon, CMChannel channel, CMFlags *flag, FileTransferReceiveUPP userUPP)

◆ InvokeFileTransferDefUPP

#define InvokeFileTransferDefUPP (   hTerm,
  msg,
  p1,
  p2,
  p3,
  userUPP 
)
Value:
(long)CALL_FIVE_PARAMETER_UPP((userUPP), uppFileTransferDefProcInfo, \
(hTerm), (msg), (p1), (p2), (p3))

◆ InvokeFileTransferEnvironsUPP

#define InvokeFileTransferEnvironsUPP (   refCon,
  theEnvirons,
  userUPP 
)
Value:
(OSErr) CALL_TWO_PARAMETER_UPP((userUPP), uppFileTransferEnvironsProcInfo, \
(refCon), (theEnvirons))
Definition: Connections.h:148

◆ InvokeFileTransferNotificationUPP

#define InvokeFileTransferNotificationUPP (   hFT,
  pFSSpec,
  userUPP 
)
Value:
CALL_TWO_PARAMETER_UPP((userUPP), uppFileTransferNotificationProcInfo, \
(hFT), (pFSSpec))

◆ InvokeFileTransferReadUPP

#define InvokeFileTransferReadUPP (   count,
  pData,
  refCon,
  fileMsg,
  userUPP 
)
Value:
(OSErr) CALL_FOUR_PARAMETER_UPP((userUPP), uppFileTransferReadProcInfo, \
(count), (pData), (refCon), (fileMsg))

◆ InvokeFileTransferReceiveUPP

#define InvokeFileTransferReceiveUPP (   thePtr,
  theSize,
  refCon,
  channel,
  flag,
  userUPP 
)
Value:
(Size) CALL_FIVE_PARAMETER_UPP((userUPP), uppFileTransferReceiveProcInfo, \
(thePtr), (theSize), (refCon), (channel), \
(flag))

◆ InvokeFileTransferSendUPP

#define InvokeFileTransferSendUPP (   thePtr,
  theSize,
  refCon,
  channel,
  flag,
  userUPP 
)
Value:
(Size) CALL_FIVE_PARAMETER_UPP((userUPP), uppFileTransferSendProcInfo, \
(thePtr), (theSize), (refCon), (channel), \
(flag))

◆ InvokeFileTransferWriteUPP

#define InvokeFileTransferWriteUPP (   count,
  pData,
  refCon,
  fileMsg,
  userUPP 
)
Value:
(OSErr) CALL_FOUR_PARAMETER_UPP((userUPP), uppFileTransferWriteProcInfo, \
(count), (pData), (refCon), (fileMsg))

◆ NewFileTransferChooseIdleUPP

#define NewFileTransferChooseIdleUPP (   userRoutine)
Value:
(FileTransferChooseIdleUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppFileTransferChooseIdleProcInfo, \
GetCurrentArchitecture())
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)

◆ NewFileTransferDefUPP

#define NewFileTransferDefUPP (   userRoutine)
Value:
(FileTransferDefUPP) \
NewRoutineDescriptor((ProcPtr)(userRoutine), uppFileTransferDefProcInfo, \
GetCurrentArchitecture())

◆ NewFileTransferEnvironsUPP

#define NewFileTransferEnvironsUPP (   userRoutine)
Value:
(FileTransferEnvironsUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppFileTransferEnvironsProcInfo, \
GetCurrentArchitecture())

◆ NewFileTransferNotificationUPP

#define NewFileTransferNotificationUPP (   userRoutine)
Value:
(FileTransferNotificationUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppFileTransferNotificationProcInfo, \
GetCurrentArchitecture())

◆ NewFileTransferReadUPP

#define NewFileTransferReadUPP (   userRoutine)
Value:
(FileTransferReadUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), \
uppFileTransferReadProcInfo, \
GetCurrentArchitecture())

◆ NewFileTransferReceiveUPP

#define NewFileTransferReceiveUPP (   userRoutine)
Value:
(FileTransferReceiveUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppFileTransferReceiveProcInfo, \
GetCurrentArchitecture())

◆ NewFileTransferSendUPP

#define NewFileTransferSendUPP (   userRoutine)
Value:
(FileTransferSendUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), \
uppFileTransferSendProcInfo, \
GetCurrentArchitecture())

◆ NewFileTransferWriteUPP

#define NewFileTransferWriteUPP (   userRoutine)
Value:
(FileTransferWriteUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), \
uppFileTransferWriteProcInfo, \
GetCurrentArchitecture())

Function Documentation

◆ DisposeFileTransferChooseIdleUPP()

void DisposeFileTransferChooseIdleUPP ( FileTransferChooseIdleUPP  userUPP)

DisposeFileTransferChooseIdleUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ DisposeFileTransferDefUPP()

void DisposeFileTransferDefUPP ( FileTransferDefUPP  userUPP)

DisposeFileTransferDefUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ DisposeFileTransferEnvironsUPP()

void DisposeFileTransferEnvironsUPP ( FileTransferEnvironsUPP  userUPP)

DisposeFileTransferEnvironsUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ DisposeFileTransferNotificationUPP()

void DisposeFileTransferNotificationUPP ( FileTransferNotificationUPP  userUPP)

DisposeFileTransferNotificationUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ DisposeFileTransferReadUPP()

void DisposeFileTransferReadUPP ( FileTransferReadUPP  userUPP)

DisposeFileTransferReadUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ DisposeFileTransferReceiveUPP()

void DisposeFileTransferReceiveUPP ( FileTransferReceiveUPP  userUPP)

DisposeFileTransferReceiveUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ DisposeFileTransferSendUPP()

void DisposeFileTransferSendUPP ( FileTransferSendUPP  userUPP)

DisposeFileTransferSendUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ DisposeFileTransferWriteUPP()

void DisposeFileTransferWriteUPP ( FileTransferWriteUPP  userUPP)

DisposeFileTransferWriteUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ FTAbort()

FTErr FTAbort ( FTHandle  hFT)

FTAbort()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTActivate()

void FTActivate ( FTHandle  hFT,
Boolean  activate 
)

FTActivate()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTChoose()

short FTChoose ( FTHandle hFT,
Point  where,
FileTransferChooseIdleUPP  idleProc 
)

FTChoose()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTCompletionAsync()

FTErr FTCompletionAsync ( FTHandle  hFT,
FTCompletionKind  completionCall 
)

FTCompletionAsync()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTDefault()

void FTDefault ( Ptr *  theConfig,
short  procID,
Boolean  allocate 
)

FTDefault()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTDispose()

void FTDispose ( FTHandle  hFT)

FTDispose()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTEnglishToIntl()

FTErr FTEnglishToIntl ( FTHandle  hFT,
const void *  inputPtr,
Ptr *  outputPtr,
short  language 
)

FTEnglishToIntl()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTEvent()

void FTEvent ( FTHandle  hFT,
const EventRecord theEvent 
)

FTEvent()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTExec()

void FTExec ( FTHandle  hFT)

FTExec()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTGetConfig()

Ptr FTGetConfig ( FTHandle  hFT)

FTGetConfig()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTGetErrorString()

void FTGetErrorString ( FTHandle  hFT,
short  id,
Str255  errMsg 
)

FTGetErrorString()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTGetFTVersion()

short FTGetFTVersion ( void  )

FTGetFTVersion()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTGetProcID()

short FTGetProcID ( ConstStr255Param  name)

FTGetProcID()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTGetRefCon()

long FTGetRefCon ( FTHandle  hFT)

FTGetRefCon()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTGetToolName()

void FTGetToolName ( short  procID,
Str255  name 
)

FTGetToolName()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTGetUserData()

long FTGetUserData ( FTHandle  hFT)

FTGetUserData()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTGetVersion()

Handle FTGetVersion ( FTHandle  hFT)

FTGetVersion()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTIntlToEnglish()

FTErr FTIntlToEnglish ( FTHandle  hFT,
const void *  inputPtr,
Ptr *  outputPtr,
short  language 
)

FTIntlToEnglish()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTMenu()

Boolean FTMenu ( FTHandle  hFT,
short  menuID,
short  item 
)

FTMenu()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTNew()

FTHandle FTNew ( short  procID,
FTFlags  flags,
FileTransferSendUPP  sendProc,
FileTransferReceiveUPP  recvProc,
FileTransferReadUPP  readProc,
FileTransferWriteUPP  writeProc,
FileTransferEnvironsUPP  environsProc,
WindowRef  owner,
long  refCon,
long  userData 
)

FTNew()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTReceive()

FTErr FTReceive ( FTHandle  hFT,
FSSpecPtr  pFSSpec,
FileTransferNotificationUPP  notifyProc 
)

FTReceive()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTReceiveAsync()

FTErr FTReceiveAsync ( FTHandle  hFT,
FSSpecPtr  pFSSpec,
FileTransferNotificationUPP  notifyProc 
)

FTReceiveAsync()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTResume()

void FTResume ( FTHandle  hFT,
Boolean  resume 
)

FTResume()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTSend()

FTErr FTSend ( FTHandle  hFT,
short  numFiles,
FSSpecArrayPtr  pFSSpec,
FileTransferNotificationUPP  notifyProc 
)

FTSend()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTSendAsync()

FTErr FTSendAsync ( FTHandle  hFT,
short  numFiles,
FSSpecArrayPtr  pFSSpec,
FileTransferNotificationUPP  notifyProc 
)

These Async routines were added to InterfaceLib in System 7.5 FTSendAsync()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTSetConfig()

short FTSetConfig ( FTHandle  hFT,
const void *  thePtr 
)

FTSetConfig()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTSetRefCon()

void FTSetRefCon ( FTHandle  hFT,
long  refCon 
)

FTSetRefCon()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTSetupFilter()

Boolean FTSetupFilter ( short  procID,
const void *  theConfig,
short  count,
DialogRef  theDialog,
EventRecord theEvent,
short *  theItem,
long *  magicCookie 
)

FTSetupFilter()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTSetupItem()

void FTSetupItem ( short  procID,
const void *  theConfig,
short  count,
DialogRef  theDialog,
short *  theItem,
long *  magicCookie 
)

FTSetupItem()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTSetupPostflight()

void FTSetupPostflight ( short  procID)

FTSetupPostflight()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTSetupPreflight()

Handle FTSetupPreflight ( short  procID,
long *  magicCookie 
)

FTSetupPreflight()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTSetupSetup()

void FTSetupSetup ( short  procID,
const void *  theConfig,
short  count,
DialogRef  theDialog,
long *  magicCookie 
)

FTSetupSetup()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTSetupXCleanup()

void FTSetupXCleanup ( short  procID,
const void *  theConfig,
short  count,
DialogRef  theDialog,
Boolean  OKed,
long *  magicCookie 
)

FTSetupXCleanup()

Non-Carbon CFM: in InterfaceLib 7.5 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTSetUserData()

void FTSetUserData ( FTHandle  hFT,
long  userData 
)

FTSetUserData()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTStart()

FTErr FTStart ( FTHandle  hFT,
FTDirection  direction,
const SFReply fileInfo 
)

FTStart()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ FTValidate()

Boolean FTValidate ( FTHandle  hFT)

FTValidate()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ InitFT()

FTErr InitFT ( void  )

InitFT()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ InvokeFileTransferChooseIdleUPP()

void InvokeFileTransferChooseIdleUPP ( FileTransferChooseIdleUPP  userUPP)

InvokeFileTransferChooseIdleUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeFileTransferDefUPP()

long InvokeFileTransferDefUPP ( TermHandle  hTerm,
short  msg,
long  p1,
long  p2,
long  p3,
FileTransferDefUPP  userUPP 
)

InvokeFileTransferDefUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeFileTransferEnvironsUPP()

OSErr InvokeFileTransferEnvironsUPP ( long  refCon,
ConnEnvironRec theEnvirons,
FileTransferEnvironsUPP  userUPP 
)

InvokeFileTransferEnvironsUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeFileTransferNotificationUPP()

void InvokeFileTransferNotificationUPP ( FTHandle  hFT,
const FSSpec *  pFSSpec,
FileTransferNotificationUPP  userUPP 
)

InvokeFileTransferNotificationUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeFileTransferReadUPP()

OSErr InvokeFileTransferReadUPP ( unsigned long *  count,
Ptr  pData,
long  refCon,
short  fileMsg,
FileTransferReadUPP  userUPP 
)

InvokeFileTransferReadUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeFileTransferReceiveUPP()

Size InvokeFileTransferReceiveUPP ( Ptr  thePtr,
long  theSize,
long  refCon,
CMChannel  channel,
CMFlags *  flag,
FileTransferReceiveUPP  userUPP 
)

InvokeFileTransferReceiveUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeFileTransferSendUPP()

Size InvokeFileTransferSendUPP ( Ptr  thePtr,
long  theSize,
long  refCon,
CMChannel  channel,
CMFlags  flag,
FileTransferSendUPP  userUPP 
)

InvokeFileTransferSendUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ InvokeFileTransferWriteUPP()

OSErr InvokeFileTransferWriteUPP ( unsigned long *  count,
Ptr  pData,
long  refCon,
short  fileMsg,
FileTransferWriteUPP  userUPP 
)

InvokeFileTransferWriteUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewFileTransferChooseIdleUPP()

FileTransferChooseIdleUPP NewFileTransferChooseIdleUPP ( FileTransferChooseIdleProcPtr  userRoutine)

NewFileTransferChooseIdleUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewFileTransferDefUPP()

FileTransferDefUPP NewFileTransferDefUPP ( FileTransferDefProcPtr  userRoutine)

NewFileTransferDefUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewFileTransferEnvironsUPP()

FileTransferEnvironsUPP NewFileTransferEnvironsUPP ( FileTransferEnvironsProcPtr  userRoutine)

NewFileTransferEnvironsUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewFileTransferNotificationUPP()

FileTransferNotificationUPP NewFileTransferNotificationUPP ( FileTransferNotificationProcPtr  userRoutine)

NewFileTransferNotificationUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewFileTransferReadUPP()

FileTransferReadUPP NewFileTransferReadUPP ( FileTransferReadProcPtr  userRoutine)

NewFileTransferReadUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewFileTransferReceiveUPP()

FileTransferReceiveUPP NewFileTransferReceiveUPP ( FileTransferReceiveProcPtr  userRoutine)

NewFileTransferReceiveUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewFileTransferSendUPP()

FileTransferSendUPP NewFileTransferSendUPP ( FileTransferSendProcPtr  userRoutine)

NewFileTransferSendUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available

◆ NewFileTransferWriteUPP()

FileTransferWriteUPP NewFileTransferWriteUPP ( FileTransferWriteProcPtr  userRoutine)

NewFileTransferWriteUPP()

Non-Carbon CFM: available as macro/inline
Carbon Lib: not available
Mac OS X: not available