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.
63 lines
1.3 KiB
63 lines
1.3 KiB
//#--------------------------------------------------------------
|
|
//
|
|
// File: procacct.h
|
|
//
|
|
// Synopsis: This file holds the declarations of the
|
|
// CProcAcctReq class
|
|
//
|
|
//
|
|
// History: 10/20/97 MKarki Created
|
|
//
|
|
// Copyright (C) 1997-98 Microsoft Corporation
|
|
// All rights reserved.
|
|
//
|
|
//----------------------------------------------------------------
|
|
#ifndef _PROCACCT_H_
|
|
#define _PROCACCT_H_
|
|
|
|
#include "packetradius.h"
|
|
#include "hashmd5.h"
|
|
#include "packetsender.h"
|
|
#include "sendtopipe.h"
|
|
|
|
class CPreValidator;
|
|
|
|
class CProcAccounting
|
|
{
|
|
|
|
public:
|
|
|
|
//
|
|
// initialize the CProcAccounting class object
|
|
//
|
|
BOOL Init (
|
|
/*[in]*/ CPreValidator *pCreValidator,
|
|
/*[in]*/ CPacketSender *pCPacketSender,
|
|
/*[in]*/ CSendToPipe *pCSendToPipe
|
|
);
|
|
//
|
|
// process out bound accounting packet
|
|
//
|
|
HRESULT ProcessOutPacket (
|
|
/*[in]*/ CPacketRadius *pCPacketRadius
|
|
);
|
|
//
|
|
// constructor
|
|
//
|
|
CProcAccounting();
|
|
|
|
//
|
|
// destructor
|
|
//
|
|
virtual ~CProcAccounting();
|
|
|
|
private:
|
|
|
|
CPreValidator *m_pCPreValidator;
|
|
|
|
CPacketSender *m_pCPacketSender;
|
|
|
|
CSendToPipe *m_pCSendToPipe;
|
|
};
|
|
|
|
#endif // ifndef _PROCACCT_H_
|