Source code of Windows XP (NT5)
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.

1430 lines
52 KiB

  1. /*
  2. * mib.h v0.10
  3. * Generated in conjunction with Management Factory scripts:
  4. * script version: SNMPv1, 0.16, Apr 25, 1996
  5. * project: D:\TEMP\EXAMPLE\HOSTMIB
  6. *
  7. ****************************************************************************
  8. * *
  9. * (C) Copyright 1995 DIGITAL EQUIPMENT CORPORATION *
  10. * *
  11. * This software is an unpublished work protected under the *
  12. * the copyright laws of the United States of America, all *
  13. * rights reserved. *
  14. * *
  15. * In the event this software is licensed for use by the United *
  16. * States Government, all use, duplication or disclosure by the *
  17. * United States Government is subject to restrictions as set *
  18. * forth in either subparagraph (c)(1)(ii) of the Rights in *
  19. * Technical Data And Computer Software Clause at DFARS *
  20. * 252.227-7013, or the Commercial Computer Software Restricted *
  21. * Rights Clause at FAR 52.221-19, whichever is applicable. *
  22. * *
  23. ****************************************************************************
  24. *
  25. * Facility:
  26. *
  27. * Windows NT SNMP Extension Agent
  28. *
  29. * Abstract:
  30. *
  31. * This module contains the definitions for the MIB generated by Agent
  32. * Factory. This module includes the definitions for attribute and class
  33. * codes, object identifiers, and the tables for each group or table in the
  34. * MIB.
  35. *
  36. * Author:
  37. *
  38. * David Burns @ Webenable Inc
  39. *
  40. * Date:
  41. *
  42. * Thu Nov 07 16:38:26 1996
  43. *
  44. * Revision History:
  45. *
  46. */
  47. #ifndef mib_h
  48. #define mib_h
  49. // Necessary includes.
  50. #include <snmp.h>
  51. #include "gennt.h"
  52. #include "smint.h"
  53. #include "hostmsmi.h"
  54. #define SUBROOT_LENGTH 7
  55. extern AsnObjectIdentifier Subroot_oid ;
  56. #define HOST_CODE 25
  57. #define HOST_SEQ MIB_2_SEQ, 25
  58. #define HOST_LENGTH ( MIB_2_LENGTH + 1 )
  59. #define HRSYSTEM_CODE 1
  60. #define HRSYSTEM_SEQ HOST_SEQ, 1
  61. #define HRSYSTEM_LENGTH ( HOST_LENGTH + 1 )
  62. #define HRSTORAGE_CODE 2
  63. #define HRSTORAGE_SEQ HOST_SEQ, 2
  64. #define HRSTORAGE_LENGTH ( HOST_LENGTH + 1 )
  65. #define HRDEVICE_CODE 3
  66. #define HRDEVICE_SEQ HOST_SEQ, 3
  67. #define HRDEVICE_LENGTH ( HOST_LENGTH + 1 )
  68. #define HRSWRUN_CODE 4
  69. #define HRSWRUN_SEQ HOST_SEQ, 4
  70. #define HRSWRUN_LENGTH ( HOST_LENGTH + 1 )
  71. #define HRSWRUNPERF_CODE 5
  72. #define HRSWRUNPERF_SEQ HOST_SEQ, 5
  73. #define HRSWRUNPERF_LENGTH ( HOST_LENGTH + 1 )
  74. #define HRSWINSTALLED_CODE 6
  75. #define HRSWINSTALLED_SEQ HOST_SEQ, 6
  76. #define HRSWINSTALLED_LENGTH ( HOST_LENGTH + 1 )
  77. #define HRSTORAGETABLE_CODE 3
  78. #define HRSTORAGETABLE_SEQ HRSTORAGE_SEQ, 3
  79. #define HRSTORAGETABLE_LENGTH ( HRSTORAGE_LENGTH + 1 )
  80. #define HRSTORAGEENTRY_CODE 1
  81. #define HRSTORAGEENTRY_SEQ HRSTORAGETABLE_SEQ, 1
  82. #define HRSTORAGEENTRY_LENGTH ( HRSTORAGETABLE_LENGTH + 1 )
  83. #define HRDEVICETABLE_CODE 2
  84. #define HRDEVICETABLE_SEQ HRDEVICE_SEQ, 2
  85. #define HRDEVICETABLE_LENGTH ( HRDEVICE_LENGTH + 1 )
  86. #define HRDEVICEENTRY_CODE 1
  87. #define HRDEVICEENTRY_SEQ HRDEVICETABLE_SEQ, 1
  88. #define HRDEVICEENTRY_LENGTH ( HRDEVICETABLE_LENGTH + 1 )
  89. #define HRNETWORKTABLE_CODE 4
  90. #define HRNETWORKTABLE_SEQ HRDEVICE_SEQ, 4
  91. #define HRNETWORKTABLE_LENGTH ( HRDEVICE_LENGTH + 1 )
  92. #define HRNETWORKENTRY_CODE 1
  93. #define HRNETWORKENTRY_SEQ HRNETWORKTABLE_SEQ, 1
  94. #define HRNETWORKENTRY_LENGTH ( HRNETWORKTABLE_LENGTH + 1 )
  95. #define HRPROCESSORTABLE_CODE 3
  96. #define HRPROCESSORTABLE_SEQ HRDEVICE_SEQ, 3
  97. #define HRPROCESSORTABLE_LENGTH ( HRDEVICE_LENGTH + 1 )
  98. #define HRPROCESSORENTRY_CODE 1
  99. #define HRPROCESSORENTRY_SEQ HRPROCESSORTABLE_SEQ, 1
  100. #define HRPROCESSORENTRY_LENGTH ( HRPROCESSORTABLE_LENGTH + 1 )
  101. #define HRPRINTERTABLE_CODE 5
  102. #define HRPRINTERTABLE_SEQ HRDEVICE_SEQ, 5
  103. #define HRPRINTERTABLE_LENGTH ( HRDEVICE_LENGTH + 1 )
  104. #define HRPRINTERENTRY_CODE 1
  105. #define HRPRINTERENTRY_SEQ HRPRINTERTABLE_SEQ, 1
  106. #define HRPRINTERENTRY_LENGTH ( HRPRINTERTABLE_LENGTH + 1 )
  107. #define HRDISKSTORAGETABLE_CODE 6
  108. #define HRDISKSTORAGETABLE_SEQ HRDEVICE_SEQ, 6
  109. #define HRDISKSTORAGETABLE_LENGTH ( HRDEVICE_LENGTH + 1 )
  110. #define HRDISKSTORAGEENTRY_CODE 1
  111. #define HRDISKSTORAGEENTRY_SEQ HRDISKSTORAGETABLE_SEQ, 1
  112. #define HRDISKSTORAGEENTRY_LENGTH ( HRDISKSTORAGETABLE_LENGTH + 1 )
  113. #define HRPARTITIONTABLE_CODE 7
  114. #define HRPARTITIONTABLE_SEQ HRDEVICE_SEQ, 7
  115. #define HRPARTITIONTABLE_LENGTH ( HRDEVICE_LENGTH + 1 )
  116. #define HRPARTITIONENTRY_CODE 1
  117. #define HRPARTITIONENTRY_SEQ HRPARTITIONTABLE_SEQ, 1
  118. #define HRPARTITIONENTRY_LENGTH ( HRPARTITIONTABLE_LENGTH + 1 )
  119. #define HRFSTABLE_CODE 8
  120. #define HRFSTABLE_SEQ HRDEVICE_SEQ, 8
  121. #define HRFSTABLE_LENGTH ( HRDEVICE_LENGTH + 1 )
  122. #define HRFSENTRY_CODE 1
  123. #define HRFSENTRY_SEQ HRFSTABLE_SEQ, 1
  124. #define HRFSENTRY_LENGTH ( HRFSTABLE_LENGTH + 1 )
  125. #define HRSWRUNTABLE_CODE 2
  126. #define HRSWRUNTABLE_SEQ HRSWRUN_SEQ, 2
  127. #define HRSWRUNTABLE_LENGTH ( HRSWRUN_LENGTH + 1 )
  128. #define HRSWRUNENTRY_CODE 1
  129. #define HRSWRUNENTRY_SEQ HRSWRUNTABLE_SEQ, 1
  130. #define HRSWRUNENTRY_LENGTH ( HRSWRUNTABLE_LENGTH + 1 )
  131. #define HRSWRUNPERFTABLE_CODE 1
  132. #define HRSWRUNPERFTABLE_SEQ HRSWRUNPERF_SEQ, 1
  133. #define HRSWRUNPERFTABLE_LENGTH ( HRSWRUNPERF_LENGTH + 1 )
  134. #define HRSWRUNPERFENTRY_CODE 1
  135. #define HRSWRUNPERFENTRY_SEQ HRSWRUNPERFTABLE_SEQ, 1
  136. #define HRSWRUNPERFENTRY_LENGTH ( HRSWRUNPERFTABLE_LENGTH + 1 )
  137. #define HRSWINSTALLEDTABLE_CODE 3
  138. #define HRSWINSTALLEDTABLE_SEQ HRSWINSTALLED_SEQ, 3
  139. #define HRSWINSTALLEDTABLE_LENGTH ( HRSWINSTALLED_LENGTH + 1 )
  140. #define HRSWINSTALLEDENTRY_CODE 1
  141. #define HRSWINSTALLEDENTRY_SEQ HRSWINSTALLEDTABLE_SEQ, 1
  142. #define HRSWINSTALLEDENTRY_LENGTH ( HRSWINSTALLEDTABLE_LENGTH + 1 )
  143. #define HRDEVICETYPES_CODE 1
  144. #define HRDEVICETYPES_SEQ HRDEVICE_SEQ, 1
  145. #define HRDEVICETYPES_LENGTH ( HRDEVICE_LENGTH + 1 )
  146. #define HRSTORAGETYPES_CODE 1
  147. #define HRSTORAGETYPES_SEQ HRSTORAGE_SEQ, 1
  148. #define HRSTORAGETYPES_LENGTH ( HRSTORAGE_LENGTH + 1 )
  149. #define HRFSTYPES_CODE 9
  150. #define HRFSTYPES_SEQ HRDEVICE_SEQ, 9
  151. #define HRFSTYPES_LENGTH ( HRDEVICE_LENGTH + 1 )
  152. extern AsnObjectIdentifier host_oid;
  153. extern AsnObjectIdentifier hrSystemUptime_oid;
  154. extern AsnObjectIdentifier hrSystemDate_oid;
  155. extern AsnObjectIdentifier hrSystemInitialLoadDevice_oid;
  156. extern AsnObjectIdentifier hrSystemInitialLoadParameters_oid;
  157. extern AsnObjectIdentifier hrSystemNumUsers_oid;
  158. extern AsnObjectIdentifier hrSystemProcesses_oid;
  159. extern AsnObjectIdentifier hrSystemMaxProcesses_oid;
  160. #define HRSYSTEMUPTIME_CODE 1
  161. #define HRSYSTEMUPTIME_SEQ HRSYSTEM_SEQ, 1
  162. #define HRSYSTEMUPTIME_LENGTH ( HRSYSTEM_LENGTH + 1 )
  163. #define HRSYSTEMDATE_CODE 2
  164. #define HRSYSTEMDATE_SEQ HRSYSTEM_SEQ, 2
  165. #define HRSYSTEMDATE_LENGTH ( HRSYSTEM_LENGTH + 1 )
  166. #define HRSYSTEMINITIALLOADDEVICE_CODE 3
  167. #define HRSYSTEMINITIALLOADDEVICE_SEQ HRSYSTEM_SEQ, 3
  168. #define HRSYSTEMINITIALLOADDEVICE_LENGTH ( HRSYSTEM_LENGTH + 1 )
  169. #define HRSYSTEMINITIALLOADPARAMETERS_CODE 4
  170. #define HRSYSTEMINITIALLOADPARAMETERS_SEQ HRSYSTEM_SEQ, 4
  171. #define HRSYSTEMINITIALLOADPARAMETERS_LENGTH ( HRSYSTEM_LENGTH + 1 )
  172. #define HRSYSTEMNUMUSERS_CODE 5
  173. #define HRSYSTEMNUMUSERS_SEQ HRSYSTEM_SEQ, 5
  174. #define HRSYSTEMNUMUSERS_LENGTH ( HRSYSTEM_LENGTH + 1 )
  175. #define HRSYSTEMPROCESSES_CODE 6
  176. #define HRSYSTEMPROCESSES_SEQ HRSYSTEM_SEQ, 6
  177. #define HRSYSTEMPROCESSES_LENGTH ( HRSYSTEM_LENGTH + 1 )
  178. #define HRSYSTEMMAXPROCESSES_CODE 7
  179. #define HRSYSTEMMAXPROCESSES_SEQ HRSYSTEM_SEQ, 7
  180. #define HRSYSTEMMAXPROCESSES_LENGTH ( HRSYSTEM_LENGTH + 1 )
  181. #define HRSYSTEM_VAR_INDEX ( HRSYSTEM_LENGTH + 1 )
  182. #define MIN_HRSYSTEM_CODE 1
  183. #define MAX_HRSYSTEM_CODE 7
  184. extern AsnObjectIdentifier hrSystem_oid;
  185. extern AsnObjectIdentifier hrMemorySize_oid;
  186. #define HRMEMORYSIZE_CODE 2
  187. #define HRMEMORYSIZE_SEQ HRSTORAGE_SEQ, 2
  188. #define HRMEMORYSIZE_LENGTH ( HRSTORAGE_LENGTH + 1 )
  189. #define HRSTORAGE_VAR_INDEX ( HRSTORAGE_LENGTH + 1 )
  190. #define MIN_HRSTORAGE_CODE 2
  191. #define MAX_HRSTORAGE_CODE 2
  192. extern AsnObjectIdentifier hrStorage_oid;
  193. extern AsnObjectIdentifier hrStorageOther_oid;
  194. extern AsnObjectIdentifier hrStorageRAM_oid;
  195. extern AsnObjectIdentifier hrStorageVirtualMemory_oid;
  196. extern AsnObjectIdentifier hrStorageFixedDisk_oid;
  197. extern AsnObjectIdentifier hrStorageRemovableDisk_oid;
  198. extern AsnObjectIdentifier hrStorageFloppyDisk_oid;
  199. extern AsnObjectIdentifier hrStorageCompactDisk_oid;
  200. extern AsnObjectIdentifier hrStorageRamDisk_oid;
  201. #define HRSTORAGEOTHER_CODE 1
  202. #define HRSTORAGEOTHER_SEQ HRSTORAGETYPES_SEQ, 1
  203. #define HRSTORAGEOTHER_LENGTH ( HRSTORAGETYPES_LENGTH + 1 )
  204. #define HRSTORAGERAM_CODE 2
  205. #define HRSTORAGERAM_SEQ HRSTORAGETYPES_SEQ, 2
  206. #define HRSTORAGERAM_LENGTH ( HRSTORAGETYPES_LENGTH + 1 )
  207. #define HRSTORAGEVIRTUALMEMORY_CODE 3
  208. #define HRSTORAGEVIRTUALMEMORY_SEQ HRSTORAGETYPES_SEQ, 3
  209. #define HRSTORAGEVIRTUALMEMORY_LENGTH ( HRSTORAGETYPES_LENGTH + 1 )
  210. #define HRSTORAGEFIXEDDISK_CODE 4
  211. #define HRSTORAGEFIXEDDISK_SEQ HRSTORAGETYPES_SEQ, 4
  212. #define HRSTORAGEFIXEDDISK_LENGTH ( HRSTORAGETYPES_LENGTH + 1 )
  213. #define HRSTORAGEREMOVABLEDISK_CODE 5
  214. #define HRSTORAGEREMOVABLEDISK_SEQ HRSTORAGETYPES_SEQ, 5
  215. #define HRSTORAGEREMOVABLEDISK_LENGTH ( HRSTORAGETYPES_LENGTH + 1 )
  216. #define HRSTORAGEFLOPPYDISK_CODE 6
  217. #define HRSTORAGEFLOPPYDISK_SEQ HRSTORAGETYPES_SEQ, 6
  218. #define HRSTORAGEFLOPPYDISK_LENGTH ( HRSTORAGETYPES_LENGTH + 1 )
  219. #define HRSTORAGECOMPACTDISK_CODE 7
  220. #define HRSTORAGECOMPACTDISK_SEQ HRSTORAGETYPES_SEQ, 7
  221. #define HRSTORAGECOMPACTDISK_LENGTH ( HRSTORAGETYPES_LENGTH + 1 )
  222. #define HRSTORAGERAMDISK_CODE 8
  223. #define HRSTORAGERAMDISK_SEQ HRSTORAGETYPES_SEQ, 8
  224. #define HRSTORAGERAMDISK_LENGTH ( HRSTORAGETYPES_LENGTH + 1 )
  225. extern AsnObjectIdentifier hrStorageTypes_oid;
  226. extern AsnObjectIdentifier hrStorageIndex_oid;
  227. extern AsnObjectIdentifier hrStorageType_oid;
  228. extern AsnObjectIdentifier hrStorageDesc_oid;
  229. extern AsnObjectIdentifier hrStorageAllocationUnits_oid;
  230. extern AsnObjectIdentifier hrStorageSize_oid;
  231. extern AsnObjectIdentifier hrStorageUsed_oid;
  232. extern AsnObjectIdentifier hrStorageAllocationFailures_oid;
  233. #define HRSTORAGEINDEX_CODE 1
  234. #define HRSTORAGEINDEX_SEQ HRSTORAGEENTRY_SEQ, 1
  235. #define HRSTORAGEINDEX_LENGTH ( HRSTORAGEENTRY_LENGTH + 1 )
  236. #define HRSTORAGETYPE_CODE 2
  237. #define HRSTORAGETYPE_SEQ HRSTORAGEENTRY_SEQ, 2
  238. #define HRSTORAGETYPE_LENGTH ( HRSTORAGEENTRY_LENGTH + 1 )
  239. #define HRSTORAGEDESC_CODE 3
  240. #define HRSTORAGEDESC_SEQ HRSTORAGEENTRY_SEQ, 3
  241. #define HRSTORAGEDESC_LENGTH ( HRSTORAGEENTRY_LENGTH + 1 )
  242. #define HRSTORAGEALLOCATIONUNITS_CODE 4
  243. #define HRSTORAGEALLOCATIONUNITS_SEQ HRSTORAGEENTRY_SEQ, 4
  244. #define HRSTORAGEALLOCATIONUNITS_LENGTH ( HRSTORAGEENTRY_LENGTH + 1 )
  245. #define HRSTORAGESIZE_CODE 5
  246. #define HRSTORAGESIZE_SEQ HRSTORAGEENTRY_SEQ, 5
  247. #define HRSTORAGESIZE_LENGTH ( HRSTORAGEENTRY_LENGTH + 1 )
  248. #define HRSTORAGEUSED_CODE 6
  249. #define HRSTORAGEUSED_SEQ HRSTORAGEENTRY_SEQ, 6
  250. #define HRSTORAGEUSED_LENGTH ( HRSTORAGEENTRY_LENGTH + 1 )
  251. #define HRSTORAGEALLOCATIONFAILURES_CODE 7
  252. #define HRSTORAGEALLOCATIONFAILURES_SEQ HRSTORAGEENTRY_SEQ, 7
  253. #define HRSTORAGEALLOCATIONFAILURES_LENGTH ( HRSTORAGEENTRY_LENGTH + 1 )
  254. #define HRSTORAGEENTRY_VAR_INDEX ( HRSTORAGEENTRY_LENGTH + 1 )
  255. #define MIN_HRSTORAGEENTRY_CODE 1
  256. #define MAX_HRSTORAGEENTRY_CODE 7
  257. extern AsnObjectIdentifier hrStorageEntry_oid;
  258. #define HRDEVICE_VAR_INDEX ( HRDEVICE_LENGTH + 1 )
  259. extern AsnObjectIdentifier hrDeviceOther_oid;
  260. extern AsnObjectIdentifier hrDeviceUnknown_oid;
  261. extern AsnObjectIdentifier hrDeviceProcessor_oid;
  262. extern AsnObjectIdentifier hrDeviceNetwork_oid;
  263. extern AsnObjectIdentifier hrDevicePrinter_oid;
  264. extern AsnObjectIdentifier hrDeviceDiskStorage_oid;
  265. extern AsnObjectIdentifier hrDeviceVideo_oid;
  266. extern AsnObjectIdentifier hrDeviceAudio_oid;
  267. extern AsnObjectIdentifier hrDeviceCoprocessor_oid;
  268. extern AsnObjectIdentifier hrDeviceKeyboard_oid;
  269. extern AsnObjectIdentifier hrDeviceModem_oid;
  270. extern AsnObjectIdentifier hrDeviceParallelPort_oid;
  271. extern AsnObjectIdentifier hrDevicePointing_oid;
  272. extern AsnObjectIdentifier hrDeviceSerialPort_oid;
  273. extern AsnObjectIdentifier hrDeviceTape_oid;
  274. extern AsnObjectIdentifier hrDeviceClock_oid;
  275. extern AsnObjectIdentifier hrDeviceVolatileMemory_oid;
  276. extern AsnObjectIdentifier hrDeviceNonVolatileMemory_oid;
  277. #define HRDEVICEOTHER_CODE 1
  278. #define HRDEVICEOTHER_SEQ HRDEVICETYPES_SEQ, 1
  279. #define HRDEVICEOTHER_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  280. #define HRDEVICEUNKNOWN_CODE 2
  281. #define HRDEVICEUNKNOWN_SEQ HRDEVICETYPES_SEQ, 2
  282. #define HRDEVICEUNKNOWN_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  283. #define HRDEVICEPROCESSOR_CODE 3
  284. #define HRDEVICEPROCESSOR_SEQ HRDEVICETYPES_SEQ, 3
  285. #define HRDEVICEPROCESSOR_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  286. #define HRDEVICENETWORK_CODE 4
  287. #define HRDEVICENETWORK_SEQ HRDEVICETYPES_SEQ, 4
  288. #define HRDEVICENETWORK_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  289. #define HRDEVICEPRINTER_CODE 5
  290. #define HRDEVICEPRINTER_SEQ HRDEVICETYPES_SEQ, 5
  291. #define HRDEVICEPRINTER_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  292. #define HRDEVICEDISKSTORAGE_CODE 6
  293. #define HRDEVICEDISKSTORAGE_SEQ HRDEVICETYPES_SEQ, 6
  294. #define HRDEVICEDISKSTORAGE_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  295. #define HRDEVICEVIDEO_CODE 10
  296. #define HRDEVICEVIDEO_SEQ HRDEVICETYPES_SEQ, 10
  297. #define HRDEVICEVIDEO_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  298. #define HRDEVICEAUDIO_CODE 11
  299. #define HRDEVICEAUDIO_SEQ HRDEVICETYPES_SEQ, 11
  300. #define HRDEVICEAUDIO_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  301. #define HRDEVICECOPROCESSOR_CODE 12
  302. #define HRDEVICECOPROCESSOR_SEQ HRDEVICETYPES_SEQ, 12
  303. #define HRDEVICECOPROCESSOR_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  304. #define HRDEVICEKEYBOARD_CODE 13
  305. #define HRDEVICEKEYBOARD_SEQ HRDEVICETYPES_SEQ, 13
  306. #define HRDEVICEKEYBOARD_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  307. #define HRDEVICEMODEM_CODE 14
  308. #define HRDEVICEMODEM_SEQ HRDEVICETYPES_SEQ, 14
  309. #define HRDEVICEMODEM_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  310. #define HRDEVICEPARALLELPORT_CODE 15
  311. #define HRDEVICEPARALLELPORT_SEQ HRDEVICETYPES_SEQ, 15
  312. #define HRDEVICEPARALLELPORT_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  313. #define HRDEVICEPOINTING_CODE 16
  314. #define HRDEVICEPOINTING_SEQ HRDEVICETYPES_SEQ, 16
  315. #define HRDEVICEPOINTING_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  316. #define HRDEVICESERIALPORT_CODE 17
  317. #define HRDEVICESERIALPORT_SEQ HRDEVICETYPES_SEQ, 17
  318. #define HRDEVICESERIALPORT_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  319. #define HRDEVICETAPE_CODE 18
  320. #define HRDEVICETAPE_SEQ HRDEVICETYPES_SEQ, 18
  321. #define HRDEVICETAPE_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  322. #define HRDEVICECLOCK_CODE 19
  323. #define HRDEVICECLOCK_SEQ HRDEVICETYPES_SEQ, 19
  324. #define HRDEVICECLOCK_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  325. #define HRDEVICEVOLATILEMEMORY_CODE 20
  326. #define HRDEVICEVOLATILEMEMORY_SEQ HRDEVICETYPES_SEQ, 20
  327. #define HRDEVICEVOLATILEMEMORY_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  328. #define HRDEVICENONVOLATILEMEMORY_CODE 21
  329. #define HRDEVICENONVOLATILEMEMORY_SEQ HRDEVICETYPES_SEQ, 21
  330. #define HRDEVICENONVOLATILEMEMORY_LENGTH ( HRDEVICETYPES_LENGTH + 1 )
  331. extern AsnObjectIdentifier hrDeviceTypes_oid;
  332. extern AsnObjectIdentifier hrDeviceIndex_oid;
  333. extern AsnObjectIdentifier hrDeviceType_oid;
  334. extern AsnObjectIdentifier hrDeviceDesc_oid;
  335. extern AsnObjectIdentifier hrDeviceID_oid;
  336. extern AsnObjectIdentifier hrDeviceStatus_oid;
  337. extern AsnObjectIdentifier hrDeviceErrors_oid;
  338. #define HRDEVICETYPE_CODE 2
  339. #define HRDEVICETYPE_SEQ HRDEVICEENTRY_SEQ, 2
  340. #define HRDEVICETYPE_LENGTH ( HRDEVICEENTRY_LENGTH + 1 )
  341. #define HRDEVICEDESC_CODE 3
  342. #define HRDEVICEDESC_SEQ HRDEVICEENTRY_SEQ, 3
  343. #define HRDEVICEDESC_LENGTH ( HRDEVICEENTRY_LENGTH + 1 )
  344. #define HRDEVICEID_CODE 4
  345. #define HRDEVICEID_SEQ HRDEVICEENTRY_SEQ, 4
  346. #define HRDEVICEID_LENGTH ( HRDEVICEENTRY_LENGTH + 1 )
  347. #define HRDEVICESTATUS_CODE 5
  348. #define HRDEVICESTATUS_SEQ HRDEVICEENTRY_SEQ, 5
  349. #define HRDEVICESTATUS_LENGTH ( HRDEVICEENTRY_LENGTH + 1 )
  350. #define HRDEVICEERRORS_CODE 6
  351. #define HRDEVICEERRORS_SEQ HRDEVICEENTRY_SEQ, 6
  352. #define HRDEVICEERRORS_LENGTH ( HRDEVICEENTRY_LENGTH + 1 )
  353. #define HRDEVICEINDEX_CODE 1
  354. #define HRDEVICEINDEX_SEQ HRDEVICEENTRY_SEQ, 1
  355. #define HRDEVICEINDEX_LENGTH ( HRDEVICEENTRY_LENGTH + 1 )
  356. #define HRDEVICEENTRY_VAR_INDEX ( HRDEVICEENTRY_LENGTH + 1 )
  357. #define MIN_HRDEVICEENTRY_CODE 1
  358. #define MAX_HRDEVICEENTRY_CODE 6
  359. extern AsnObjectIdentifier hrDeviceEntry_oid;
  360. extern AsnObjectIdentifier hrProcessorFrwID_oid;
  361. extern AsnObjectIdentifier hrProcessorLoad_oid;
  362. #define HRPROCESSORFRWID_CODE 1
  363. #define HRPROCESSORFRWID_SEQ HRPROCESSORENTRY_SEQ, 1
  364. #define HRPROCESSORFRWID_LENGTH ( HRPROCESSORENTRY_LENGTH + 1 )
  365. #define HRPROCESSORLOAD_CODE 2
  366. #define HRPROCESSORLOAD_SEQ HRPROCESSORENTRY_SEQ, 2
  367. #define HRPROCESSORLOAD_LENGTH ( HRPROCESSORENTRY_LENGTH + 1 )
  368. #define HRPROCESSORENTRY_VAR_INDEX ( HRPROCESSORENTRY_LENGTH + 1 )
  369. #define MIN_HRPROCESSORENTRY_CODE 1
  370. #define MAX_HRPROCESSORENTRY_CODE 2
  371. extern AsnObjectIdentifier hrProcessorEntry_oid;
  372. extern AsnObjectIdentifier hrNetworkIfIndex_oid;
  373. #define HRNETWORKIFINDEX_CODE 1
  374. #define HRNETWORKIFINDEX_SEQ HRNETWORKENTRY_SEQ, 1
  375. #define HRNETWORKIFINDEX_LENGTH ( HRNETWORKENTRY_LENGTH + 1 )
  376. #define HRNETWORKENTRY_VAR_INDEX ( HRNETWORKENTRY_LENGTH + 1 )
  377. #define MIN_HRNETWORKENTRY_CODE 1
  378. #define MAX_HRNETWORKENTRY_CODE 1
  379. extern AsnObjectIdentifier hrNetworkEntry_oid;
  380. extern AsnObjectIdentifier hrPrinterStatus_oid;
  381. extern AsnObjectIdentifier hrPrinterDetectedErrorState_oid;
  382. #define HRPRINTERSTATUS_CODE 1
  383. #define HRPRINTERSTATUS_SEQ HRPRINTERENTRY_SEQ, 1
  384. #define HRPRINTERSTATUS_LENGTH ( HRPRINTERENTRY_LENGTH + 1 )
  385. #define HRPRINTERDETECTEDERRORSTATE_CODE 2
  386. #define HRPRINTERDETECTEDERRORSTATE_SEQ HRPRINTERENTRY_SEQ, 2
  387. #define HRPRINTERDETECTEDERRORSTATE_LENGTH ( HRPRINTERENTRY_LENGTH + 1 )
  388. #define HRPRINTERENTRY_VAR_INDEX ( HRPRINTERENTRY_LENGTH + 1 )
  389. #define MIN_HRPRINTERENTRY_CODE 1
  390. #define MAX_HRPRINTERENTRY_CODE 2
  391. extern AsnObjectIdentifier hrPrinterEntry_oid;
  392. extern AsnObjectIdentifier hrDiskStorageAccess_oid;
  393. extern AsnObjectIdentifier hrDiskStorageMedia_oid;
  394. extern AsnObjectIdentifier hrDiskStorageRemoveble_oid;
  395. extern AsnObjectIdentifier hrDiskStorageCapacity_oid;
  396. #define HRDISKSTORAGEACCESS_CODE 1
  397. #define HRDISKSTORAGEACCESS_SEQ HRDISKSTORAGEENTRY_SEQ, 1
  398. #define HRDISKSTORAGEACCESS_LENGTH ( HRDISKSTORAGEENTRY_LENGTH + 1 )
  399. #define HRDISKSTORAGEMEDIA_CODE 2
  400. #define HRDISKSTORAGEMEDIA_SEQ HRDISKSTORAGEENTRY_SEQ, 2
  401. #define HRDISKSTORAGEMEDIA_LENGTH ( HRDISKSTORAGEENTRY_LENGTH + 1 )
  402. #define HRDISKSTORAGEREMOVEBLE_CODE 3
  403. #define HRDISKSTORAGEREMOVEBLE_SEQ HRDISKSTORAGEENTRY_SEQ, 3
  404. #define HRDISKSTORAGEREMOVEBLE_LENGTH ( HRDISKSTORAGEENTRY_LENGTH + 1 )
  405. #define HRDISKSTORAGECAPACITY_CODE 4
  406. #define HRDISKSTORAGECAPACITY_SEQ HRDISKSTORAGEENTRY_SEQ, 4
  407. #define HRDISKSTORAGECAPACITY_LENGTH ( HRDISKSTORAGEENTRY_LENGTH + 1 )
  408. #define HRDISKSTORAGEENTRY_VAR_INDEX ( HRDISKSTORAGEENTRY_LENGTH + 1 )
  409. #define MIN_HRDISKSTORAGEENTRY_CODE 1
  410. #define MAX_HRDISKSTORAGEENTRY_CODE 4
  411. extern AsnObjectIdentifier hrDiskStorageEntry_oid;
  412. extern AsnObjectIdentifier hrPartitionIndex_oid;
  413. extern AsnObjectIdentifier hrPartitionLabel_oid;
  414. extern AsnObjectIdentifier hrPartitionID_oid;
  415. extern AsnObjectIdentifier hrPartitionSize_oid;
  416. extern AsnObjectIdentifier hrPartitionFSIndex_oid;
  417. #define HRPARTITIONINDEX_CODE 1
  418. #define HRPARTITIONINDEX_SEQ HRPARTITIONENTRY_SEQ, 1
  419. #define HRPARTITIONINDEX_LENGTH ( HRPARTITIONENTRY_LENGTH + 1 )
  420. #define HRPARTITIONLABEL_CODE 2
  421. #define HRPARTITIONLABEL_SEQ HRPARTITIONENTRY_SEQ, 2
  422. #define HRPARTITIONLABEL_LENGTH ( HRPARTITIONENTRY_LENGTH + 1 )
  423. #define HRPARTITIONID_CODE 3
  424. #define HRPARTITIONID_SEQ HRPARTITIONENTRY_SEQ, 3
  425. #define HRPARTITIONID_LENGTH ( HRPARTITIONENTRY_LENGTH + 1 )
  426. #define HRPARTITIONSIZE_CODE 4
  427. #define HRPARTITIONSIZE_SEQ HRPARTITIONENTRY_SEQ, 4
  428. #define HRPARTITIONSIZE_LENGTH ( HRPARTITIONENTRY_LENGTH + 1 )
  429. #define HRPARTITIONFSINDEX_CODE 5
  430. #define HRPARTITIONFSINDEX_SEQ HRPARTITIONENTRY_SEQ, 5
  431. #define HRPARTITIONFSINDEX_LENGTH ( HRPARTITIONENTRY_LENGTH + 1 )
  432. #define HRPARTITIONENTRY_VAR_INDEX ( HRPARTITIONENTRY_LENGTH + 1 )
  433. #define MIN_HRPARTITIONENTRY_CODE 1
  434. #define MAX_HRPARTITIONENTRY_CODE 5
  435. extern AsnObjectIdentifier hrPartitionEntry_oid;
  436. extern AsnObjectIdentifier hrFSIndex_oid;
  437. extern AsnObjectIdentifier hrFSMountPoint_oid;
  438. extern AsnObjectIdentifier hrFSRemoteMountPoint_oid;
  439. extern AsnObjectIdentifier hrFSType_oid;
  440. extern AsnObjectIdentifier hrFSAccess_oid;
  441. extern AsnObjectIdentifier hrFSBootable_oid;
  442. extern AsnObjectIdentifier hrFSStorageIndex_oid;
  443. extern AsnObjectIdentifier hrFSLastFullBackupDate_oid;
  444. extern AsnObjectIdentifier hrFSLastPartialBackupDate_oid;
  445. #define HRFSINDEX_CODE 1
  446. #define HRFSINDEX_SEQ HRFSENTRY_SEQ, 1
  447. #define HRFSINDEX_LENGTH ( HRFSENTRY_LENGTH + 1 )
  448. #define HRFSMOUNTPOINT_CODE 2
  449. #define HRFSMOUNTPOINT_SEQ HRFSENTRY_SEQ, 2
  450. #define HRFSMOUNTPOINT_LENGTH ( HRFSENTRY_LENGTH + 1 )
  451. #define HRFSREMOTEMOUNTPOINT_CODE 3
  452. #define HRFSREMOTEMOUNTPOINT_SEQ HRFSENTRY_SEQ, 3
  453. #define HRFSREMOTEMOUNTPOINT_LENGTH ( HRFSENTRY_LENGTH + 1 )
  454. #define HRFSTYPE_CODE 4
  455. #define HRFSTYPE_SEQ HRFSENTRY_SEQ, 4
  456. #define HRFSTYPE_LENGTH ( HRFSENTRY_LENGTH + 1 )
  457. #define HRFSACCESS_CODE 5
  458. #define HRFSACCESS_SEQ HRFSENTRY_SEQ, 5
  459. #define HRFSACCESS_LENGTH ( HRFSENTRY_LENGTH + 1 )
  460. #define HRFSBOOTABLE_CODE 6
  461. #define HRFSBOOTABLE_SEQ HRFSENTRY_SEQ, 6
  462. #define HRFSBOOTABLE_LENGTH ( HRFSENTRY_LENGTH + 1 )
  463. #define HRFSSTORAGEINDEX_CODE 7
  464. #define HRFSSTORAGEINDEX_SEQ HRFSENTRY_SEQ, 7
  465. #define HRFSSTORAGEINDEX_LENGTH ( HRFSENTRY_LENGTH + 1 )
  466. #define HRFSLASTFULLBACKUPDATE_CODE 8
  467. #define HRFSLASTFULLBACKUPDATE_SEQ HRFSENTRY_SEQ, 8
  468. #define HRFSLASTFULLBACKUPDATE_LENGTH ( HRFSENTRY_LENGTH + 1 )
  469. #define HRFSLASTPARTIALBACKUPDATE_CODE 9
  470. #define HRFSLASTPARTIALBACKUPDATE_SEQ HRFSENTRY_SEQ, 9
  471. #define HRFSLASTPARTIALBACKUPDATE_LENGTH ( HRFSENTRY_LENGTH + 1 )
  472. #define HRFSENTRY_VAR_INDEX ( HRFSENTRY_LENGTH + 1 )
  473. #define MIN_HRFSENTRY_CODE 1
  474. #define MAX_HRFSENTRY_CODE 9
  475. extern AsnObjectIdentifier hrFSEntry_oid;
  476. extern AsnObjectIdentifier hrFSOther_oid;
  477. extern AsnObjectIdentifier hrFSUnknown_oid;
  478. extern AsnObjectIdentifier hrFSBerkeleyFFS_oid;
  479. extern AsnObjectIdentifier hrFSSys5FS_oid;
  480. extern AsnObjectIdentifier hrFSFat_oid;
  481. extern AsnObjectIdentifier hrFSHPFS_oid;
  482. extern AsnObjectIdentifier hrFSHFS_oid;
  483. extern AsnObjectIdentifier hrFSMFS_oid;
  484. extern AsnObjectIdentifier hrFSNTFS_oid;
  485. extern AsnObjectIdentifier hrFSVNode_oid;
  486. extern AsnObjectIdentifier hrFSJournaled_oid;
  487. extern AsnObjectIdentifier hrFSiso9660_oid;
  488. extern AsnObjectIdentifier hrFSRockRidge_oid;
  489. extern AsnObjectIdentifier hrFSNFS_oid;
  490. extern AsnObjectIdentifier hrFSNetware_oid;
  491. extern AsnObjectIdentifier hrFSAFS_oid;
  492. extern AsnObjectIdentifier hrFSDFS_oid;
  493. extern AsnObjectIdentifier hrFSApplshare_oid;
  494. extern AsnObjectIdentifier hrFSRFS_oid;
  495. extern AsnObjectIdentifier hrFSDGFS_oid;
  496. extern AsnObjectIdentifier hrFSBFS_oid;
  497. #define HRFSOTHER_CODE 1
  498. #define HRFSOTHER_SEQ HRFSTYPES_SEQ, 1
  499. #define HRFSOTHER_LENGTH ( HRFSTYPES_LENGTH + 1 )
  500. #define HRFSUNKNOWN_CODE 2
  501. #define HRFSUNKNOWN_SEQ HRFSTYPES_SEQ, 2
  502. #define HRFSUNKNOWN_LENGTH ( HRFSTYPES_LENGTH + 1 )
  503. #define HRFSBERKELEYFFS_CODE 3
  504. #define HRFSBERKELEYFFS_SEQ HRFSTYPES_SEQ, 3
  505. #define HRFSBERKELEYFFS_LENGTH ( HRFSTYPES_LENGTH + 1 )
  506. #define HRFSSYS5FS_CODE 4
  507. #define HRFSSYS5FS_SEQ HRFSTYPES_SEQ, 4
  508. #define HRFSSYS5FS_LENGTH ( HRFSTYPES_LENGTH + 1 )
  509. #define HRFSFAT_CODE 5
  510. #define HRFSFAT_SEQ HRFSTYPES_SEQ, 5
  511. #define HRFSFAT_LENGTH ( HRFSTYPES_LENGTH + 1 )
  512. #define HRFSHPFS_CODE 6
  513. #define HRFSHPFS_SEQ HRFSTYPES_SEQ, 6
  514. #define HRFSHPFS_LENGTH ( HRFSTYPES_LENGTH + 1 )
  515. #define HRFSHFS_CODE 7
  516. #define HRFSHFS_SEQ HRFSTYPES_SEQ, 7
  517. #define HRFSHFS_LENGTH ( HRFSTYPES_LENGTH + 1 )
  518. #define HRFSMFS_CODE 8
  519. #define HRFSMFS_SEQ HRFSTYPES_SEQ, 8
  520. #define HRFSMFS_LENGTH ( HRFSTYPES_LENGTH + 1 )
  521. #define HRFSNTFS_CODE 9
  522. #define HRFSNTFS_SEQ HRFSTYPES_SEQ, 9
  523. #define HRFSNTFS_LENGTH ( HRFSTYPES_LENGTH + 1 )
  524. #define HRFSVNODE_CODE 10
  525. #define HRFSVNODE_SEQ HRFSTYPES_SEQ, 10
  526. #define HRFSVNODE_LENGTH ( HRFSTYPES_LENGTH + 1 )
  527. #define HRFSJOURNALED_CODE 11
  528. #define HRFSJOURNALED_SEQ HRFSTYPES_SEQ, 11
  529. #define HRFSJOURNALED_LENGTH ( HRFSTYPES_LENGTH + 1 )
  530. #define HRFSISO9660_CODE 12
  531. #define HRFSISO9660_SEQ HRFSTYPES_SEQ, 12
  532. #define HRFSISO9660_LENGTH ( HRFSTYPES_LENGTH + 1 )
  533. #define HRFSROCKRIDGE_CODE 13
  534. #define HRFSROCKRIDGE_SEQ HRFSTYPES_SEQ, 13
  535. #define HRFSROCKRIDGE_LENGTH ( HRFSTYPES_LENGTH + 1 )
  536. #define HRFSNFS_CODE 14
  537. #define HRFSNFS_SEQ HRFSTYPES_SEQ, 14
  538. #define HRFSNFS_LENGTH ( HRFSTYPES_LENGTH + 1 )
  539. #define HRFSNETWARE_CODE 15
  540. #define HRFSNETWARE_SEQ HRFSTYPES_SEQ, 15
  541. #define HRFSNETWARE_LENGTH ( HRFSTYPES_LENGTH + 1 )
  542. #define HRFSAFS_CODE 16
  543. #define HRFSAFS_SEQ HRFSTYPES_SEQ, 16
  544. #define HRFSAFS_LENGTH ( HRFSTYPES_LENGTH + 1 )
  545. #define HRFSDFS_CODE 17
  546. #define HRFSDFS_SEQ HRFSTYPES_SEQ, 17
  547. #define HRFSDFS_LENGTH ( HRFSTYPES_LENGTH + 1 )
  548. #define HRFSAPPLSHARE_CODE 18
  549. #define HRFSAPPLSHARE_SEQ HRFSTYPES_SEQ, 18
  550. #define HRFSAPPLSHARE_LENGTH ( HRFSTYPES_LENGTH + 1 )
  551. #define HRFSRFS_CODE 19
  552. #define HRFSRFS_SEQ HRFSTYPES_SEQ, 19
  553. #define HRFSRFS_LENGTH ( HRFSTYPES_LENGTH + 1 )
  554. #define HRFSDGFS_CODE 20
  555. #define HRFSDGFS_SEQ HRFSTYPES_SEQ, 20
  556. #define HRFSDGFS_LENGTH ( HRFSTYPES_LENGTH + 1 )
  557. #define HRFSBFS_CODE 21
  558. #define HRFSBFS_SEQ HRFSTYPES_SEQ, 21
  559. #define HRFSBFS_LENGTH ( HRFSTYPES_LENGTH + 1 )
  560. extern AsnObjectIdentifier hrFSTypes_oid;
  561. extern AsnObjectIdentifier hrSWOSIndex_oid;
  562. #define HRSWOSINDEX_CODE 1
  563. #define HRSWOSINDEX_SEQ HRSWRUN_SEQ, 1
  564. #define HRSWOSINDEX_LENGTH ( HRSWRUN_LENGTH + 1 )
  565. #define HRSWRUN_VAR_INDEX ( HRSWRUN_LENGTH + 1 )
  566. #define MIN_HRSWRUN_CODE 1
  567. #define MAX_HRSWRUN_CODE 1
  568. extern AsnObjectIdentifier hrSWRun_oid;
  569. extern AsnObjectIdentifier hrSWRunIndex_oid;
  570. extern AsnObjectIdentifier hrSWRunName_oid;
  571. extern AsnObjectIdentifier hrSWRunID_oid;
  572. extern AsnObjectIdentifier hrSWRunPath_oid;
  573. extern AsnObjectIdentifier hrSWRunParameters_oid;
  574. extern AsnObjectIdentifier hrSWRunType_oid;
  575. extern AsnObjectIdentifier hrSWRunStatus_oid;
  576. #define HRSWRUNINDEX_CODE 1
  577. #define HRSWRUNINDEX_SEQ HRSWRUNENTRY_SEQ, 1
  578. #define HRSWRUNINDEX_LENGTH ( HRSWRUNENTRY_LENGTH + 1 )
  579. #define HRSWRUNNAME_CODE 2
  580. #define HRSWRUNNAME_SEQ HRSWRUNENTRY_SEQ, 2
  581. #define HRSWRUNNAME_LENGTH ( HRSWRUNENTRY_LENGTH + 1 )
  582. #define HRSWRUNID_CODE 3
  583. #define HRSWRUNID_SEQ HRSWRUNENTRY_SEQ, 3
  584. #define HRSWRUNID_LENGTH ( HRSWRUNENTRY_LENGTH + 1 )
  585. #define HRSWRUNPATH_CODE 4
  586. #define HRSWRUNPATH_SEQ HRSWRUNENTRY_SEQ, 4
  587. #define HRSWRUNPATH_LENGTH ( HRSWRUNENTRY_LENGTH + 1 )
  588. #define HRSWRUNPARAMETERS_CODE 5
  589. #define HRSWRUNPARAMETERS_SEQ HRSWRUNENTRY_SEQ, 5
  590. #define HRSWRUNPARAMETERS_LENGTH ( HRSWRUNENTRY_LENGTH + 1 )
  591. #define HRSWRUNENTRY_VAR_INDEX ( HRSWRUNENTRY_LENGTH + 1 )
  592. #define HRSWRUNTYPE_CODE 6
  593. #define HRSWRUNTYPE_SEQ HRSWRUNENTRY_SEQ, 6
  594. #define HRSWRUNTYPE_LENGTH ( HRSWRUNENTRY_LENGTH + 1 )
  595. #define HRSWRUNSTATUS_CODE 7
  596. #define HRSWRUNSTATUS_SEQ HRSWRUNENTRY_SEQ, 7
  597. #define HRSWRUNSTATUS_LENGTH ( HRSWRUNENTRY_LENGTH + 1 )
  598. #define HRSWRUNENTRY_VAR_INDEX ( HRSWRUNENTRY_LENGTH + 1 )
  599. #define MIN_HRSWRUNENTRY_CODE 1
  600. #define MAX_HRSWRUNENTRY_CODE 7
  601. extern AsnObjectIdentifier hrSWRunEntry_oid;
  602. #define HRSWRUNPERF_VAR_INDEX ( HRSWRUNPERF_LENGTH + 1 )
  603. extern AsnObjectIdentifier hrSWRunPerfCPU_oid;
  604. extern AsnObjectIdentifier hrSWRunPerfMem_oid;
  605. #define HRSWRUNPERFCPU_CODE 1
  606. #define HRSWRUNPERFCPU_SEQ HRSWRUNPERFENTRY_SEQ, 1
  607. #define HRSWRUNPERFCPU_LENGTH ( HRSWRUNPERFENTRY_LENGTH + 1 )
  608. #define HRSWRUNPERFMEM_CODE 2
  609. #define HRSWRUNPERFMEM_SEQ HRSWRUNPERFENTRY_SEQ, 2
  610. #define HRSWRUNPERFMEM_LENGTH ( HRSWRUNPERFENTRY_LENGTH + 1 )
  611. #define HRSWRUNPERFENTRY_VAR_INDEX ( HRSWRUNPERFENTRY_LENGTH + 1 )
  612. #define MIN_HRSWRUNPERFENTRY_CODE 1
  613. #define MAX_HRSWRUNPERFENTRY_CODE 2
  614. extern AsnObjectIdentifier hrSWRunPerfEntry_oid;
  615. extern AsnObjectIdentifier hrSWInstalledLastChange_oid;
  616. extern AsnObjectIdentifier hrSWInstalledLastUpdateTime_oid;
  617. #define HRSWINSTALLEDLASTCHANGE_CODE 1
  618. #define HRSWINSTALLEDLASTCHANGE_SEQ HRSWINSTALLED_SEQ, 1
  619. #define HRSWINSTALLEDLASTCHANGE_LENGTH ( HRSWINSTALLED_LENGTH + 1 )
  620. #define HRSWINSTALLEDLASTUPDATETIME_CODE 2
  621. #define HRSWINSTALLEDLASTUPDATETIME_SEQ HRSWINSTALLED_SEQ, 2
  622. #define HRSWINSTALLEDLASTUPDATETIME_LENGTH ( HRSWINSTALLED_LENGTH + 1 )
  623. #define HRSWINSTALLED_VAR_INDEX ( HRSWINSTALLED_LENGTH + 1 )
  624. #define MIN_HRSWINSTALLED_CODE 1
  625. #define MAX_HRSWINSTALLED_CODE 2
  626. extern AsnObjectIdentifier hrSWInstalled_oid;
  627. extern AsnObjectIdentifier hrSWInstalledIndex_oid;
  628. extern AsnObjectIdentifier hrSWInstalledName_oid;
  629. extern AsnObjectIdentifier hrSWInstalledID_oid;
  630. extern AsnObjectIdentifier hrSWInstalledType_oid;
  631. extern AsnObjectIdentifier hrSWInstalledDate_oid;
  632. #define HRSWINSTALLEDINDEX_CODE 1
  633. #define HRSWINSTALLEDINDEX_SEQ HRSWINSTALLEDENTRY_SEQ, 1
  634. #define HRSWINSTALLEDINDEX_LENGTH ( HRSWINSTALLEDENTRY_LENGTH + 1 )
  635. #define HRSWINSTALLEDNAME_CODE 2
  636. #define HRSWINSTALLEDNAME_SEQ HRSWINSTALLEDENTRY_SEQ, 2
  637. #define HRSWINSTALLEDNAME_LENGTH ( HRSWINSTALLEDENTRY_LENGTH + 1 )
  638. #define HRSWINSTALLEDID_CODE 3
  639. #define HRSWINSTALLEDID_SEQ HRSWINSTALLEDENTRY_SEQ, 3
  640. #define HRSWINSTALLEDID_LENGTH ( HRSWINSTALLEDENTRY_LENGTH + 1 )
  641. #define HRSWINSTALLEDTYPE_CODE 4
  642. #define HRSWINSTALLEDTYPE_SEQ HRSWINSTALLEDENTRY_SEQ, 4
  643. #define HRSWINSTALLEDTYPE_LENGTH ( HRSWINSTALLEDENTRY_LENGTH + 1 )
  644. #define HRSWINSTALLEDDATE_CODE 5
  645. #define HRSWINSTALLEDDATE_SEQ HRSWINSTALLEDENTRY_SEQ, 5
  646. #define HRSWINSTALLEDDATE_LENGTH ( HRSWINSTALLEDENTRY_LENGTH + 1 )
  647. #define HRSWINSTALLEDENTRY_VAR_INDEX ( HRSWINSTALLEDENTRY_LENGTH + 1 )
  648. #define MIN_HRSWINSTALLEDENTRY_CODE 1
  649. #define MAX_HRSWINSTALLEDENTRY_CODE 5
  650. extern AsnObjectIdentifier hrSWInstalledEntry_oid;
  651. #define CLASS_TABLE_MAX 15
  652. UINT
  653. GetHrSystemUptime(
  654. OUT TimeTicks *outvalue ,
  655. IN Access_Credential *access ,
  656. IN InstanceName *instance );
  657. UINT
  658. GetHrSystemDate(
  659. OUT DateAndTime *outvalue ,
  660. IN Access_Credential *access ,
  661. IN InstanceName *instance );
  662. UINT
  663. GetHrSystemInitialLoadDevice(
  664. OUT Integer *outvalue ,
  665. IN Access_Credential *access ,
  666. IN InstanceName *instance );
  667. UINT
  668. SetHrSystemInitialLoadDevice(
  669. IN Integer *invalue ,
  670. OUT Integer *outvalue ,
  671. IN Access_Credential *access ,
  672. IN InstanceName *instance );
  673. UINT
  674. GetHrSystemInitialLoadParameters(
  675. OUT InternationalDisplayString *outvalue ,
  676. IN Access_Credential *access ,
  677. IN InstanceName *instance );
  678. UINT
  679. SetHrSystemInitialLoadParameters(
  680. IN InternationalDisplayString *invalue ,
  681. OUT InternationalDisplayString *outvalue ,
  682. IN Access_Credential *access ,
  683. IN InstanceName *instance );
  684. UINT
  685. GetHrSystemNumUsers(
  686. OUT Gauge *outvalue ,
  687. IN Access_Credential *access ,
  688. IN InstanceName *instance );
  689. UINT
  690. GetHrSystemProcesses(
  691. OUT Gauge *outvalue ,
  692. IN Access_Credential *access ,
  693. IN InstanceName *instance );
  694. UINT
  695. GetHrSystemMaxProcesses(
  696. OUT Integer *outvalue ,
  697. IN Access_Credential *access ,
  698. IN InstanceName *instance );
  699. UINT
  700. HrSystemFindInstance( IN ObjectIdentifier *FullOid ,
  701. IN OUT ObjectIdentifier *instance );
  702. UINT
  703. HrSystemFindNextInstance( IN ObjectIdentifier *FullOid ,
  704. IN OUT ObjectIdentifier *instance );
  705. UINT
  706. HrSystemConvertInstance( IN ObjectIdentifier *oid_spec ,
  707. IN OUT InstanceName *native_spec );
  708. void
  709. HrSystemFreeInstance( IN OUT InstanceName *instance );
  710. // HrSWRunEntry.c
  711. UINT
  712. GetHrSWRunIndex(
  713. OUT Integer *outvalue ,
  714. IN Access_Credential *access ,
  715. IN InstanceName *instance );
  716. UINT
  717. GetHrSWRunName(
  718. OUT InternationalDisplayString *outvalue ,
  719. IN Access_Credential *access ,
  720. IN InstanceName *instance );
  721. UINT
  722. GetHrSWRunID(
  723. OUT ProductID *outvalue ,
  724. IN Access_Credential *access ,
  725. IN InstanceName *instance );
  726. UINT
  727. GetHrSWRunPath(
  728. OUT InternationalDisplayString *outvalue ,
  729. IN Access_Credential *access ,
  730. IN InstanceName *instance );
  731. UINT
  732. GetHrSWRunParameters(
  733. OUT InternationalDisplayString *outvalue ,
  734. IN Access_Credential *access ,
  735. IN InstanceName *instance );
  736. UINT
  737. GetHrSWRunType(
  738. OUT INTSWType *outvalue ,
  739. IN Access_Credential *access ,
  740. IN InstanceName *instance );
  741. UINT
  742. GetHrSWRunStatus(
  743. OUT INThrSWRunStatus *outvalue ,
  744. IN Access_Credential *access ,
  745. IN InstanceName *instance );
  746. UINT
  747. SetHrSWRunStatus(
  748. IN INThrSWRunStatus *invalue ,
  749. OUT INThrSWRunStatus *outvalue ,
  750. IN Access_Credential *access ,
  751. IN InstanceName *instance );
  752. UINT
  753. HrSWRunEntryFindInstance( IN ObjectIdentifier *FullOid ,
  754. IN OUT ObjectIdentifier *instance );
  755. UINT
  756. HrSWRunEntryFindNextInstance( IN ObjectIdentifier *FullOid ,
  757. IN OUT ObjectIdentifier *instance );
  758. UINT
  759. HrSWRunEntryConvertInstance( IN ObjectIdentifier *oid_spec ,
  760. IN OUT InstanceName *native_spec );
  761. void
  762. HrSWRunEntryFreeInstance( IN OUT InstanceName *instance );
  763. // HrSWRun.c
  764. UINT
  765. GetHrSWOSIndex(
  766. OUT Integer *outvalue ,
  767. IN Access_Credential *access ,
  768. IN InstanceName *instance );
  769. UINT
  770. HrSWRunFindInstance( IN ObjectIdentifier *FullOid ,
  771. IN OUT ObjectIdentifier *instance );
  772. UINT
  773. HrSWRunFindNextInstance( IN ObjectIdentifier *FullOid ,
  774. IN OUT ObjectIdentifier *instance );
  775. UINT
  776. HrSWRunConvertInstance( IN ObjectIdentifier *oid_spec ,
  777. IN OUT InstanceName *native_spec );
  778. void
  779. HrSWRunFreeInstance( IN OUT InstanceName *instance );
  780. // HrSWRunPerfEntry.c
  781. UINT
  782. GetHrSWRunPerfCPU(
  783. OUT Integer *outvalue ,
  784. IN Access_Credential *access ,
  785. IN InstanceName *instance );
  786. UINT
  787. GetHrSWRunPerfMem(
  788. OUT KBytes *outvalue ,
  789. IN Access_Credential *access ,
  790. IN InstanceName *instance );
  791. UINT
  792. HrSWRunPerfEntryFindInstance( IN ObjectIdentifier *FullOid ,
  793. IN OUT ObjectIdentifier *instance );
  794. UINT
  795. HrSWRunPerfEntryFindNextInstance( IN ObjectIdentifier *FullOid ,
  796. IN OUT ObjectIdentifier *instance );
  797. UINT
  798. HrSWRunPerfEntryConvertInstance( IN ObjectIdentifier *oid_spec ,
  799. IN OUT InstanceName *native_spec );
  800. void
  801. HrSWRunPerfEntryFreeInstance( IN OUT InstanceName *instance );
  802. // HrSWInstalled.c
  803. UINT
  804. GetHrSWInstalledLastChange(
  805. OUT TimeTicks *outvalue ,
  806. IN Access_Credential *access ,
  807. IN InstanceName *instance );
  808. UINT
  809. GetHrSWInstalledLastUpdateTime(
  810. OUT TimeTicks *outvalue ,
  811. IN Access_Credential *access ,
  812. IN InstanceName *instance );
  813. UINT
  814. HrSWInstalledFindInstance( IN ObjectIdentifier *FullOid ,
  815. IN OUT ObjectIdentifier *instance );
  816. UINT
  817. HrSWInstalledFindNextInstance( IN ObjectIdentifier *FullOid ,
  818. IN OUT ObjectIdentifier *instance );
  819. UINT
  820. HrSWInstalledConvertInstance( IN ObjectIdentifier *oid_spec ,
  821. IN OUT InstanceName *native_spec );
  822. void
  823. HrSWInstalledFreeInstance( IN OUT InstanceName *instance );
  824. // HrStorage.c
  825. UINT
  826. GetHrMemorySize(
  827. OUT KBytes *outvalue ,
  828. IN Access_Credential *access ,
  829. IN InstanceName *instance );
  830. UINT
  831. HrStorageFindInstance( IN ObjectIdentifier *FullOid ,
  832. IN OUT ObjectIdentifier *instance );
  833. UINT
  834. HrStorageFindNextInstance( IN ObjectIdentifier *FullOid ,
  835. IN OUT ObjectIdentifier *instance );
  836. UINT
  837. HrStorageConvertInstance( IN ObjectIdentifier *oid_spec ,
  838. IN OUT InstanceName *native_spec );
  839. void
  840. HrStorageFreeInstance( IN OUT InstanceName *instance );
  841. // HrStorageEntry.c
  842. UINT
  843. GetHrStorageIndex(
  844. OUT Integer *outvalue ,
  845. IN Access_Credential *access ,
  846. IN InstanceName *instance );
  847. UINT
  848. GetHrStorageType(
  849. OUT ObjectIdentifier *outvalue ,
  850. IN Access_Credential *access ,
  851. IN InstanceName *instance );
  852. UINT
  853. GetHrStorageDesc(
  854. OUT Simple_DisplayString *outvalue ,
  855. IN Access_Credential *access ,
  856. IN InstanceName *instance );
  857. UINT
  858. GetHrStorageAllocationUnits(
  859. OUT Integer *outvalue ,
  860. IN Access_Credential *access ,
  861. IN InstanceName *instance );
  862. UINT
  863. GetHrStorageSize(
  864. OUT Integer *outvalue ,
  865. IN Access_Credential *access ,
  866. IN InstanceName *instance );
  867. UINT
  868. SetHrStorageSize(
  869. IN Integer *invalue ,
  870. OUT Integer *outvalue ,
  871. IN Access_Credential *access ,
  872. IN InstanceName *instance );
  873. UINT
  874. GetHrStorageUsed(
  875. OUT Integer *outvalue ,
  876. IN Access_Credential *access ,
  877. IN InstanceName *instance );
  878. UINT
  879. GetHrStorageAllocationFailures(
  880. OUT Counter *outvalue ,
  881. IN Access_Credential *access ,
  882. IN InstanceName *instance );
  883. UINT
  884. HrStorageEntryFindInstance( IN ObjectIdentifier *FullOid ,
  885. IN OUT ObjectIdentifier *instance );
  886. UINT
  887. HrStorageEntryFindNextInstance( IN ObjectIdentifier *FullOid ,
  888. IN OUT ObjectIdentifier *instance );
  889. UINT
  890. HrStorageEntryConvertInstance( IN ObjectIdentifier *oid_spec ,
  891. IN OUT InstanceName *native_spec );
  892. void
  893. HrStorageEntryFreeInstance( IN OUT InstanceName *instance );
  894. // HrProcessorEntry.c
  895. UINT
  896. GetHrProcessorFrwID(
  897. OUT ProductID *outvalue ,
  898. IN Access_Credential *access ,
  899. IN InstanceName *instance );
  900. UINT
  901. GetHrProcessorLoad(
  902. OUT Integer *outvalue ,
  903. IN Access_Credential *access ,
  904. IN InstanceName *instance );
  905. UINT
  906. HrProcessorEntryFindInstance( IN ObjectIdentifier *FullOid ,
  907. IN OUT ObjectIdentifier *instance );
  908. UINT
  909. HrProcessorEntryFindNextInstance( IN ObjectIdentifier *FullOid ,
  910. IN OUT ObjectIdentifier *instance );
  911. UINT
  912. HrProcessorEntryConvertInstance( IN ObjectIdentifier *oid_spec ,
  913. IN OUT InstanceName *native_spec );
  914. void
  915. HrProcessorEntryFreeInstance( IN OUT InstanceName *instance );
  916. // HrPrinterEntry.c
  917. UINT
  918. GetHrPrinterStatus(
  919. OUT INThrPrinterStatus *outvalue ,
  920. IN Access_Credential *access ,
  921. IN InstanceName *instance );
  922. UINT
  923. GetHrPrinterDetectedErrorState(
  924. OUT OctetString *outvalue ,
  925. IN Access_Credential *access ,
  926. IN InstanceName *instance );
  927. UINT
  928. HrPrinterEntryFindInstance( IN ObjectIdentifier *FullOid ,
  929. IN OUT ObjectIdentifier *instance );
  930. UINT
  931. HrPrinterEntryFindNextInstance( IN ObjectIdentifier *FullOid ,
  932. IN OUT ObjectIdentifier *instance );
  933. UINT
  934. HrPrinterEntryConvertInstance( IN ObjectIdentifier *oid_spec ,
  935. IN OUT InstanceName *native_spec );
  936. void
  937. HrPrinterEntryFreeInstance( IN OUT InstanceName *instance );
  938. // HrPrinterEntry.c
  939. UINT
  940. GetHrPrinterStatus(
  941. OUT INThrPrinterStatus *outvalue ,
  942. IN Access_Credential *access ,
  943. IN InstanceName *instance );
  944. UINT
  945. GetHrPrinterDetectedErrorState(
  946. OUT OctetString *outvalue ,
  947. IN Access_Credential *access ,
  948. IN InstanceName *instance );
  949. UINT
  950. HrPrinterEntryFindInstance( IN ObjectIdentifier *FullOid ,
  951. IN OUT ObjectIdentifier *instance );
  952. UINT
  953. HrPrinterEntryFindNextInstance( IN ObjectIdentifier *FullOid ,
  954. IN OUT ObjectIdentifier *instance );
  955. UINT
  956. HrPrinterEntryConvertInstance( IN ObjectIdentifier *oid_spec ,
  957. IN OUT InstanceName *native_spec );
  958. void
  959. HrPrinterEntryFreeInstance( IN OUT InstanceName *instance );
  960. // HrPartitionEntry.c
  961. UINT
  962. GetHrPartitionIndex(
  963. OUT Integer *outvalue ,
  964. IN Access_Credential *access ,
  965. IN InstanceName *instance );
  966. UINT
  967. GetHrPartitionLabel(
  968. OUT InternationalDisplayString *outvalue ,
  969. IN Access_Credential *access ,
  970. IN InstanceName *instance );
  971. UINT
  972. GetHrPartitionID(
  973. OUT OctetString *outvalue ,
  974. IN Access_Credential *access ,
  975. IN InstanceName *instance );
  976. UINT
  977. GetHrPartitionSize(
  978. OUT KBytes *outvalue ,
  979. IN Access_Credential *access ,
  980. IN InstanceName *instance );
  981. UINT
  982. GetHrPartitionFSIndex(
  983. OUT Integer *outvalue ,
  984. IN Access_Credential *access ,
  985. IN InstanceName *instance );
  986. UINT
  987. HrPartitionEntryFindInstance( IN ObjectIdentifier *FullOid ,
  988. IN OUT ObjectIdentifier *instance );
  989. UINT
  990. HrPartitionEntryFindNextInstance( IN ObjectIdentifier *FullOid ,
  991. IN OUT ObjectIdentifier *instance );
  992. UINT
  993. HrPartitionEntryConvertInstance( IN ObjectIdentifier *oid_spec ,
  994. IN OUT InstanceName *native_spec );
  995. void
  996. HrPartitionEntryFreeInstance( IN OUT InstanceName *instance );
  997. // HrNetworkEntry.c
  998. UINT
  999. GetHrNetworkIfIndex(
  1000. OUT Integer *outvalue ,
  1001. IN Access_Credential *access ,
  1002. IN InstanceName *instance );
  1003. UINT
  1004. HrNetworkEntryFindInstance( IN ObjectIdentifier *FullOid ,
  1005. IN OUT ObjectIdentifier *instance );
  1006. UINT
  1007. HrNetworkEntryFindNextInstance( IN ObjectIdentifier *FullOid ,
  1008. IN OUT ObjectIdentifier *instance );
  1009. UINT
  1010. HrNetworkEntryConvertInstance( IN ObjectIdentifier *oid_spec ,
  1011. IN OUT InstanceName *native_spec );
  1012. void
  1013. HrNetworkEntryFreeInstance( IN OUT InstanceName *instance );
  1014. // HrFSEntry.c
  1015. UINT
  1016. GetHrFSIndex(
  1017. OUT Integer *outvalue ,
  1018. IN Access_Credential *access ,
  1019. IN InstanceName *instance );
  1020. UINT
  1021. GetHrFSMountPoint(
  1022. OUT InternationalDisplayString *outvalue ,
  1023. IN Access_Credential *access ,
  1024. IN InstanceName *instance );
  1025. UINT
  1026. GetHrFSRemoteMountPoint(
  1027. OUT InternationalDisplayString *outvalue ,
  1028. IN Access_Credential *access ,
  1029. IN InstanceName *instance );
  1030. UINT
  1031. GetHrFSType(
  1032. OUT ObjectIdentifier *outvalue ,
  1033. IN Access_Credential *access ,
  1034. IN InstanceName *instance );
  1035. UINT
  1036. GetHrFSAccess(
  1037. OUT INTAccess *outvalue ,
  1038. IN Access_Credential *access ,
  1039. IN InstanceName *instance );
  1040. UINT
  1041. GetHrFSBootable(
  1042. OUT Boolean *outvalue ,
  1043. IN Access_Credential *access ,
  1044. IN InstanceName *instance );
  1045. UINT
  1046. GetHrFSStorageIndex(
  1047. OUT Integer *outvalue ,
  1048. IN Access_Credential *access ,
  1049. IN InstanceName *instance );
  1050. UINT
  1051. GetHrFSLastFullBackupDate(
  1052. OUT DateAndTime *outvalue ,
  1053. IN Access_Credential *access ,
  1054. IN InstanceName *instance );
  1055. UINT
  1056. SetHrFSLastFullBackupDate(
  1057. IN DateAndTime *invalue ,
  1058. OUT DateAndTime *outvalue ,
  1059. IN Access_Credential *access ,
  1060. IN InstanceName *instance );
  1061. UINT
  1062. GetHrFSLastPartialBackupDate(
  1063. OUT DateAndTime *outvalue ,
  1064. IN Access_Credential *access ,
  1065. IN InstanceName *instance );
  1066. UINT
  1067. SetHrFSLastPartialBackupDate(
  1068. IN DateAndTime *invalue ,
  1069. OUT DateAndTime *outvalue ,
  1070. IN Access_Credential *access ,
  1071. IN InstanceName *instance );
  1072. UINT
  1073. HrFSEntryFindInstance( IN ObjectIdentifier *FullOid ,
  1074. IN OUT ObjectIdentifier *instance );
  1075. UINT
  1076. HrFSEntryFindNextInstance( IN ObjectIdentifier *FullOid ,
  1077. IN OUT ObjectIdentifier *instance );
  1078. UINT
  1079. HrFSEntryConvertInstance( IN ObjectIdentifier *oid_spec ,
  1080. IN OUT InstanceName *native_spec );
  1081. void
  1082. HrFSEntryFreeInstance( IN OUT InstanceName *instance );
  1083. // HrDiskStorageEntry.c
  1084. UINT
  1085. GetHrDiskStorageAccess(
  1086. OUT INTAccess *outvalue ,
  1087. IN Access_Credential *access ,
  1088. IN InstanceName *instance );
  1089. UINT
  1090. GetHrDiskStorageMedia(
  1091. OUT INThrDiskStorageMedia *outvalue ,
  1092. IN Access_Credential *access ,
  1093. IN InstanceName *instance );
  1094. UINT
  1095. GetHrDiskStorageRemoveble(
  1096. OUT Boolean *outvalue ,
  1097. IN Access_Credential *access ,
  1098. IN InstanceName *instance );
  1099. UINT
  1100. GetHrDiskStorageCapacity(
  1101. OUT KBytes *outvalue ,
  1102. IN Access_Credential *access ,
  1103. IN InstanceName *instance );
  1104. UINT
  1105. HrDiskStorageEntryFindInstance( IN ObjectIdentifier *FullOid ,
  1106. IN OUT ObjectIdentifier *instance );
  1107. UINT
  1108. HrDiskStorageEntryFindNextInstance( IN ObjectIdentifier *FullOid ,
  1109. IN OUT ObjectIdentifier *instance );
  1110. UINT
  1111. HrDiskStorageEntryConvertInstance( IN ObjectIdentifier *oid_spec ,
  1112. IN OUT InstanceName *native_spec );
  1113. void
  1114. HrDiskStorageEntryFreeInstance( IN OUT InstanceName *instance );
  1115. // HrDeviceEntry.c
  1116. UINT
  1117. GetHrDeviceIndex(
  1118. OUT Integer *outvalue ,
  1119. IN Access_Credential *access ,
  1120. IN InstanceName *instance );
  1121. UINT
  1122. GetHrDeviceType(
  1123. OUT ObjectIdentifier *outvalue ,
  1124. IN Access_Credential *access ,
  1125. IN InstanceName *instance );
  1126. UINT
  1127. GetHrDeviceDesc(
  1128. OUT Simple_DisplayString *outvalue ,
  1129. IN Access_Credential *access ,
  1130. IN InstanceName *instance );
  1131. UINT
  1132. GetHrDeviceID(
  1133. OUT ProductID *outvalue ,
  1134. IN Access_Credential *access ,
  1135. IN InstanceName *instance );
  1136. UINT
  1137. GetHrDeviceStatus(
  1138. OUT INThrDeviceStatus *outvalue ,
  1139. IN Access_Credential *access ,
  1140. IN InstanceName *instance );
  1141. UINT
  1142. GetHrDeviceErrors(
  1143. OUT Counter *outvalue ,
  1144. IN Access_Credential *access ,
  1145. IN InstanceName *instance );
  1146. UINT
  1147. HrDeviceEntryFindInstance( IN ObjectIdentifier *FullOid ,
  1148. IN OUT ObjectIdentifier *instance );
  1149. UINT
  1150. HrDeviceEntryFindNextInstance( IN ObjectIdentifier *FullOid ,
  1151. IN OUT ObjectIdentifier *instance );
  1152. UINT
  1153. HrDeviceEntryConvertInstance( IN ObjectIdentifier *oid_spec ,
  1154. IN OUT InstanceName *native_spec );
  1155. void
  1156. HrDeviceEntryFreeInstance( IN OUT InstanceName *instance );
  1157. // hostmsmi.c
  1158. UINT
  1159. SMIGetBoolean(
  1160. IN OUT RFC1157VarBind *VarBind , // Variable binding for get
  1161. IN unsigned long int cindex ,
  1162. IN unsigned long int vindex ,
  1163. IN InstanceName *instance );
  1164. UINT
  1165. SMISetBoolean(
  1166. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1167. IN unsigned long int cindex ,
  1168. IN unsigned long int vindex ,
  1169. IN InstanceName *instance );
  1170. UINT
  1171. SMIBuildBoolean(
  1172. IN OUT RFC1157VarBind *VarBind , // Variable binding for building
  1173. IN char *invalue );
  1174. UINT
  1175. SMIGetKBytes(
  1176. IN OUT RFC1157VarBind *VarBind , // Variable binding for get
  1177. IN unsigned long int cindex ,
  1178. IN unsigned long int vindex ,
  1179. IN InstanceName *instance );
  1180. UINT
  1181. SMISetKBytes(
  1182. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1183. IN unsigned long int cindex ,
  1184. IN unsigned long int vindex ,
  1185. IN InstanceName *instance );
  1186. UINT
  1187. SMIBuildKBytes(
  1188. IN OUT RFC1157VarBind *VarBind , // Variable binding for building
  1189. IN char *invalue );
  1190. UINT
  1191. SMIGetINThrDeviceStatus(
  1192. IN OUT RFC1157VarBind *VarBind , // Variable binding for get
  1193. IN unsigned long int cindex ,
  1194. IN unsigned long int vindex ,
  1195. IN InstanceName *instance );
  1196. UINT
  1197. SMISetINThrDeviceStatus(
  1198. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1199. IN unsigned long int cindex ,
  1200. IN unsigned long int vindex ,
  1201. IN InstanceName *instance );
  1202. UINT
  1203. SMIBuildINThrDeviceStatus(
  1204. IN OUT RFC1157VarBind *VarBind , // Variable binding for building
  1205. IN char *invalue );
  1206. UINT
  1207. SMIGetINThrPrinterStatus(
  1208. IN OUT RFC1157VarBind *VarBind , // Variable binding for get
  1209. IN unsigned long int cindex ,
  1210. IN unsigned long int vindex ,
  1211. IN InstanceName *instance );
  1212. UINT
  1213. SMISetINThrPrinterStatus(
  1214. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1215. IN unsigned long int cindex ,
  1216. IN unsigned long int vindex ,
  1217. IN InstanceName *instance );
  1218. UINT
  1219. SMIBuildINThrPrinterStatus(
  1220. IN OUT RFC1157VarBind *VarBind , // Variable binding for building
  1221. IN char *invalue );
  1222. UINT
  1223. SMIGetINTAccess(
  1224. IN OUT RFC1157VarBind *VarBind , // Variable binding for get
  1225. IN unsigned long int cindex ,
  1226. IN unsigned long int vindex ,
  1227. IN InstanceName *instance );
  1228. UINT
  1229. SMISetINTAccess(
  1230. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1231. IN unsigned long int cindex ,
  1232. IN unsigned long int vindex ,
  1233. IN InstanceName *instance );
  1234. UINT
  1235. SMIBuildINTAccess(
  1236. IN OUT RFC1157VarBind *VarBind , // Variable binding for building
  1237. IN char *invalue );
  1238. UINT
  1239. SMIGetINThrDiskStorageMedia(
  1240. IN OUT RFC1157VarBind *VarBind , // Variable binding for get
  1241. IN unsigned long int cindex ,
  1242. IN unsigned long int vindex ,
  1243. IN InstanceName *instance );
  1244. UINT
  1245. SMISetINThrDiskStorageMedia(
  1246. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1247. IN unsigned long int cindex ,
  1248. IN unsigned long int vindex ,
  1249. IN InstanceName *instance );
  1250. UINT
  1251. SMIBuildINThrDiskStorageMedia(
  1252. IN OUT RFC1157VarBind *VarBind , // Variable binding for building
  1253. IN char *invalue );
  1254. UINT
  1255. SMIGetINTSWType(
  1256. IN OUT RFC1157VarBind *VarBind , // Variable binding for get
  1257. IN unsigned long int cindex ,
  1258. IN unsigned long int vindex ,
  1259. IN InstanceName *instance );
  1260. UINT
  1261. SMISetINTSWType(
  1262. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1263. IN unsigned long int cindex ,
  1264. IN unsigned long int vindex ,
  1265. IN InstanceName *instance );
  1266. UINT
  1267. SMIBuildINTSWType(
  1268. IN OUT RFC1157VarBind *VarBind , // Variable binding for building
  1269. IN char *invalue );
  1270. UINT
  1271. SMIGetINThrSWRunStatus(
  1272. IN OUT RFC1157VarBind *VarBind , // Variable binding for get
  1273. IN unsigned long int cindex ,
  1274. IN unsigned long int vindex ,
  1275. IN InstanceName *instance );
  1276. UINT
  1277. SMISetINThrSWRunStatus(
  1278. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1279. IN unsigned long int cindex ,
  1280. IN unsigned long int vindex ,
  1281. IN InstanceName *instance );
  1282. UINT
  1283. SMIBuildINThrSWRunStatus(
  1284. IN OUT RFC1157VarBind *VarBind , // Variable binding for building
  1285. IN char *invalue );
  1286. UINT
  1287. SMIGetDateAndTime(
  1288. IN OUT RFC1157VarBind *VarBind , // Variable binding for get
  1289. IN unsigned long int cindex ,
  1290. IN unsigned long int vindex ,
  1291. IN InstanceName *instance );
  1292. UINT
  1293. SMISetDateAndTime(
  1294. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1295. IN unsigned long int cindex ,
  1296. IN unsigned long int vindex ,
  1297. IN InstanceName *instance );
  1298. UINT
  1299. SMIBuildDateAndTime(
  1300. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1301. IN char *invalue );
  1302. UINT
  1303. SMIGetInternationalDisplayString(
  1304. IN OUT RFC1157VarBind *VarBind , // Variable binding for get
  1305. IN unsigned long int cindex ,
  1306. IN unsigned long int vindex ,
  1307. IN InstanceName *instance );
  1308. UINT
  1309. SMISetInternationalDisplayString(
  1310. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1311. IN unsigned long int cindex ,
  1312. IN unsigned long int vindex ,
  1313. IN InstanceName *instance );
  1314. UINT
  1315. SMIBuildInternationalDisplayString(
  1316. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1317. IN char *invalue );
  1318. UINT
  1319. SMIGetProductID(
  1320. IN OUT RFC1157VarBind *VarBind , // Variable binding for get
  1321. IN unsigned long int cindex ,
  1322. IN unsigned long int vindex ,
  1323. IN InstanceName *instance );
  1324. UINT
  1325. SMISetProductID(
  1326. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1327. IN unsigned long int cindex ,
  1328. IN unsigned long int vindex ,
  1329. IN InstanceName *instance );
  1330. UINT
  1331. SMIBuildProductID(
  1332. IN OUT RFC1157VarBind *VarBind , // Variable binding for set
  1333. IN char *invalue );
  1334. // HrSWInstalledEntry.c
  1335. UINT
  1336. GetHrSWInstalledIndex(
  1337. OUT Integer *outvalue ,
  1338. IN Access_Credential *access ,
  1339. IN InstanceName *instance );
  1340. UINT
  1341. GetHrSWInstalledName(
  1342. OUT InternationalDisplayString *outvalue ,
  1343. IN Access_Credential *access ,
  1344. IN InstanceName *instance );
  1345. UINT
  1346. GetHrSWInstalledID(
  1347. OUT ProductID *outvalue ,
  1348. IN Access_Credential *access ,
  1349. IN InstanceName *instance );
  1350. UINT
  1351. GetHrSWInstalledType(
  1352. OUT INTSWType *outvalue ,
  1353. IN Access_Credential *access ,
  1354. IN InstanceName *instance );
  1355. UINT
  1356. GetHrSWInstalledDate(
  1357. OUT DateAndTime *outvalue ,
  1358. IN Access_Credential *access ,
  1359. IN InstanceName *instance );
  1360. UINT
  1361. HrSWInstalledEntryFindInstance( IN ObjectIdentifier *FullOid ,
  1362. IN OUT ObjectIdentifier *instance );
  1363. UINT
  1364. HrSWInstalledEntryFindNextInstance( IN ObjectIdentifier *FullOid ,
  1365. IN OUT ObjectIdentifier *instance );
  1366. UINT
  1367. HrSWInstalledEntryConvertInstance( IN ObjectIdentifier *oid_spec ,
  1368. IN OUT InstanceName *native_spec );
  1369. void
  1370. HrSWInstalledEntryFreeInstance( IN OUT InstanceName *instance );
  1371. /*
  1372. |==============================================================================
  1373. | hrProcessLoad_Refresh - Processor Load Time-Information Refresh Routine
  1374. */
  1375. void
  1376. hrProcessLoad_Refresh(
  1377. void
  1378. );
  1379. /*
  1380. |==============================================================================
  1381. | Magic "Fetch Instance" Macro
  1382. |
  1383. | This macro decodes an "InstanceName" structure given the HostMIB's indices
  1384. | which are always simple numbers.
  1385. */
  1386. #define GET_INSTANCE(n) (*((ULONG *)(instance->array[n])))
  1387. #endif // mib_h