Source code of Windows XP (NT5)
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.

67 lines
1.4 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: procacct.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CProcAcctReq class
  7. //
  8. //
  9. // History: 10/20/97 MKarki Created
  10. //
  11. // Copyright (C) 1997-98 Microsoft Corporation
  12. // All rights reserved.
  13. //
  14. //----------------------------------------------------------------
  15. #ifndef _PROCACCT_H_
  16. #define _PROCACCT_H_
  17. #include "packetradius.h"
  18. #include "hashmd5.h"
  19. #include "proxystate.h"
  20. #include "packetsender.h"
  21. #include "sendtopipe.h"
  22. class CPreValidator;
  23. class CProcAccounting
  24. {
  25. public:
  26. //
  27. // initialize the CProcAccounting class object
  28. //
  29. BOOL Init (
  30. /*[in]*/ CPreValidator *pCreValidator,
  31. /*[in]*/ CProxyState *pCProxyState,
  32. /*[in]*/ CPacketSender *pCPacketSender,
  33. /*[in]*/ CSendToPipe *pCSendToPipe
  34. );
  35. //
  36. // process out bound accounting packet
  37. //
  38. HRESULT ProcessOutPacket (
  39. /*[in]*/ CPacketRadius *pCPacketRadius
  40. );
  41. //
  42. // constructor
  43. //
  44. CProcAccounting();
  45. //
  46. // destructor
  47. //
  48. virtual ~CProcAccounting();
  49. private:
  50. CPreValidator *m_pCPreValidator;
  51. CProxyState *m_pCProxyState;
  52. CPacketSender *m_pCPacketSender;
  53. CSendToPipe *m_pCSendToPipe;
  54. };
  55. #endif // ifndef _PROCACCT_H_