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.
 
 
 
 
 
 

109 lines
1.7 KiB

///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1998, Microsoft Corp. All rights reserved.
//
// FILE
//
// snmputil.h
//
// SYNOPSIS
//
// Declares various utility functions for computing MIB variables.
//
// MODIFICATION HISTORY
//
// 09/11/1998 Original version.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef _SNMPUTIL_H_
#define _SNMPUTIL_H_
#if _MSC_VER >= 1000
#pragma once
#endif
#include <iasinfo.h>
#include <snmp.h>
// .iso.org.dod.internet.mgmt.mib-2 .1.3.6.1.2.1
#define OID_mgmt_mib_2 1,3,6,1,2,1
//////////
// OID of the 'RADIUS' sub-tree.
//////////
#define OID_radiusMIB OID_mgmt_mib_2,67
#ifdef __cplusplus
extern "C" {
#endif
VOID
WINAPI
GetServerIdentity(
OUT AsnAny* value
);
VOID
WINAPI
GetServerUpTime(
OUT AsnAny* value
);
VOID
WINAPI
GetServerResetTime(
OUT AsnAny* value
);
VOID
WINAPI
GetServerConfigReset(
OUT AsnAny* value
);
AsnInteger32
WINAPI
SetServerConfigReset(
IN AsnAny* value
);
VOID
WINAPI
GetTotalCounter(
IN RadiusClientCounter counter,
OUT AsnAny* value
);
VOID
WINAPI
GetServerCounter(
IN RadiusServerCounter counter,
OUT AsnAny* value
);
VOID
WINAPI
GetClientAddress(
IN UINT client,
OUT AsnAny* value
);
VOID
WINAPI
GetClientIdentity(
IN UINT client,
OUT AsnAny* value
);
VOID
WINAPI
GetClientCounter(
IN UINT client,
IN RadiusClientCounter counter,
OUT AsnAny* value
);
#ifdef __cplusplus
}
#endif
#endif // _SNMPUTIL_H_