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.

82 lines
1.7 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 "proxystate.h"
  20. #include "sendtopipe.h"
  21. class CPreValidator;
  22. class CProcAccess
  23. {
  24. public:
  25. //
  26. // initialize the CProcAccess class object
  27. //
  28. BOOL Init (
  29. /*[in]*/ CPreValidator *pCPreValidator,
  30. /*[in]*/ CHashMD5 *pCHashMD5,
  31. /*[in]*/ CProxyState *pCProxyState,
  32. /*[in]*/ CSendToPipe *pCSendToPipe
  33. );
  34. //
  35. // process out bound RADUS packet
  36. //
  37. HRESULT ProcessOutPacket (
  38. /*[in]*/ CPacketRadius *pCPacketRadius
  39. );
  40. //
  41. // process in bound RADUS packet
  42. //
  43. HRESULT ProcessInPacket (
  44. /*[in]*/ CPacketRadius *pCPacketRadius
  45. );
  46. //
  47. // constructor
  48. //
  49. CProcAccess();
  50. //
  51. // destructor
  52. //
  53. virtual ~CProcAccess();
  54. private:
  55. //
  56. // insert the password in the outbound access request packet
  57. //
  58. BOOL InsertPassword (
  59. /*[in]*/ CPacketRadius *pCPacketRadius
  60. );
  61. CPreValidator *m_pCPreValidator;
  62. CHashMD5 *m_pCHashMD5;
  63. CProxyState *m_pCProxyState;
  64. CSendToPipe *m_pCSendToPipe;
  65. };
  66. #endif // ifndef _PROCACCESS_H_