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.

64 lines
1.6 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: valproxy.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CValProxy class
  7. //
  8. //
  9. // History: 10/14/97 MKarki Created
  10. //
  11. // Copyright (C) 1997-2001 Microsoft Corporation
  12. // All rights reserved.
  13. //
  14. //----------------------------------------------------------------
  15. #ifndef _VALPRXYPKT_H_
  16. #define _VALPRXYPKT_H_
  17. #include "packetradius.h"
  18. #include "validator.h"
  19. #include "valattrib.h"
  20. #include "clients.h"
  21. #include "hashmd5.h"
  22. #include "preprocessor.h"
  23. #include "valproxy.h"
  24. #include "sendtopipe.h"
  25. class CReportEvent;
  26. class CValProxy : public CValidator
  27. {
  28. public:
  29. BOOL Init (
  30. /*[in]*/ CValAttributes *pCValAttributes,
  31. /*[in]*/ CPreProcessor *pCPreProcessor,
  32. /*[in]*/ CClients *pCClients,
  33. /*[in]*/ CHashMD5 *pCHashMD5,
  34. /*[in]*/ CSendToPipe *pCSendToPipe,
  35. /*[in]*/ CReportEvent *pCReportEvent
  36. );
  37. virtual HRESULT ValidateOutPacket (
  38. /*[in]*/ CPacketRadius *pCPacketRadius
  39. );
  40. virtual HRESULT ValidateInPacket (
  41. /*[in]*/ CPacketRadius *pCPacketRadius
  42. );
  43. CValProxy(VOID);
  44. virtual ~CValProxy(VOID);
  45. private:
  46. HRESULT AuthenticatePacket (
  47. /*[in]*/ CPacketRadius *pCPacketRadius,
  48. /*[in]*/ PBYTE pbyAuthenticator
  49. );
  50. CSendToPipe *m_pCSendToPipe;
  51. };
  52. #endif // #ifndef _VALPRXYPKT_H_