1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
#include <stdio.h>
#include "libxnee/xnee.h"
void
xnee_record_dispatch_external (XPointer xpoint_xnee_data,
XRecordInterceptData *data )
{
static int ctr=0;
if (++ctr%1000==0)
{
printf(" %d ", ctr);
fflush(stdout);
}
if ( (data==NULL) || (!data->data) )
{
xnee_process_count(XNEE_PROCESS_RESET);
return;
}
XRecordFreeData(data);
return;
}
void
xnee_replay_dispatch_external (XPointer type_ref, XRecordInterceptData *data)
{
static int ctr=0;
if (++ctr%1000==0)
{
printf(" %d ", ctr);
fflush(stdout);
}
if ( (data==NULL) || (!data->data) )
{
return;
}
XRecordFreeData(data);
return;
}
|