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.

82 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 "reportevent.h"
  23. #include "clients.h"
  24. #include "valaccess.h"
  25. #include "valacct.h"
  26. #include "valproxy.h"
  27. #include "sendtopipe.h"
  28. class CPreValidator
  29. {
  30. public:
  31. //
  32. // initialize the CPreValidator class object
  33. //
  34. BOOL Init (
  35. /*[in]*/ CDictionary *pCDictionary,
  36. /*[in]*/ CPreProcessor *pCPreProcessor,
  37. /*[in]*/ CClients *pCClients,
  38. /*[in]*/ CHashMD5 *pCHashMD5,
  39. /*[in]*/ CSendToPipe *pCSendToPipe,
  40. /*[in]*/ CReportEvent *pCReportEvent
  41. );
  42. //
  43. // start the validation of the outbound packet
  44. //
  45. HRESULT StartOutValidation (
  46. /*[in]*/ CPacketRadius *pCPacketRadius
  47. );
  48. //
  49. // start the validation of the inbound packet
  50. //
  51. HRESULT StartInValidation (
  52. /*[in]*/ CPacketRadius *pCPacketRadius
  53. );
  54. //
  55. // constructor
  56. //
  57. CPreValidator(VOID);
  58. //
  59. // destructor
  60. //
  61. virtual ~CPreValidator(VOID);
  62. private:
  63. CValAccounting *m_pCValAccounting;
  64. CValProxy *m_pCValProxy;
  65. CValAccess *m_pCValAccess;
  66. CValAttributes *m_pCValAttributes;
  67. };
  68. #endif // ifndef _PREVALIDATOR_H_