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.

63 lines
1.3 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 "packetsender.h"
  20. #include "sendtopipe.h"
  21. class CPreValidator;
  22. class CProcAccounting
  23. {
  24. public:
  25. //
  26. // initialize the CProcAccounting class object
  27. //
  28. BOOL Init (
  29. /*[in]*/ CPreValidator *pCreValidator,
  30. /*[in]*/ CPacketSender *pCPacketSender,
  31. /*[in]*/ CSendToPipe *pCSendToPipe
  32. );
  33. //
  34. // process out bound accounting packet
  35. //
  36. HRESULT ProcessOutPacket (
  37. /*[in]*/ CPacketRadius *pCPacketRadius
  38. );
  39. //
  40. // constructor
  41. //
  42. CProcAccounting();
  43. //
  44. // destructor
  45. //
  46. virtual ~CProcAccounting();
  47. private:
  48. CPreValidator *m_pCPreValidator;
  49. CPacketSender *m_pCPacketSender;
  50. CSendToPipe *m_pCSendToPipe;
  51. };
  52. #endif // ifndef _PROCACCT_H_