#include <nitro/wfs.h>
/* Event callback type */ typedef enum WFSEventType { /*** Event notified only to parent (server) ***/ WFS_EVENT_SERVER_SEGMENT_REQUEST, /* Read request from child/client (argument WFSSegmentBuffer*) */ /*** Event notified only to children (clients) ***/ WFS_EVENT_CLIENT_READY /* Reception of file table from parent (server) is complete */ } WFSEventType;
Represents the enumerator constants used to indicate WFS library events. The meaning of each enumerator constant is shown in the following table:
Event notified only to parent (server) | ||
Value | Description | Argument |
WFS_EVENT_SERVER_SEGMENT_REQUEST | This notification is made when a read request is issued by a child (client). The parent (server) must read data in the specified memory region from the device. |
Pointer to the WFSSegmentBuffer type used to maintain request contents. |
Event notified only to children (clients) | ||
Value | Description | Argument |
WFS_EVENT_CLIENT_READY | This notification is made when receiving the file table from the parent (server) completes. Once this notification is made, the file table can be accessed using the WFS_GetTableFormat function. |
There are no arguments. |
WFSEventCallback, WFSSegmentBuffer,
WFS_InitServer, WFS_InitClient, WFS_GetTableFormat, WFS_RequestClientRead
2007/06/11 Deleted WFS_EVENT_CLIENT_READ_COMPLETE
.
2007/06/06 Initial version.
CONFIDENTIAL