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
52 lines
1.2 KiB
/*++
|
|
|
|
Copyright (c) 1992-1996 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
oidconv.h
|
|
|
|
Abstract:
|
|
|
|
Routines to manage conversions between OID descriptions and numerical OIDs.
|
|
|
|
Environment:
|
|
|
|
User Mode - Win32
|
|
|
|
Revision History:
|
|
|
|
10-May-1996 DonRyan
|
|
Removed banner from Technology Dynamics, Inc.
|
|
|
|
--*/
|
|
|
|
#ifndef oidconv_h
|
|
#define oidconv_h
|
|
|
|
//--------------------------- PUBLIC CONSTANTS ------------------------------
|
|
|
|
#include <snmp.h>
|
|
|
|
|
|
//--------------------------- PUBLIC STRUCTS --------------------------------
|
|
|
|
//--------------------------- PUBLIC VARIABLES --(same as in module.c file)--
|
|
|
|
extern LPSTR lpInputFileName; /* name to used when converting OID <--> TEXT */
|
|
|
|
//--------------------------- PUBLIC PROTOTYPES -----------------------------
|
|
|
|
SNMPAPI SnmpMgrOid2Text(
|
|
IN AsnObjectIdentifier *Oid, // Pointer to OID to convert
|
|
OUT LPSTR *String // Resulting text OID
|
|
);
|
|
|
|
SNMPAPI SnmpMgrText2Oid(
|
|
IN LPSTR lpszTextOid, // Pointer to text OID to convert
|
|
IN OUT AsnObjectIdentifier *Oid // Resulting numeric OID
|
|
);
|
|
|
|
//------------------------------- END ---------------------------------------
|
|
|
|
#endif /* oidconv_h */
|