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.

69 lines
1.6 KiB

  1. /////////////////////////////////////////////////////////////////////////////// //
  2. // FILE
  3. //
  4. // EAP.h
  5. //
  6. // SYNOPSIS
  7. //
  8. // This file declares the class EAP.
  9. //
  10. // MODIFICATION HISTORY
  11. //
  12. // 02/12/1998 Original version.
  13. //
  14. ///////////////////////////////////////////////////////////////////////////////
  15. #ifndef _EAP_H_
  16. #define _EAP_H_
  17. #include <sdoias.h>
  18. #include <iastl.h>
  19. using namespace IASTL;
  20. #include <eapsessiontable.h>
  21. class EAPTypes;
  22. ///////////////////////////////////////////////////////////////////////////////
  23. //
  24. // CLASS
  25. //
  26. // EAP
  27. //
  28. // DESCRIPTION
  29. //
  30. // This class implements the EAP request handler.
  31. //
  32. ///////////////////////////////////////////////////////////////////////////////
  33. class ATL_NO_VTABLE EAP
  34. : public IASRequestHandlerSync,
  35. public CComCoClass<EAP, &__uuidof(EAP)>
  36. {
  37. public:
  38. IAS_DECLARE_REGISTRY(EAP, 1, 0, IASTypeLibrary)
  39. IAS_DECLARE_OBJECT_ID(IAS_PROVIDER_MICROSOFT_EAP)
  40. BEGIN_IAS_RESPONSE_MAP()
  41. IAS_RESPONSE_ENTRY(IAS_RESPONSE_INVALID)
  42. END_IAS_RESPONSE_MAP()
  43. //////////
  44. // IIasComponent.
  45. //////////
  46. STDMETHOD(Initialize)();
  47. STDMETHOD(Shutdown)();
  48. STDMETHOD(PutProperty)(LONG Id, VARIANT* pValue);
  49. protected:
  50. // Main request processing routine.
  51. virtual IASREQUESTSTATUS onSyncRequest(IRequest* pRequest) throw ();
  52. EAPSessionTable sessions; // Active sessions.
  53. static EAPTypes theTypes; // EAP extension DLL's.
  54. // Give access to the static member variable theTypes
  55. friend void EAPType::storeNameId(IASRequest& request);
  56. };
  57. #endif //_EAP_H_