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.

66 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1992-1996 Microsoft Corporation
  3. Module Name:
  4. uses_tbl.h
  5. Abstract:
  6. Define the structures and routines used in the workstation uses table.
  7. Environment:
  8. User Mode - Win32
  9. Revision History:
  10. 10-May-1996 DonRyan
  11. Removed banner from Technology Dynamics, Inc.
  12. --*/
  13. #ifndef uses_tbl_h
  14. #define uses_tbl_h
  15. //--------------------------- PUBLIC CONSTANTS ------------------------------
  16. #include <snmp.h>
  17. #define USES_LOCAL_FIELD 1
  18. #define USES_REMOTE_FIELD 2
  19. #define USES_STATUS_FIELD 3
  20. //--------------------------- PUBLIC STRUCTS --------------------------------
  21. // Entries in the workstation uses table
  22. typedef struct wksta_uses_entry
  23. {
  24. AsnObjectIdentifier Oid;
  25. AsnDisplayString useLocalName; // Index
  26. AsnDisplayString useRemote; // Index
  27. AsnInteger useStatus;
  28. } WKSTA_USES_ENTRY;
  29. // Workstation uses table definition
  30. typedef struct
  31. {
  32. UINT Len;
  33. WKSTA_USES_ENTRY *Table;
  34. } WKSTA_USES_TABLE;
  35. //--------------------------- PUBLIC VARIABLES --(same as in module.c file)--
  36. extern WKSTA_USES_TABLE MIB_WkstaUsesTable;
  37. //--------------------------- PUBLIC PROTOTYPES -----------------------------
  38. SNMPAPI MIB_wsuses_lmget(
  39. void
  40. );
  41. //------------------------------- END ---------------------------------------
  42. #endif /* uses_tbl_h */