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.

68 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 "proxystate.h"
  22. #include "hashmd5.h"
  23. #include "preprocessor.h"
  24. #include "valproxy.h"
  25. #include "sendtopipe.h"
  26. class CReportEvent;
  27. class CValProxy : public CValidator
  28. {
  29. public:
  30. BOOL Init (
  31. /*[in]*/ CValAttributes *pCValAttributes,
  32. /*[in]*/ CPreProcessor *pCPreProcessor,
  33. /*[in]*/ CClients *pCClients,
  34. /*[in]*/ CHashMD5 *pCHashMD5,
  35. /*[in]*/ CProxyState *pCProxyState,
  36. /*[in]*/ CSendToPipe *pCSendToPipe,
  37. /*[in]*/ CReportEvent *pCReportEvent
  38. );
  39. virtual HRESULT ValidateOutPacket (
  40. /*[in]*/ CPacketRadius *pCPacketRadius
  41. );
  42. virtual HRESULT ValidateInPacket (
  43. /*[in]*/ CPacketRadius *pCPacketRadius
  44. );
  45. CValProxy(VOID);
  46. virtual ~CValProxy(VOID);
  47. private:
  48. HRESULT AuthenticatePacket (
  49. /*[in]*/ CPacketRadius *pCPacketRadius,
  50. /*[in]*/ PBYTE pbyAuthenticator
  51. );
  52. CProxyState *m_pCProxyState;
  53. CSendToPipe *m_pCSendToPipe;
  54. };
  55. #endif // #ifndef _VALPRXYPKT_H_