windows-nt/Source/XPSP1/NT/net/snmp/common/dll/sysoid.c
2020-09-26 16:20:57 +08:00

73 lines
1.8 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
Copyright (c) 1992-1997 Microsoft Corporation
Module Name:
sysoid.c
Abstract:
Contains enterprise oid routine.
SnmpSvcGetEnterpriseOid
Environment:
User Mode - Win32
Revision History:
--*/
///////////////////////////////////////////////////////////////////////////////
// //
// Include files //
// //
///////////////////////////////////////////////////////////////////////////////
#include <snmp.h>
#include <snmputil.h>
///////////////////////////////////////////////////////////////////////////////
// //
// Global Variables //
// //
///////////////////////////////////////////////////////////////////////////////
extern AsnObjectIdentifier * g_pEnterpriseOid;
///////////////////////////////////////////////////////////////////////////////
// //
// Public Procedures //
// //
///////////////////////////////////////////////////////////////////////////////
AsnObjectIdentifier *
SNMP_FUNC_TYPE
SnmpSvcGetEnterpriseOID(
)
/*++
Routine Description:
Retrieves enterprise oid for SNMP process.
Arguments:
None.
Return Values:
Returns pointer to enterprise oid.
--*/
{
// return system oid
return g_pEnterpriseOid;
}