Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

148 lines
4.1 KiB

  1. /*
  2. * mibtsmi.nth v0.10
  3. * hostmsmi.h
  4. * Generated in conjunction with Management Factory scripts:
  5. * script version: SNMPv1, 0.16, Apr 25, 1996
  6. * project: D:\TEMP\EXAMPLE\HOSTMIB
  7. *
  8. ****************************************************************************
  9. * *
  10. * (C) Copyright 1995 DIGITAL EQUIPMENT CORPORATION *
  11. * *
  12. * This software is an unpublished work protected under the *
  13. * the copyright laws of the United States of America, all *
  14. * rights reserved. *
  15. * *
  16. * In the event this software is licensed for use by the United *
  17. * States Government, all use, duplication or disclosure by the *
  18. * United States Government is subject to restrictions as set *
  19. * forth in either subparagraph (c)(1)(ii) of the Rights in *
  20. * Technical Data And Computer Software Clause at DFARS *
  21. * 252.227-7013, or the Commercial Computer Software Restricted *
  22. * Rights Clause at FAR 52.221-19, whichever is applicable. *
  23. * *
  24. ****************************************************************************
  25. *
  26. * Facility:
  27. *
  28. * SNMP Extension Agent
  29. *
  30. * Abstract:
  31. *
  32. * This module contains the user defined type definitions.
  33. *
  34. * Author:
  35. *
  36. * David Burns @ Webenable Inc
  37. *
  38. * Date:
  39. *
  40. * Thu Nov 07 16:38:31 1996
  41. *
  42. * Revision History:
  43. * generated with v0.10 stub
  44. *
  45. */
  46. #if !defined(_HOSTMSMI_H_)
  47. #define _HOSTMSMI_H_
  48. #include <snmp.h>
  49. #include "smint.h"
  50. /*
  51. * Boolean ::= INTEGER a truth value
  52. */
  53. typedef enum
  54. {
  55. true = 1 ,
  56. false = 2
  57. } Boolean ;
  58. /*
  59. * KBytes ::= INTEGER (0..2147483647) memory size, expressed in units of
  60. * 1024 bytes
  61. */
  62. typedef Integer KBytes ;
  63. /*
  64. * INThrDeviceStatus ::= INTEGER
  65. */
  66. typedef enum
  67. {
  68. unknown0 = 1 ,
  69. running0 = 2 ,
  70. warning0 = 3 ,
  71. testing0 = 4 ,
  72. down0 = 5
  73. } INThrDeviceStatus ;
  74. /*
  75. * INThrPrinterStatus ::= INTEGER
  76. */
  77. typedef enum
  78. {
  79. other1 = 1 ,
  80. unknown1 = 2 ,
  81. idle1 = 3 ,
  82. printing1 = 4 ,
  83. warmup1 = 5
  84. } INThrPrinterStatus ;
  85. /*
  86. * INTAccess ::= INTEGER
  87. */
  88. typedef enum
  89. {
  90. readWrite = 1 ,
  91. readOnly = 2
  92. } INTAccess ;
  93. /*
  94. * INThrDiskStorageMedia ::= INTEGER
  95. */
  96. typedef enum
  97. {
  98. other = 1 ,
  99. unknown = 2 ,
  100. hardDisk = 3 ,
  101. floppyDisk = 4 ,
  102. opticalDiskROM = 5 ,
  103. opticalDiskWORM = 6 , /* Write once Read Many */
  104. opticalDiskRW = 7 ,
  105. ramDisk = 8
  106. } INThrDiskStorageMedia ;
  107. /*
  108. * INTSWType ::= INTEGER
  109. */
  110. typedef enum
  111. {
  112. unknown2 = 1 ,
  113. operatingSystem2 = 2 ,
  114. deviceDriver2 = 3 ,
  115. application2 = 4
  116. } INTSWType ;
  117. /*
  118. * INThrSWRunStatus ::= INTEGER
  119. */
  120. typedef enum
  121. {
  122. running = 2 ,
  123. runnable = 2 , /* waiting for resource (CPU, memory, IO) */
  124. notRunnable = 3 , /* loaded but waiting for event */
  125. invalid = 4 /* not loaded */
  126. } INThrSWRunStatus ;
  127. /*
  128. * DateAndTime ::= OCTET STRING (SIZE ( 8 | 11)) A date-time specification
  129. * for the local time of day. This data type is intended toprovide a consistent method of reporting
  130. * dat
  131. */
  132. typedef OctetString DateAndTime ;
  133. /*
  134. * InternationalDisplayString ::= OCTET STRING This data type is used to
  135. * model textual information in some character set. A network management station should use a local
  136. * algo
  137. */
  138. typedef OctetString InternationalDisplayString ;
  139. /*
  140. * ProductID ::= OBJECT IDENTIFIER This textual convention is intended to
  141. * identify the manufacturer, model, and version of a specific hardware or software
  142. * product.
  143. */
  144. typedef ObjectIdentifier ProductID ;
  145. #endif /*_HOSTMSMI_H_*/