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.

195 lines
7.7 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. mibfuncs.h
  5. Abstract:
  6. Sample subagent instrumentation callbacks.
  7. Note:
  8. This file is an example of the output to be produced from the
  9. code generation utility.
  10. --*/
  11. #ifndef _MIBFUNCS_H_
  12. #define _MIBFUNCS_H_
  13. ///////////////////////////////////////////////////////////////////////////////
  14. // //
  15. // igmpInterfaceEntry table (1,3,6,1,3,59,1,1,1,1) //
  16. // //
  17. ///////////////////////////////////////////////////////////////////////////////
  18. UINT
  19. get_igmpInterfaceEntry(
  20. UINT ActionId,
  21. AsnAny * ObjectArray,
  22. UINT * ErrorIndex
  23. );
  24. UINT
  25. set_igmpInterfaceEntry(
  26. UINT ActionId,
  27. AsnAny * ObjectArray,
  28. UINT * ErrorIndex
  29. );
  30. typedef struct _buf_igmpInterfaceEntry {
  31. AsnAny igmpInterfaceIfIndex;
  32. AsnAny igmpInterfaceQueryInterval;
  33. AsnAny igmpInterfaceStatus;
  34. AsnAny igmpInterfaceVersion;
  35. AsnAny igmpInterfaceQuerier;
  36. AsnAny igmpInterfaceQueryMaxResponseTime;
  37. AsnAny igmpInterfaceVersion1QuerierTimer;
  38. AsnAny igmpInterfaceWrongVersionQueries;
  39. AsnAny igmpInterfaceJoins;
  40. AsnAny igmpInterfaceGroups;
  41. AsnAny igmpInterfaceRobustness;
  42. AsnAny igmpInterfaceLastMembQueryInterval;
  43. AsnAny igmpInterfaceProxyIfIndex;
  44. AsnAny igmpInterfaceQuerierUpTime;
  45. AsnAny igmpInterfaceQuerierExpiryTime;
  46. DWORD igmpInterfaceQuerierBuf;
  47. } buf_igmpInterfaceEntry;
  48. typedef struct _sav_igmpInterfaceEntry {
  49. AsnAny igmpInterfaceIfIndex;
  50. AsnAny igmpInterfaceQueryInterval;
  51. AsnAny igmpInterfaceStatus;
  52. AsnAny igmpInterfaceVersion;
  53. AsnAny igmpInterfaceQueryMaxResponseTime;
  54. AsnAny igmpInterfaceRobustness;
  55. AsnAny igmpInterfaceLastMembQueryInterval;
  56. AsnAny igmpInterfaceProxyIfIndex;
  57. } sav_igmpInterfaceEntry;
  58. #define gf_igmpInterfaceIfIndex get_igmpInterfaceEntry
  59. #define gf_igmpInterfaceQueryInterval get_igmpInterfaceEntry
  60. #define gf_igmpInterfaceStatus get_igmpInterfaceEntry
  61. #define gf_igmpInterfaceVersion get_igmpInterfaceEntry
  62. #define gf_igmpInterfaceQuerier get_igmpInterfaceEntry
  63. #define gf_igmpInterfaceQueryMaxResponseTime get_igmpInterfaceEntry
  64. #define gf_igmpInterfaceVersion1QuerierTimer get_igmpInterfaceEntry
  65. #define gf_igmpInterfaceWrongVersionQueries get_igmpInterfaceEntry
  66. #define gf_igmpInterfaceJoins get_igmpInterfaceEntry
  67. #define gf_igmpInterfaceGroups get_igmpInterfaceEntry
  68. #define gf_igmpInterfaceRobustness get_igmpInterfaceEntry
  69. #define gf_igmpInterfaceLastMembQueryInterval get_igmpInterfaceEntry
  70. #define gf_igmpInterfaceProxyIfIndex get_igmpInterfaceEntry
  71. #define gf_igmpInterfaceQuerierUpTime get_igmpInterfaceEntry
  72. #define gf_igmpInterfaceQuerierExpiryTime get_igmpInterfaceEntry
  73. #define gb_igmpInterfaceIfIndex buf_igmpInterfaceEntry
  74. #define gb_igmpInterfaceQueryInterval buf_igmpInterfaceEntry
  75. #define gb_igmpInterfaceStatus buf_igmpInterfaceEntry
  76. #define gb_igmpInterfaceVersion buf_igmpInterfaceEntry
  77. #define gb_igmpInterfaceQuerier buf_igmpInterfaceEntry
  78. #define gb_igmpInterfaceQueryMaxResponseTime buf_igmpInterfaceEntry
  79. #define gb_igmpInterfaceVersion1QuerierTimer buf_igmpInterfaceEntry
  80. #define gb_igmpInterfaceWrongVersionQueries buf_igmpInterfaceEntry
  81. #define gb_igmpInterfaceJoins buf_igmpInterfaceEntry
  82. #define gb_igmpInterfaceGroups buf_igmpInterfaceEntry
  83. #define gb_igmpInterfaceRobustness buf_igmpInterfaceEntry
  84. #define gb_igmpInterfaceLastMembQueryInterval buf_igmpInterfaceEntry
  85. #define gb_igmpInterfaceProxyIfIndex buf_igmpInterfaceEntry
  86. #define gb_igmpInterfaceQuerierUpTime buf_igmpInterfaceEntry
  87. #define gb_igmpInterfaceQuerierExpiryTime buf_igmpInterfaceEntry
  88. #define sf_igmpInterfaceIfIndex set_igmpInterfaceEntry
  89. #define sf_igmpInterfaceQueryInterval set_igmpInterfaceEntry
  90. #define sf_igmpInterfaceStatus set_igmpInterfaceEntry
  91. #define sf_igmpInterfaceVersion set_igmpInterfaceEntry
  92. #define sf_igmpInterfaceQueryMaxResponseTime set_igmpInterfaceEntry
  93. #define sf_igmpInterfaceRobustness set_igmpInterfaceEntry
  94. #define sf_igmpInterfaceLastMembQueryInterval set_igmpInterfaceEntry
  95. #define sf_igmpInterfaceProxyIfIndex set_igmpInterfaceEntry
  96. #define sb_igmpInterfaceIfIndex sav_igmpInterfaceEntry
  97. #define sb_igmpInterfaceQueryInterval sav_igmpInterfaceEntry
  98. #define sb_igmpInterfaceStatus sav_igmpInterfaceEntry
  99. #define sb_igmpInterfaceVersion sav_igmpInterfaceEntry
  100. #define sb_igmpInterfaceQueryMaxResponseTime sav_igmpInterfaceEntry
  101. #define sb_igmpInterfaceRobustness sav_igmpInterfaceEntry
  102. #define sb_igmpInterfaceLastMembQueryInterval sav_igmpInterfaceEntry
  103. #define sb_igmpInterfaceProxyIfIndex sav_igmpInterfaceEntry
  104. ///////////////////////////////////////////////////////////////////////////////
  105. // //
  106. // igmpCacheEntry table (1,3,6,1,3,59,1,1,2,1) //
  107. // //
  108. ///////////////////////////////////////////////////////////////////////////////
  109. UINT
  110. get_igmpCacheEntry(
  111. UINT ActionId,
  112. AsnAny * ObjectArray,
  113. UINT * ErrorIndex
  114. );
  115. UINT
  116. set_igmpCacheEntry(
  117. UINT ActionId,
  118. AsnAny * ObjectArray,
  119. UINT * ErrorIndex
  120. );
  121. typedef struct _buf_igmpCacheEntry {
  122. AsnAny igmpCacheAddress;
  123. AsnAny igmpCacheIfIndex;
  124. AsnAny igmpCacheSelf;
  125. AsnAny igmpCacheLastReporter;
  126. AsnAny igmpCacheUpTime;
  127. AsnAny igmpCacheExpiryTime;
  128. AsnAny igmpCacheStatus;
  129. AsnAny igmpCacheVersion1HostTimer;
  130. DWORD igmpCacheAddressBuf;
  131. DWORD igmpCacheLastReporterBuf;
  132. } buf_igmpCacheEntry;
  133. typedef struct _sav_igmpCacheEntry {
  134. AsnAny igmpCacheAddress;
  135. AsnAny igmpCacheIfIndex;
  136. AsnAny igmpCacheSelf;
  137. AsnAny igmpCacheStatus;
  138. } sav_igmpCacheEntry;
  139. #define gf_igmpCacheAddress get_igmpCacheEntry
  140. #define gf_igmpCacheIfIndex get_igmpCacheEntry
  141. #define gf_igmpCacheSelf get_igmpCacheEntry
  142. #define gf_igmpCacheLastReporter get_igmpCacheEntry
  143. #define gf_igmpCacheUpTime get_igmpCacheEntry
  144. #define gf_igmpCacheExpiryTime get_igmpCacheEntry
  145. #define gf_igmpCacheStatus get_igmpCacheEntry
  146. #define gf_igmpCacheVersion1HostTimer get_igmpCacheEntry
  147. #define gb_igmpCacheAddress buf_igmpCacheEntry
  148. #define gb_igmpCacheIfIndex buf_igmpCacheEntry
  149. #define gb_igmpCacheSelf buf_igmpCacheEntry
  150. #define gb_igmpCacheLastReporter buf_igmpCacheEntry
  151. #define gb_igmpCacheUpTime buf_igmpCacheEntry
  152. #define gb_igmpCacheExpiryTime buf_igmpCacheEntry
  153. #define gb_igmpCacheStatus buf_igmpCacheEntry
  154. #define gb_igmpCacheVersion1HostTimer buf_igmpCacheEntry
  155. #define sf_igmpCacheAddress set_igmpCacheEntry
  156. #define sf_igmpCacheIfIndex set_igmpCacheEntry
  157. #define sf_igmpCacheSelf set_igmpCacheEntry
  158. #define sf_igmpCacheStatus set_igmpCacheEntry
  159. #define sb_igmpCacheAddress sav_igmpCacheEntry
  160. #define sb_igmpCacheIfIndex sav_igmpCacheEntry
  161. #define sb_igmpCacheSelf sav_igmpCacheEntry
  162. #define sb_igmpCacheStatus sav_igmpCacheEntry
  163. #endif // _MIBFUNCS_H_