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.

149 lines
3.3 KiB

  1. /*++
  2. Copyright (c) 1992-1996 Microsoft Corporation
  3. Module Name:
  4. mibfuncs.h
  5. Abstract:
  6. All constants, types, and prototypes to support the MIB manipulation
  7. functions.
  8. Environment:
  9. User Mode - Win32
  10. Revision History:
  11. 10-May-1996 DonRyan
  12. Removed banner from Technology Dynamics, Inc.
  13. --*/
  14. #ifndef mibfuncs_h
  15. #define mibfuncs_h
  16. //--------------------------- PUBLIC CONSTANTS ------------------------------
  17. #include <snmp.h>
  18. #include "mib.h"
  19. //--------------------------- PUBLIC STRUCTS --------------------------------
  20. // Return type from LAN Manager conver functions
  21. typedef struct lan_return_info_type {
  22. unsigned int size ;
  23. unsigned int data_element_type;
  24. union {
  25. AsnInteger intval;
  26. AsnOctetString octstrval;
  27. } d ;
  28. } lan_return_info_type ;
  29. //--------------------------- PUBLIC VARIABLES --(same as in module.c file)--
  30. //--------------------------- PUBLIC PROTOTYPES -----------------------------
  31. void * MIB_common_func(
  32. IN UINT Action, // Action to perform on Data
  33. IN LDATA LMData, // LM Data to manipulate
  34. IN void *SetData // Data to use in a SET
  35. );
  36. void * MIB_server_func(
  37. IN UINT Action, // Action to perform on Data
  38. IN LDATA LMData, // LM Data to manipulate
  39. IN void *SetData // Data to use in a SET
  40. );
  41. void * MIB_workstation_func(
  42. IN UINT Action, // Action to perform on Data
  43. IN LDATA LMData, // LM Data to manipulate
  44. IN void *SetData // Data to use in a SET
  45. );
  46. void * MIB_domain_func(
  47. IN UINT Action, // Action to perform on Data
  48. IN LDATA LMData, // LM Data to manipulate
  49. IN void *SetData // Data to use in a SET
  50. );
  51. UINT MIB_srvcs_func(
  52. IN UINT Action,
  53. IN MIB_ENTRY *MibPtr,
  54. IN OUT RFC1157VarBind *VarBind
  55. );
  56. UINT MIB_sess_func(
  57. IN UINT Action,
  58. IN MIB_ENTRY *MibPtr,
  59. IN OUT RFC1157VarBind *VarBind
  60. );
  61. UINT MIB_users_func(
  62. IN UINT Action,
  63. IN MIB_ENTRY *MibPtr,
  64. IN OUT RFC1157VarBind *VarBind
  65. );
  66. UINT MIB_shares_func(
  67. IN UINT Action,
  68. IN MIB_ENTRY *MibPtr,
  69. IN OUT RFC1157VarBind *VarBind
  70. );
  71. UINT MIB_prntq_func(
  72. IN UINT Action,
  73. IN MIB_ENTRY *MibPtr,
  74. IN OUT RFC1157VarBind *VarBind
  75. );
  76. UINT MIB_wsuses_func(
  77. IN UINT Action,
  78. IN MIB_ENTRY *MibPtr,
  79. IN OUT RFC1157VarBind *VarBind
  80. );
  81. UINT MIB_odoms_func(
  82. IN UINT Action,
  83. IN MIB_ENTRY *MibPtr,
  84. IN OUT RFC1157VarBind *VarBind
  85. );
  86. UINT MIB_svsond_func(
  87. IN UINT Action,
  88. IN MIB_ENTRY *MibPtr,
  89. IN OUT RFC1157VarBind *VarBind
  90. );
  91. UINT MIB_dlogons_func(
  92. IN UINT Action,
  93. IN MIB_ENTRY *MibPtr,
  94. IN OUT RFC1157VarBind *VarBind
  95. );
  96. UINT MIB_leaf_func(
  97. IN UINT Action,
  98. IN MIB_ENTRY *MibPtr,
  99. IN RFC1157VarBind *VarBind
  100. );
  101. //
  102. // Prototype for AdminFilter function
  103. //
  104. VOID
  105. AdminFilter(
  106. DWORD Level,
  107. LPDWORD pEntriesRead,
  108. LPBYTE ShareInfo
  109. );
  110. //------------------------------- END ---------------------------------------
  111. #endif /* mibfuncs_h */