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.

52 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. //--------------------------- PUBLIC STRUCTS --------------------------------
  18. //--------------------------- PUBLIC VARIABLES --(same as in module.c file)--
  19. extern LPSTR lpInputFileName; /* name to used when converting OID <--> TEXT */
  20. //--------------------------- PUBLIC PROTOTYPES -----------------------------
  21. SNMPAPI SnmpMgrOid2Text(
  22. IN AsnObjectIdentifier *Oid, // Pointer to OID to convert
  23. OUT LPSTR *String // Resulting text OID
  24. );
  25. SNMPAPI SnmpMgrText2Oid(
  26. IN LPSTR lpszTextOid, // Pointer to text OID to convert
  27. IN OUT AsnObjectIdentifier *Oid // Resulting numeric OID
  28. );
  29. //------------------------------- END ---------------------------------------
  30. #endif /* oidconv_h */