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.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. class CSendToPipe;
  23. class CPreValidator;
  24. class CPacketSender;
  25. class CReportEvent;
  26. class CPreProcessor
  27. {
  28. public:
  29. //
  30. // initialize the CPreProcessor class object
  31. //
  32. BOOL Init (
  33. /*[in]*/ CPreValidator *pCPreValidator,
  34. /*[in]*/ CHashMD5 *pCHashMD5,
  35. /*[in]*/ CSendToPipe *pCSendToPipe,
  36. /*[in]*/ CPacketSender *pCPacketSender,
  37. /*[in]*/ CReportEvent *pCReportEvent
  38. );
  39. //
  40. // start pre-processing of outbound RADIUS packet
  41. //
  42. HRESULT StartOutProcessing (
  43. /*[in]*/ CPacketRadius *pCPacketRadius
  44. );
  45. //
  46. // start pre-processing of inbound RADIUS packet
  47. //
  48. HRESULT StartInProcessing (
  49. /*[in]*/ CPacketRadius *pCPacketRadius
  50. );
  51. //
  52. // constructor
  53. //
  54. CPreProcessor(VOID);
  55. //
  56. // destructor
  57. //
  58. virtual ~CPreProcessor(VOID);
  59. private:
  60. CProcAccess *m_pCProcAccess;
  61. CProcAccounting *m_pCProcAccounting;
  62. CProcResponse *m_pCProcResponse;
  63. CSendToPipe *m_pCSendToPipe;
  64. };
  65. #endif // ifndef _PREPROC_H_