Lines Matching refs:WBTContext
144 struct WBTContext;
191 typedef struct WBTContext struct
235 WBTContext; argument
252 void WBT_InitContext(WBTContext *work, void *userdata, WBTEventCallback callback);
266 void WBT_StartParent(WBTContext *work, int own, int peer) in WBT_StartParent()
286 void WBT_StartChild(WBTContext *work, int aid) in WBT_StartChild()
303 void WBT_ResetContext(WBTContext *work, WBTEventCallback callback);
316 int WBT_CallPacketSendHook(WBTContext *work, void *buffer, int length, BOOL is_parent);
330 void WBT_CallPacketRecvHook(WBTContext *work, int aid, const void *buffer, int length);
342 void *WBT_GetUserData(const WBTContext *work) in WBT_GetUserData()
357 int WBT_GetAid(const WBTContext *work) in WBT_GetAid()
372 int WBT_GetOwnPacketLength(const WBTContext *work) in WBT_GetOwnPacketLength()
387 int WBT_GetPeerPacketLength(const WBTContext *work) in WBT_GetPeerPacketLength()
402 int WBT_GetParentPacketLength(const WBTContext *work) in WBT_GetParentPacketLength()
416 int WBT_GetRegisteredCount(const WBTContext * work);
428 WBTCommandList *WBT_GetCurrentCommandList(const WBTContext *work) in WBT_GetCurrentCommandList()
443 WBTCommand *WBT_GetCurrentCommand(const WBTContext *work) in WBT_GetCurrentCommand()
459 int WBT_GetBitmapLength(const WBTContext *work, int length);
473 void WBT_AddCommandPool(WBTContext *work, WBTCommandList *list, int count) in WBT_AddCommandPool()
492 WBTCommandList *WBT_AllocCommandList(WBTContext *work) in WBT_AllocCommandList()
515 BOOL WBT_SetPacketLength(WBTContext *work, int own, int peer);
528 void WBT_CreateCommandSYNC(WBTContext *work, WBTCommandList *list) in WBT_CreateCommandSYNC()
549 void WBT_CreateCommandINFO(WBTContext *work, WBTCommandList *list, in WBT_CreateCommandINFO()
583 void WBT_CreateCommandGET(WBTContext *work, WBTCommandList * list, in WBT_CreateCommandGET()
612 void WBT_CreateCommandMSG(WBTContext *work, WBTCommandList *list, in WBT_CreateCommandMSG()
636 void WBT_PostCommand(WBTContext *work, WBTCommandList *list, u16 bitmap,
651 BOOL WBT_PostCommandSYNC(WBTContext *context, int bitmap, WBTEventCallback callback) in WBT_PostCommandSYNC()
678 BOOL WBT_PostCommandINFO(WBTContext *context, int bitmap, WBTEventCallback callback, in WBT_PostCommandINFO()
708 BOOL WBT_PostCommandGET(WBTContext *context, int bitmap, WBTEventCallback callback, in WBT_PostCommandGET()
737 BOOL WBT_PostCommandMSG(WBTContext *context, int bitmap, WBTEventCallback callback, in WBT_PostCommandMSG()
759 int WBT_CancelCommand(WBTContext * work, int bitmap);
775 void WBT_GetDownloadProgress(const WBTContext * work, u32 id, int aid, int *current, int *total);
798 BOOL WBT_RegisterBlockInfo(WBTContext * work, WBTBlockInfoList *list, u32 id,
811 WBTBlockInfoList *WBT_UnregisterBlockInfo(WBTContext * work, u32 id);