home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / duucp-1.17 / AU-117b4-src.lha / src / uucico / xferstat.h < prev   
Encoding:
C/C++ Source or Header  |  1993-12-24  |  832 b   |  27 lines

  1. /* Original by Andrew Kopp, modified by John Bickers */
  2.  
  3. #ifndef EXEC_TYPES_H
  4. #include <exec/types.h>
  5. #endif
  6.  
  7. typedef struct XferStat {
  8.     ULONG   flags;
  9.     char    host[32];
  10.     UBYTE   proto[4];        /* more than we need    */
  11.     time_t  time_start;     /* time() enter proto    */
  12.     time_t  time_stop;        /* time() exit    proto    */
  13.  
  14.     ULONG   bytes_send;     /* total bytes we send    */
  15.     ULONG   bytes_recv;     /* total bytes we recv    */
  16.  
  17.     ULONG   files_send;     /* files we send    */
  18.     ULONG   files_recv;     /* files we recieve    */
  19.  
  20.     /* neato transfer calculation */
  21.     ULONG   fbytes_send;    /* bytes sent that were actual file data */
  22.     ULONG   fbytes_recv;    /* bytes recv that were actual file data */
  23. } XferStat;
  24.  
  25. #define XFERF_WRITTEN    1    /* output is written, new call need reset() */
  26. #define XFERF_OUTGOING    2    /* TRUE when we dialcall */
  27.