2 * Acess2 Networking Test Suite (NetTest)
3 * - By John Hodge (thePowersGang)
6 * - VFS Layer Emulation
13 int VFS_SelectNode(tVFS_Node *Node, int Type, tTime *Timeout, const char *Name)
19 int VFS_MarkAvaliable(tVFS_Node *Node, BOOL bAvail)
21 Node->DataAvaliable = bAvail;
22 if( Node->DataAvaliable && Node->ReadThreads )
23 Threads_PostEvent( (void*)Node->ReadThreads, THREAD_EVENT_VFS );
27 int VFS_MarkError(tVFS_Node *Node, BOOL bError)
29 Node->ErrorOccurred = bError;
30 if( Node->ErrorOccurred && Node->ErrorThreads )
31 Threads_PostEvent( (void*)Node->ErrorThreads, THREAD_EVENT_VFS );
35 int VFS_Open(const char *Path, Uint Flags)
40 void VFS_Close(int FD)
44 tVFS_Handle *VFS_GetHandle(int FD)