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.

97 lines
2.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: R A S D A T A . H
  7. //
  8. // Contents: Declaration of data structures used by RAS configuration.
  9. //
  10. // Notes:
  11. //
  12. // Author: shaunco 13 Mar 1997
  13. //
  14. //----------------------------------------------------------------------------
  15. #pragma once
  16. #include "netcfgx.h"
  17. //+---------------------------------------------------------------------------
  18. // DATA_SRV_CFG
  19. //
  20. enum SRV_ROUTER_TYPE
  21. {
  22. RT_RAS = 0x01,
  23. RT_LAN = 0x02,
  24. RT_WAN = 0x04,
  25. RT_INVALID = 0x08
  26. };
  27. struct DATA_SRV_CFG
  28. {
  29. DWORD dwRouterType;
  30. BOOL fMultilink;
  31. DWORD dwAuthLevel;
  32. BOOL fDataEnc;
  33. BOOL fStrongDataEnc;
  34. DWORD dwSecureVPN;
  35. VOID SaveToReg () const;
  36. VOID CheckAndDefault ();
  37. VOID GetDefault ();
  38. };
  39. //+---------------------------------------------------------------------------
  40. // DATA_SRV_IP
  41. //
  42. struct DATA_SRV_IP
  43. {
  44. BOOL fEnableIn;
  45. BOOL fAllowNetworkAccess;
  46. BOOL fUseDhcp;
  47. BOOL fAllowClientAddr;
  48. DWORD dwIpStart;
  49. DWORD dwIpEnd;
  50. VOID SaveToReg () const;
  51. VOID CheckAndDefault ();
  52. VOID GetDefault ();
  53. };
  54. //+---------------------------------------------------------------------------
  55. // DATA_SRV_IPX
  56. //
  57. struct DATA_SRV_IPX
  58. {
  59. BOOL fEnableIn;
  60. BOOL fAllowNetworkAccess;
  61. BOOL fUseAutoAddr;
  62. BOOL fUseSameNetNum;
  63. BOOL fAllowClientNetNum;
  64. DWORD dwIpxNetFirst;
  65. DWORD dwIpxWanPoolSize;
  66. VOID SaveToReg () const;
  67. VOID CheckAndDefault ();
  68. VOID GetDefault ();
  69. };
  70. //+---------------------------------------------------------------------------
  71. // DATA_SRV_NBF
  72. //
  73. struct DATA_SRV_NBF
  74. {
  75. BOOL fEnableIn;
  76. BOOL fAllowNetworkAccess;
  77. VOID SaveToReg () const;
  78. VOID CheckAndDefault ();
  79. VOID GetDefault ();
  80. };