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.8 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: preprocessor.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CPreProcessor 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 _PREPROC_H_
  16. #define _PREPROC_H_
  17. #include "packetradius.h"
  18. #include "procaccess.h"
  19. #include "procacct.h"
  20. #include "procresponse.h"
  21. #include "hashmd5.h"
  22. #include "proxystate.h"
  23. class CSendToPipe;
  24. class CPreValidator;
  25. class CPacketSender;
  26. class CReportEvent;
  27. class CPreProcessor
  28. {
  29. public:
  30. //
  31. // initialize the CPreProcessor class object
  32. //
  33. BOOL Init (
  34. /*[in]*/ CPreValidator *pCPreValidator,
  35. /*[in]*/ CHashMD5 *pCHashMD5,
  36. /*[in]*/ CProxyState *pCProxyState,
  37. /*[in]*/ CSendToPipe *pCSendToPipe,
  38. /*[in]*/ CPacketSender *pCPacketSender,
  39. /*[in]*/ CReportEvent *pCReportEvent
  40. );
  41. //
  42. // start pre-processing of outbound RADIUS packet
  43. //
  44. HRESULT StartOutProcessing (
  45. /*[in]*/ CPacketRadius *pCPacketRadius
  46. );
  47. //
  48. // start pre-processing of inbound RADIUS packet
  49. //
  50. HRESULT StartInProcessing (
  51. /*[in]*/ CPacketRadius *pCPacketRadius
  52. );
  53. //
  54. // constructor
  55. //
  56. CPreProcessor(VOID);
  57. //
  58. // destructor
  59. //
  60. virtual ~CPreProcessor(VOID);
  61. private:
  62. CProcAccess *m_pCProcAccess;
  63. CProcAccounting *m_pCProcAccounting;
  64. CProcResponse *m_pCProcResponse;
  65. CSendToPipe *m_pCSendToPipe;
  66. };
  67. #endif // ifndef _PREPROC_H_