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.

66 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1992-1996 Microsoft Corporation
  3. Module Name:
  4. shar_tbl.h
  5. Abstract:
  6. Define all structures and routines used by the share 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 shar_tbl_h
  14. #define shar_tbl_h
  15. //--------------------------- PUBLIC CONSTANTS ------------------------------
  16. #include <snmp.h>
  17. #define SHARE_NAME_FIELD 1
  18. #define SHARE_PATH_FIELD 2
  19. #define SHARE_COMMENT_FIELD 3
  20. //--------------------------- PUBLIC STRUCTS --------------------------------
  21. // Entries in the share table
  22. typedef struct share_entry
  23. {
  24. AsnObjectIdentifier Oid;
  25. AsnDisplayString svShareName; // Index
  26. AsnDisplayString svSharePath;
  27. AsnDisplayString svShareComment;
  28. } SHARE_ENTRY;
  29. // Share table definition
  30. typedef struct
  31. {
  32. UINT Len;
  33. SHARE_ENTRY *Table;
  34. } SHARE_TABLE;
  35. //--------------------------- PUBLIC VARIABLES --(same as in module.c file)--
  36. extern SHARE_TABLE MIB_ShareTable;
  37. //--------------------------- PUBLIC PROTOTYPES -----------------------------
  38. SNMPAPI MIB_shares_lmget(
  39. void
  40. );
  41. //------------------------------- END ---------------------------------------
  42. #endif /* shar_tbl_h */