Function SilcClientFileMonitor
SYNOPSIS
typedef void (*SilcClientFileMonitor)(SilcClient client,
SilcClientConnection conn,
SilcClientMonitorStatus status,
SilcClientFileError error,
SilcUInt64 offset,
SilcUInt64 filesize,
SilcClientEntry client_entry,
SilcUInt32 session_id,
const char *filepath,
void *context);
DESCRIPTION
Monitor callback that is called during the file transmission to
monitor the transmission process. The `status' indicates the current
monitoring process. The `error' will indicate the error type
if `status' is SILC_CLIENT_FILE_MONITOR_ERROR. The `offset' is the
currently transmitted amount of total `filesize'. The `client_entry'
indicates the remote client, and the transmission session ID is the
`session_id'. The filename being transmitted is indicated by the
`filepath'. The `conn' is NULL if the connection to remote client
does not exist yet.
|