Some overhauls of the modified replay code.
This commit is contained in:
@@ -193,6 +193,32 @@ struct EngineWrapper {
|
||||
//
|
||||
void (*replay_step)(EngineWrapper *w);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// CALLBACKS USED ONLY IN REPLAY MODE
|
||||
//
|
||||
// The driver can store function pointers here. If it does so, these
|
||||
// functions will get called during replay_step operations.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void (*replay_cb_sent_outgoing)(void *vp, int chid, int nbytes, const char *data);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// VOID POINTER USED IN REPLAY CALLBACKS
|
||||
//
|
||||
// The driver can store a void pointer here. This void pointer will get passed
|
||||
// to all the replay callbacks.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void *replay_cb_vp;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user