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.

63 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1992-1996 Microsoft Corporation
  3. Module Name:
  4. user_tbl.h
  5. Abstract:
  6. Define all structures and routines for user 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 user_tbl_h
  14. #define user_tbl_h
  15. //--------------------------- PUBLIC CONSTANTS ------------------------------
  16. #include <snmp.h>
  17. #define USER_NAME_FIELD 1
  18. //--------------------------- PUBLIC STRUCTS --------------------------------
  19. // Entries in the user table
  20. typedef struct user_entry
  21. {
  22. AsnObjectIdentifier Oid;
  23. AsnDisplayString svUserName; // Index
  24. } USER_ENTRY;
  25. // User table definition
  26. typedef struct
  27. {
  28. UINT Len;
  29. USER_ENTRY *Table;
  30. } USER_TABLE;
  31. //--------------------------- PUBLIC VARIABLES --(same as in module.c file)--
  32. extern USER_TABLE MIB_UserTable;
  33. //--------------------------- PUBLIC PROTOTYPES -----------------------------
  34. SNMPAPI MIB_users_lmget(
  35. void
  36. );
  37. //------------------------------- END ---------------------------------------
  38. #endif /* user_tbl_h */