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.

53 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1992-1996 Microsoft Corporation
  3. Module Name:
  4. oidconv.h
  5. Abstract:
  6. Routines to manage conversions between OID descriptions and numerical OIDs.
  7. Environment:
  8. User Mode - Win32
  9. Revision History:
  10. 10-May-1996 DonRyan
  11. Removed banner from Technology Dynamics, Inc.
  12. --*/
  13. #ifndef oidconv_h
  14. #define oidconv_h
  15. //--------------------------- PUBLIC CONSTANTS ------------------------------
  16. #include <snmp.h>
  17. #include "mibtree.h"
  18. //--------------------------- PUBLIC STRUCTS --------------------------------
  19. //--------------------------- PUBLIC VARIABLES --(same as in module.c file)--
  20. extern LPSTR lpInputFileName; /* name to used when converting OID <--> TEXT */
  21. //--------------------------- PUBLIC PROTOTYPES -----------------------------
  22. SNMPAPI SnmpMgrOid2Text(
  23. IN AsnObjectIdentifier *Oid, // Pointer to OID to convert
  24. OUT LPSTR *String // Resulting text OID
  25. );
  26. SNMPAPI SnmpMgrText2Oid(
  27. IN LPSTR lpszTextOid, // Pointer to text OID to convert
  28. IN OUT AsnObjectIdentifier *Oid // Resulting numeric OID
  29. );
  30. //------------------------------- END ---------------------------------------
  31. #endif /* oidconv_h */