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.

73 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1992-1996 Microsoft Corporation
  3. Module Name:
  4. odom_tbl.h
  5. Abstract:
  6. Define the structures and routines used in the other domain 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 odom_tbl_h
  14. #define odom_tbl_h
  15. //--------------------------- PUBLIC CONSTANTS ------------------------------
  16. #include <snmp.h>
  17. #define ODOM_NAME_FIELD 1
  18. //--------------------------- PUBLIC STRUCTS --------------------------------
  19. // Entries in the other domain table
  20. typedef struct dom_other_entry
  21. {
  22. AsnObjectIdentifier Oid;
  23. AsnDisplayString domOtherName;
  24. } DOM_OTHER_ENTRY;
  25. // Other domain table definition
  26. typedef struct
  27. {
  28. UINT Len;
  29. DOM_OTHER_ENTRY *Table;
  30. } DOM_OTHER_TABLE;
  31. //--------------------------- PUBLIC VARIABLES --(same as in module.c file)--
  32. extern DOM_OTHER_TABLE MIB_DomOtherDomainTable;
  33. //--------------------------- PUBLIC PROTOTYPES -----------------------------
  34. SNMPAPI MIB_odoms_lmget(
  35. void
  36. );
  37. int MIB_odoms_match(
  38. IN AsnObjectIdentifier *Oid,
  39. OUT UINT *Pos
  40. );
  41. UINT MIB_odoms_lmset(
  42. IN AsnObjectIdentifier *Index,
  43. IN UINT Field,
  44. IN AsnAny *Value
  45. );
  46. //------------------------------- END ---------------------------------------
  47. #endif /* odom_tbl_h */