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.

71 lines
1.5 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: procaccess.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CProcAccess class
  7. //
  8. //
  9. // History: 10/20/97 MKarki Created
  10. //
  11. // Copyright (C) 1997-98 Microsoft Corporation
  12. // All rights reserved.
  13. //
  14. //----------------------------------------------------------------
  15. #ifndef _PROCACCESS_H_
  16. #define _PROCACCESS_H_
  17. #include "packetradius.h"
  18. #include "hashmd5.h"
  19. #include "sendtopipe.h"
  20. class CPreValidator;
  21. class CProcAccess
  22. {
  23. public:
  24. //
  25. // initialize the CProcAccess class object
  26. //
  27. BOOL Init (
  28. /*[in]*/ CPreValidator *pCPreValidator,
  29. /*[in]*/ CHashMD5 *pCHashMD5,
  30. /*[in]*/ CSendToPipe *pCSendToPipe
  31. );
  32. //
  33. // process out bound RADUS packet
  34. //
  35. HRESULT ProcessOutPacket (
  36. /*[in]*/ CPacketRadius *pCPacketRadius
  37. );
  38. //
  39. // process in bound RADUS packet
  40. //
  41. HRESULT ProcessInPacket (
  42. /*[in]*/ CPacketRadius *pCPacketRadius
  43. );
  44. //
  45. // constructor
  46. //
  47. CProcAccess();
  48. //
  49. // destructor
  50. //
  51. virtual ~CProcAccess();
  52. private:
  53. CPreValidator *m_pCPreValidator;
  54. CHashMD5 *m_pCHashMD5;
  55. CSendToPipe *m_pCSendToPipe;
  56. };
  57. #endif // ifndef _PROCACCESS_H_