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.

54 lines
2.0 KiB

  1. /*****************************************************************************
  2. *
  3. * $Workfile: StdOids.h $
  4. *
  5. * Copyright (C) 1997 Hewlett-Packard Company.
  6. * Copyright (C) 1997 Microsoft Corporation.
  7. * All rights reserved.
  8. *
  9. * 11311 Chinden Blvd.
  10. * Boise, Idaho 83714
  11. *
  12. *****************************************************************************
  13. *
  14. * $Log: /StdTcpMon/TcpMib/StdOids.h $
  15. *
  16. * 4 9/22/97 2:15p Dsnelson
  17. * Updates the device status based on the device index
  18. *
  19. * 3 7/18/97 1:16p Binnur
  20. * Fixed the Hardware address code
  21. *
  22. * 2 7/14/97 2:34p Binnur
  23. * copyright statement
  24. *
  25. * 1 7/08/97 5:18p Binnur
  26. * Initial File
  27. *
  28. * 1 7/02/97 2:25p Binnur
  29. * Initial File
  30. *
  31. *****************************************************************************/
  32. #ifndef INC_OIDLIST_H
  33. #define INC_OIDLIST_H
  34. // Macro to determine number of sub-oid's in array.
  35. #define OID_SIZEOF( Oid ) ( sizeof Oid / sizeof(UINT) )
  36. #define MAX_OIDSTR_SIZE 256
  37. #define MIB_NUMITEMS(mib) ( sizeof(mib)/sizeof(AsnObjectIdentifier) )
  38. // System Groups
  39. extern AsnObjectIdentifier OT_DEVICE_TYPE[]; // identifies the type of device, such as multi-port device
  40. extern AsnObjectIdentifier OT_DEVICE_TCPPORTS[]; // identifies the TCP ports on the device
  41. extern AsnObjectIdentifier OT_DEVICE_ADDRESS[]; // identifies the hardware address of the device
  42. extern AsnObjectIdentifier OT_DEVICE_SYSDESCR[]; // identifies the device manufacturer (description) -- mib2 table
  43. extern AsnObjectIdentifier OT_DEVICE_DESCRIPTION[]; // identifies the device manufacturer -- host resources table
  44. extern AsnObjectIdentifier OT_TEST_PRINTER_MIB[]; // tests the existance of Printer MIB
  45. extern AsnObjectIdentifier PrtMIB_OidPrefix; // identifies the Printer MIB tree
  46. extern AsnObjectIdentifier HRMIB_hrDevicePrinter; // identifies the printer entry in the HR device table
  47. extern AsnObjectIdentifier OID_Mib2_ifTypeTree;
  48. #endif // INC_OIDLIST_H