home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Magic 1995 #1 / CDM_5.ISO / shell / mailers / im / imdev.arj / LASTCALL.INC < prev    next >
Encoding:
Text File  |  1994-01-25  |  2.3 KB  |  60 lines

  1. (*
  2. **  lastcall.inc (InterMail)
  3. **
  4. **  Copyright 1989-1994 InterZone Software, Inc. All rights reserved.
  5. **
  6. **  Record format for LASTCALL.IM, LASTCALL.002, etc. 
  7. **  (Last in/outbound call, recent activity)
  8. **
  9. **  Mail server #1 uses LASTCALL.IM, #2 uses LASTCALL.002, etc.
  10. **
  11. **  -------------------------------------------------------------------------
  12. **  This information is not necessarily final and is subject to change at any
  13. **  given time without further notice
  14. **  -------------------------------------------------------------------------
  15. *)
  16.  
  17. (*
  18. **  Recent activity (statistics) definitions.
  19. *)
  20.   type
  21.     activityrec = record
  22.         inbound,                    (* Inbound mail calls    *)
  23.         outbound,                   (* Outbound mail calls   *)
  24.         humans,                     (* BBS callers           *)
  25.         filesin,                    (* Received files        *)
  26.         filesout,                   (* Sent files            *)
  27.         goodsess,                   (* Successful sessions   *)
  28.         badsess,                    (* Failed sessions       *)
  29.         requests    : word;         (* # of requested files  *)
  30.         date,                       (* UNIX-style timestamp  *)
  31.         bytesin,                    (* Inbound (rcvd) bytes  *)
  32.         bytesout    : longint;      (* Outbound (sent) bytes *)
  33.       end;
  34.  
  35.     lastcallrec = record
  36.         name       : String[30];    (* System name           *)
  37.         location   : String[40];    (* System location       *)
  38.         zone       : word;          (* Node number           *)
  39.         net        : word;
  40.         node       : word;
  41.         point      : word;
  42.         time       : LongInt;       (* UNIX-style timestamp  *)
  43.       end;
  44.  
  45. (*
  46. **  The LASTCALL.IM file contains four records, two STATREC and two
  47. **  LASTCALL. Today's activity is moved to Yesterday's activity as soon
  48. **  as IM runs its 'after-midnight' internal event.
  49. *)
  50.   type
  51.     callstats = record
  52.         lastin,                        (* Last inbound mail call  *)
  53.         lastout : lastcallrec;         (* Last outbound mail call *)
  54.         today_act,                     (* Today's activity        *)
  55.         yesterday_act : activityrec;   (* Yesterday's activity    *)
  56.       end;
  57.  
  58. (* end of file "lastcall.inc" *)
  59.  
  60.