home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / sqdev200.zip / samples / sstatp.h < prev   
C/C++ Source or Header  |  1994-05-23  |  954b  |  53 lines

  1.  
  2.  
  3. struct _nodtot
  4. {
  5.   NETADDR node;
  6.   double total_percent_bytes;   /* Amount this node pays of total bill.     */
  7.   double total_percent_msgs;    /* Amount this node pays of total bill.     */
  8.   struct _nodtot *next;
  9. };
  10.  
  11. struct _stlist
  12. {
  13.   NETADDR node;                 /* Address of this node                     */
  14.  
  15.   dword out_msgs;               /* Total # of msgs sent to this node        */
  16.   dword out_bytes;              /* Total # of bytes sent to this node       */
  17.   struct _stlist *next;
  18. };
  19.  
  20. struct _ahlist
  21. {
  22.   char tag[AH_TAGLEN];
  23.  
  24.   dword in_msgs;
  25.   dword in_bytes;
  26.  
  27.   dword total_out_bytes;
  28.   dword total_out_msgs;
  29.  
  30.   struct _stlist *slist;
  31.   struct _ahlist *next;
  32. };
  33.  
  34. struct _nodelist
  35. {
  36.   NETADDR n;
  37.   struct _nodelist *next;
  38. };
  39.  
  40. struct _arealist
  41. {
  42.   char *tag;
  43.   struct _arealist *next;
  44. };
  45.  
  46. static struct _sscfg
  47. {
  48.   struct _nodelist *node;
  49.   struct _arealist *area;
  50.   word do_all;
  51. };
  52.  
  53.