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.

88 lines
2.6 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright(C) 2000 Microsoft Corporation all rights reserved.
  4. //
  5. // Module: GlobalData.h
  6. //
  7. // Project: Windows 2000 IAS
  8. //
  9. // Description: CGlobalData class
  10. //
  11. // Author: tperraut
  12. //
  13. // Revision 02/24/2000 created
  14. //
  15. /////////////////////////////////////////////////////////////////////////////
  16. #ifndef _GLOBALDATA_H_F4CBA054_88A0_458D_8041_F59414862D5B
  17. #define _GLOBALDATA_H_F4CBA054_88A0_458D_8041_F59414862D5B
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. class CAttributes;
  22. class CClients;
  23. class CDefaultProvider;
  24. class CObjects;
  25. class CProfileAttributeList;
  26. class CProfiles;
  27. class CProperties;
  28. class CProviders;
  29. class CRADIUSAttributeValues;
  30. class CRealms;
  31. class CRemoteRadiusServers;
  32. class CServiceConfiguration;
  33. class CVersion;
  34. // Everything is public (struct)
  35. struct CGlobalData
  36. {
  37. CGlobalData() throw()
  38. :m_pAttributes(NULL),
  39. m_pClients(NULL),
  40. m_pDefaultProvider(NULL),
  41. m_pObjects(NULL),
  42. m_pProfileAttributeList(NULL),
  43. m_pProfiles(NULL),
  44. m_pProperties(NULL),
  45. m_pProviders(NULL),
  46. m_pRADIUSAttributeValues(NULL),
  47. m_pRealms(NULL),
  48. m_pRefObjects(NULL),
  49. m_pRefProperties(NULL),
  50. m_pRefVersion(NULL),
  51. m_pRadiusServers(NULL),
  52. m_pServiceConfiguration(NULL)
  53. {};
  54. ~CGlobalData()
  55. {
  56. Clean();
  57. };
  58. void InitStandard(CSession& Session);
  59. void InitRef(CSession& Session);
  60. void InitNT4(CSession& Session);
  61. void InitDnary(CSession& Session);
  62. void Clean() throw();
  63. CAttributes* m_pAttributes;
  64. CClients* m_pClients;
  65. CDefaultProvider* m_pDefaultProvider;
  66. CObjects* m_pObjects;
  67. CProfileAttributeList* m_pProfileAttributeList;
  68. CProfiles* m_pProfiles;
  69. CProperties* m_pProperties;
  70. CProviders* m_pProviders;
  71. CRADIUSAttributeValues* m_pRADIUSAttributeValues;
  72. CRealms* m_pRealms;
  73. CObjects* m_pRefObjects;
  74. CProperties* m_pRefProperties;
  75. CVersion* m_pRefVersion;
  76. CRemoteRadiusServers* m_pRadiusServers;
  77. CServiceConfiguration* m_pServiceConfiguration;
  78. };
  79. #endif // _GLOBALDATA_H_F4CBA054_88A0_458D_8041_F59414862D5B