home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Interfaces&Libraries / OpenTransport / Open Tpt Module Developer / Includes / strstat.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-11-24  |  743 b   |  35 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        strstat.h
  3.  
  4.     Copyright:    © 1993-1996 by Mentat Inc., all rights reserved.
  5.  
  6. */
  7.  
  8. #ifndef __STRSTAT__
  9. #define __STRSTAT__
  10.  
  11. #ifndef __OPENTRANSPORT__
  12. #include <OpenTransport.h>
  13. #endif
  14.  
  15. #if PRAGMA_ALIGN_SUPPORTED
  16. #pragma options align=mac68k
  17. #endif
  18.  
  19. /* module statistics structure */
  20. struct    module_stat {
  21.     long    ms_pcnt;    /* count of calls to put proc */
  22.     long    ms_scnt;    /* count of calls to service proc */
  23.     long    ms_ocnt;    /* count of calls to open proc */
  24.     long    ms_ccnt;    /* count of calls to close proc */
  25.     long    ms_acnt;    /* count of calls to admin proc */
  26.     char*    ms_xptr;    /* pointer to private statistics */
  27.     short    ms_xsize;    /* length of private statistics buffer */
  28. };
  29.  
  30. #if PRAGMA_ALIGN_SUPPORTED
  31. #pragma options align=reset
  32. #endif
  33.  
  34. #endif
  35.