home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / 3COMM.ZIP / H.ZIP / NETSTATS.H < prev    next >
C/C++ Source or Header  |  1989-05-17  |  4KB  |  84 lines

  1. /********************************************************************
  2.  **                   Microsoft OS/2 LAN Manager                   **
  3.  **            Copyright(c) Microsoft Corp., 1987, 1988            **
  4.  ********************************************************************/
  5.  
  6. /********************************************************************
  7.  *                                    *
  8.  *  About this file ...  NETSTATS.H                    *
  9.  *                                    *
  10.  *  This file contains information about the NetStatistics APIs.    *
  11.  *                                    *
  12.  *    Function prototypes.                        *
  13.  *                                    *
  14.  *    Data structure templates.                    *
  15.  *                                    *
  16.  *    Definition of special values.                    *
  17.  *                                    *
  18.  *                                    *
  19.  *  NOTE:  You must include NETCONS.H before this file, since this  *
  20.  *       file    depends on values defined in NETCONS.H.            *
  21.  *                                    *
  22.  ********************************************************************/
  23.  
  24.  
  25. /**************************************************************** 
  26.  *                                *
  27.  *          Function prototypes                 *
  28.  *                                *
  29.  ****************************************************************/
  30.  
  31. extern API_FUNCTION
  32.   NetStatisticsClear ( const char far * );
  33.  
  34. extern API_FUNCTION
  35.   NetStatisticsGet ( const char far *, char far *, unsigned short,
  36.             unsigned short far *, unsigned short far *);
  37.  
  38. /**************************************************************** 
  39.  *                                *
  40.  *          Data structure templates            *
  41.  *                                *
  42.  ****************************************************************/
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49. struct statistics_info_0 {
  50.     unsigned long   st0_start;        /* time statistics collection started   */
  51.     unsigned long   st0_wknumNCBs;    /* # workstation NCBs issued            */
  52.     unsigned long   st0_wkfiNCBs;     /* # workstation NCBs failed issue      */
  53.     unsigned long   st0_wkfcNCBs;     /* # workstation NCBs failed completion */
  54.     unsigned long   st0_wksesstart;   /* # workstation sessions started       */
  55.     unsigned long   st0_wksessfail;   /* # workstation session failures       */
  56.     unsigned long   st0_wkuses;       /* # workstation uses                   */
  57.     unsigned long   st0_wkusefail;    /* # workstation use failures           */
  58.     unsigned long   st0_wkautorec;    /* # workstation auto-reconnects        */
  59.     unsigned long   st0_reserved1;    /* reserved for future use              */
  60.     unsigned long   st0_reserved2;    /* reserved for future use              */
  61.     unsigned long   st0_reserved3;    /* reserved for future use              */
  62.     unsigned long   st0_reserved4;    /* reserved for future use              */
  63.     unsigned long   st0_reserved5;    /* reserved for future use              */
  64.     unsigned long   st0_reserved6;    /* reserved for future use              */
  65.     unsigned long   st0_reserved7;    /* reserved for future use              */
  66.     unsigned long   st0_reserved8;    /* reserved for future use              */
  67.     unsigned long   st0_svfopens;     /* # of server file opens               */
  68.     unsigned long   st0_svdevopens;   /* # of server device opens             */
  69.     unsigned long   st0_svjobsqueued; /* # of server print jobs spooled       */
  70.     unsigned long   st0_svsopens;     /* # of server session starts           */
  71.     unsigned long   st0_svstimedout;  /* # of server session auto-disconnects */
  72.     unsigned long   st0_svserrorout;  /* # of server sessions errored out     */
  73.     unsigned long   st0_svpwerrors;   /* # of server password violations      */
  74.     unsigned long   st0_svpermerrors; /* # of server access permission errors */
  75.     unsigned long   st0_svsyserrors;  /* # of server system errors            */
  76.     unsigned long   st0_svbytessent;  /* # of server bytes sent to net        */
  77.     unsigned long   st0_svbytesrcvd;  /* # of server bytes received from net  */
  78.     unsigned long   st0_svavresponse; /* average server response time in msec */
  79. };  /* statistics_info */
  80.  
  81.  
  82.  
  83.  
  84.