Functions | |
int | dl_savestate (DLCP *dlconn, const char *statefile) |
Save a DataLink connection state to a file. More... | |
int | dl_recoverstate (DLCP *dlconn, const char *statefile) |
Recover DataLink connection state from a file. More... | |
:
Routines to save and recover DataLink state information to/from a file.
modified: 2011.003
int dl_recoverstate | ( | DLCP * | dlconn, |
const char * | statefile | ||
) |
Recover DataLink connection state from a file.
Recover connection state from a state file and set the state parameters in a given DataLink Connection Paramters.
dlconn | DataLink Connection Parameters |
statefile | File to recover state from |
-1 | Error |
0 | Completed successfully |
1 | File could not be opened (probably not found) |
int dl_savestate | ( | DLCP * | dlconn, |
const char * | statefile | ||
) |
Save a DataLink connection state to a file.
Save the all the current the sequence numbers and time stamps into the given state file.
dlconn | DataLink Connection Parameters |
statefile | File to save state to |
-1 | Error |
0 | Completed successfully |