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.

84 lines
1.9 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: prevalidator.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CPreValidator class
  7. //
  8. //
  9. // History: 9/23/97 MKarki Created
  10. //
  11. // Copyright (C) 1997-98 Microsoft Corporation
  12. // All rights reserved.
  13. //
  14. //----------------------------------------------------------------
  15. #ifndef _PREVALIDATOR_H_
  16. #define _PREVALIDATOR_H_
  17. #include "packetradius.h"
  18. #include "dictionary.h"
  19. #include "valattrib.h"
  20. #include "hashmd5.h"
  21. #include "preprocessor.h"
  22. #include "proxystate.h"
  23. #include "reportevent.h"
  24. #include "clients.h"
  25. #include "valaccess.h"
  26. #include "valacct.h"
  27. #include "valproxy.h"
  28. #include "sendtopipe.h"
  29. class CPreValidator
  30. {
  31. public:
  32. //
  33. // initialize the CPreValidator class object
  34. //
  35. BOOL Init (
  36. /*[in]*/ CDictionary *pCDictionary,
  37. /*[in]*/ CPreProcessor *pCPreProcessor,
  38. /*[in]*/ CClients *pCClients,
  39. /*[in]*/ CHashMD5 *pCHashMD5,
  40. /*[in]*/ CProxyState *pCProxyState,
  41. /*[in]*/ CSendToPipe *pCSendToPipe,
  42. /*[in]*/ CReportEvent *pCReportEvent
  43. );
  44. //
  45. // start the validation of the outbound packet
  46. //
  47. HRESULT StartOutValidation (
  48. /*[in]*/ CPacketRadius *pCPacketRadius
  49. );
  50. //
  51. // start the validation of the inbound packet
  52. //
  53. HRESULT StartInValidation (
  54. /*[in]*/ CPacketRadius *pCPacketRadius
  55. );
  56. //
  57. // constructor
  58. //
  59. CPreValidator(VOID);
  60. //
  61. // destructor
  62. //
  63. virtual ~CPreValidator(VOID);
  64. private:
  65. CValAccounting *m_pCValAccounting;
  66. CValProxy *m_pCValProxy;
  67. CValAccess *m_pCValAccess;
  68. CValAttributes *m_pCValAttributes;
  69. };
  70. #endif // ifndef _PREVALIDATOR_H_