WBTCommand


C Specification

#include <nitro/wbt.h>

typedef struct {
  WBTCommandType command;
  WBTCommandType event;
  u16 target_bmp;
  u16 peer_bmp;
  WBTCommandCounter my_cmd_counter;
  WBTCommandCounter peer_cmd_counter; /* for debugging */
  WBTResult result;
  WBTCallback callback;
  union {
    WBTRequestSyncCallback     sync;
    WBTGetBlockDoneCallback    blockdone;
    WBTPrepareSendDataCallback prepare_send_data;
    WBTRecvUserDataCallback    user_data;
    WBTGetBlockCallback        get;
  };
} WBTCommand;
    

Description

A structure passed by all WBT callbacks.

Members

The details of each member are as follows.

See Also

WBTCallback

Revision History

09/21/2004 Initial version