librsync
2.3.4

stats reporting functions. More...
Go to the source code of this file.
Functions  
int  rs_log_stats (rs_stats_t const *stats) 
Write statistics into the current log as text. More...  
char *  rs_format_stats (rs_stats_t const *stats, char *buf, size_t size) 
Return a humanreadable representation of statistics. More...  
stats reporting functions.
Definition in file stats.c.
int rs_log_stats  (  rs_stats_t const *  stats  ) 
Write statistics into the current log as text.
char * rs_format_stats  (  rs_stats_t const *  stats, 
char *  buf,  
size_t  size  
) 
Return a humanreadable representation of statistics.
The string is truncated if it does not fit. 100 characters should be sufficient space.
stats  Statistics from an encoding or decoding operation. 
buf  Buffer to receive result. 
size  Size of buffer. 
buf
.