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.

57 lines
1.1 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: valacct.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CValAccounting 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 _VALACCT_H_
  16. #define _VALACCT_H_
  17. #include "packetradius.h"
  18. #include "validator.h"
  19. #include "hashmd5.h"
  20. #include "sendtopipe.h"
  21. class CValidator;
  22. class CValAccounting : public CValidator
  23. {
  24. public:
  25. //
  26. // validates the inbound RADIUS packet
  27. //
  28. HRESULT ValidateInPacket(
  29. /*[in]*/ CPacketRadius *pCPacketRadius
  30. );
  31. //
  32. // constructor
  33. //
  34. CValAccounting();
  35. //
  36. // destructor
  37. //
  38. virtual ~CValAccounting();
  39. private:
  40. //
  41. // authenticates the inbound RADIUS packet
  42. //
  43. HRESULT AuthenticatePacket (
  44. /*[in]*/ CPacketRadius *pCPacketRadius
  45. );
  46. };
  47. #endif // ifndef _VALACCT_H_