|
void | ds_replay (recv_replay_t callback) |
| Replays all data in the current packet log file. More...
|
|
void | ds_replay_by_field (int fieldnum, char *value, recv_replay_t callback) |
| Replays all data in the current packet log file that arrived after an update with the specified value for the specified field. More...
|
|
int | ds_replay_by_field_from_file (int fieldnum, char *value, recv_replay_t callback, char *filename) |
| Replays all data in a file that arrived after an update with the specified value for the specified field. More...
|
|
void | ds_replay_by_field_from_log (int fieldnum, char *value, recv_replay_t callback, ds_log_t *log) |
| Replays all data in the log object that arrived after an update with the specified value for the specified field. More...
|
|
void | ds_replay_by_time (time_t t, recv_replay_t callback) |
| Replays all data in the current packet log file that arrived after a specified time. More...
|
|
int | ds_replay_by_time_from_file (time_t t, recv_replay_t callback, char *filename) |
| Replays all data in a file that arrived after a specified time. More...
|
|
void | ds_replay_by_time_from_log (time_t t, recv_replay_t callback, ds_log_t *log) |
| Replays all data in a log object that arrived after a specified time. More...
|
|
int | ds_replay_from_file (recv_replay_t callback, char *filename) |
| Replays all data in a file. More...
|
|
void | ds_replay_from_log (recv_replay_t callback, ds_log_t *log) |
| Replays all data in a packet log file. More...
|
|
The Replay API allows packets previously received to be replayed through the system from the log file.
Replays all data in the current packet log file.
- Parameters
-
callback | The function to receive all updates |
void ds_replay_by_field |
( |
int |
fieldnum, |
|
|
char * |
value, |
|
|
recv_replay_t |
callback |
|
) |
| |
Replays all data in the current packet log file that arrived after an update with the specified value for the specified field.
- Parameters
-
fieldnum | The field number to search for |
value | The field value to search for |
callback | The function to receive all updates |
int ds_replay_by_field_from_file |
( |
int |
fieldnum, |
|
|
char * |
value, |
|
|
recv_replay_t |
callback, |
|
|
char * |
filename |
|
) |
| |
Replays all data in a file that arrived after an update with the specified value for the specified field.
- Parameters
-
fieldnum | The field number to search for |
value | The field value to search for |
callback | The function to receive all updates |
filename | The filename to replay |
- Return values
-
0 | - File successfully replayed |
-1 | - Error, could not open file |
Replays all data in the log object that arrived after an update with the specified value for the specified field.
- Parameters
-
fieldnum | The field number to search for |
value | The field value to search for |
callback | The function to receive all updates |
log | The log object to replay |
- Return values
-
0 | - File successfully replayed |
-1 | - Error, could not open file |
Replays all data in the current packet log file that arrived after a specified time.
- Parameters
-
t | The time in seconds |
callback | The function to receive all updates |
int ds_replay_by_time_from_file |
( |
time_t |
t, |
|
|
recv_replay_t |
callback, |
|
|
char * |
filename |
|
) |
| |
Replays all data in a file that arrived after a specified time.
- Parameters
-
t | The time in seconds |
callback | The function to receive all updates |
filename | The file to replay |
- Return values
-
0 | - File successfully replayed |
-1 | - Error, could not open file |
Replays all data in a log object that arrived after a specified time.
- Parameters
-
t | The time in seconds |
callback | The function to receive all updates |
log | The log object to replay |
int ds_replay_from_file |
( |
recv_replay_t |
callback, |
|
|
char * |
filename |
|
) |
| |
Replays all data in a file.
- Parameters
-
callback | The function to receive all updates |
filename | The filename to replay |
- Return values
-
0 | - File successfully replayed |
-1 | - Error, could not open file |
Replays all data in a packet log file.
- Parameters
-
callback | The function to receive all updates |
log | The log object to replay |