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.

58 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1992-1996 Microsoft Corporation
  3. Module Name:
  4. hash.h
  5. Abstract:
  6. Constants, types, and prototypes for Hash Table and supporting functions.
  7. Environment:
  8. User Mode - Win32
  9. Revision History:
  10. 10-May-1996 DonRyan
  11. Removed banner from Technology Dynamics, Inc.
  12. --*/
  13. #ifndef hash_h
  14. #define hash_h
  15. //--------------------------- PUBLIC CONSTANTS ------------------------------
  16. #include <snmp.h>
  17. #include "mib.h"
  18. //--------------------------- PUBLIC STRUCTS --------------------------------
  19. //--------------------------- PUBLIC VARIABLES --(same as in module.c file)--
  20. //--------------------------- PUBLIC PROTOTYPES -----------------------------
  21. SNMPAPI MIB_HashInit(
  22. void
  23. );
  24. UINT MIB_Hash(
  25. IN AsnObjectIdentifier *Oid // OID to hash
  26. );
  27. MIB_ENTRY *MIB_HashLookup(
  28. IN AsnObjectIdentifier *Oid // OID to lookup
  29. );
  30. #ifdef MIB_DEBUG
  31. void MIB_HashPerformance( void );
  32. #endif
  33. //------------------------------- END ---------------------------------------
  34. #endif /* hash_h */