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.
57 lines
1.1 KiB
57 lines
1.1 KiB
//#--------------------------------------------------------------
|
|
//
|
|
// File: valacct.h
|
|
//
|
|
// Synopsis: This file holds the declarations of the
|
|
// CValAccounting class
|
|
//
|
|
//
|
|
// History: 10/20/97 MKarki Created
|
|
//
|
|
// Copyright (C) 1997-98 Microsoft Corporation
|
|
// All rights reserved.
|
|
//
|
|
//----------------------------------------------------------------
|
|
#ifndef _VALACCT_H_
|
|
#define _VALACCT_H_
|
|
|
|
#include "packetradius.h"
|
|
#include "validator.h"
|
|
#include "hashmd5.h"
|
|
#include "sendtopipe.h"
|
|
|
|
class CValidator;
|
|
|
|
class CValAccounting : public CValidator
|
|
{
|
|
|
|
public:
|
|
|
|
//
|
|
// validates the inbound RADIUS packet
|
|
//
|
|
HRESULT ValidateInPacket(
|
|
/*[in]*/ CPacketRadius *pCPacketRadius
|
|
);
|
|
|
|
//
|
|
// constructor
|
|
//
|
|
CValAccounting();
|
|
|
|
//
|
|
// destructor
|
|
//
|
|
virtual ~CValAccounting();
|
|
|
|
private:
|
|
|
|
//
|
|
// authenticates the inbound RADIUS packet
|
|
//
|
|
HRESULT AuthenticatePacket (
|
|
/*[in]*/ CPacketRadius *pCPacketRadius
|
|
);
|
|
};
|
|
|
|
#endif // ifndef _VALACCT_H_
|