Wireless File System (WFS) Library Function List

Parent (Server)

Initialization

WFS_InitServer Initializes the WFS library parent (server-side) context.
WFS_EndServer Terminates the WFS library parent (server-side) context.
WFS_RegisterServerTable Loads the ROM file table to be distributed and registers it with the server.
WFS_ExecuteRomServerThread Registers the ROM file table to be distributed and executes a thread for automatically responding to requests.

Hook

WFS_CallServerConnectHook Notifies the library that a new child (client) has connected.
WFS_CallServerDisconnectHook Notifies the library that a child (client) has disconnected.
WFS_CallServerPacketSendHook Gets MP communication packet data that needs to be sent to children (clients).
WFS_CallServerPacketRecvHook Analyzes MP communication packet data received from children (clients).

Settings

WFS_GetServerConnectedBitmap Gets the status of currently connected children (clients) as a bitmap.
WFS_GetServerBusyBitmap Gets the status of children (clients) currently issuing requests as a bitmap.
WFS_GetServerSyncBitmap Gets the status of children (clients) for which request-response synchronization is set as a bitmap.
WFS_GetServerPacketLength Gets the MP communication packet size of the parent (server).
WFS_SetServerPacketLength Sets the MP communication packet size of the parent (server).
WFS_SetServerSync Sets the synchronization group to use when a parent (server) responds to requests from children (clients).

Child (Client)

Initialization

WFS_InitClient Initializes the WFS library child (client) context.
WFS_EndClient Terminates the WFS library child (client) context.
WFS_StartClient Starts the child (client) communication process.

Hook

WFS_CallClientConnectHook Notifies the library that connection to the parent (server) has been established.
WFS_CallClientDisconnectHook Notifies the library that the connection to the parent (server) has ended.
WFS_CallClientPacketSendHook Gets MP communication packet data that needs to be sent to the parent (server).
WFS_CallClientPacketRecvHook Analyzes MP communication packet data received from the parent (server).

Operation

WFS_IsClientReady Determines whether the child (client) is ready.
WFS_GetTableFormat Accesses the ROM file table received from the parent (server).
WFS_RequestClientRead Issues a ROM read request to the parent (server).
WFS_GetClientReadProgress Gets the progress status of a ROM read request.
WFS_ReplaceRomArchive Directly mounts the WFS library to the "rom" archive of the FS library.

Types and Structures

WFSEventType Enumerated value indicating the various types of notification events of the WFS library.
WFSEventCallback The event notification callback function format for the WFS library.
WFSRequestClientReadDoneCallback The callback function format for the WFS_RequestClientRead function.
WFSPacketBuffer An argument structure used by the WFS library's hook functions.
WFSPeerInfo An argument structure used by the WFS library's hook functions.
WFSSegmentBuffer The argument structure used for WFS library event notifications.
WFSTableFormat This structure represents file table information to be retrieved by children (clients).

CONFIDENTIAL