PsiFS: SWI Calls

PsiFS_InterceptPoll

PsiFS_InterceptPoll
(SWI &520CC)
Poll for any new intercepted file transfers

On entry:R0 =the previously allocated pollword for this client

On exit:R0 =handle for the intercepted file transfer, or 0 if none
R1 =file type intercepted
R2 =intercept type
R3 =pointer to null terminated original filename
R4 =pointer to null terminated path for the copy
R5 =task handle of the sender
R6 =task handle of the receiver

Interrupts:Interrupt status is undefined
Fast interrupts are enabled

Processor mode:Processor is in SVC mode

Re-entrancy:SWI is not re-entrant

Use: Poll for new intercepted file transfers. The same pollword as returned by PsiFS_Register must be specified. This should be called repeatedly until the returned handle is 0 indicating no more files.

Each intercepted file transfer will have been saved to a temporary file. PsiFS_InterceptControl should be used to specify the action to perform. The intercept types are the same as used for the mask supplied to PsiFS_InterceptClaim. More than one intercept type may be specified, for example if the intercept was forced by the user.


Related SWIs:PsiFS_Register, PsiFS_InterceptClaim, PsiFS_InterceptControl

Related vectors:None

[Contents] [Up] Copyright © Alexander Thoukydides, 1998, 1999, 2000