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.

103 lines
2.3 KiB

  1. #ifndef _MSCOPEHNDL_H_
  2. #define _MSCOPEHNDL_H_
  3. FN_HANDLE_CMD HandleScopeList;
  4. FN_HANDLE_CMD HandleScopeHelp;
  5. FN_HANDLE_CMD HandleScopeContexts;
  6. FN_HANDLE_CMD HandleScopeDump;
  7. FN_HANDLE_CMD HandleScopeAddIprange;
  8. FN_HANDLE_CMD HandleScopeAddExcluderange;
  9. FN_HANDLE_CMD HandleScopeAddReservedip;
  10. FN_HANDLE_CMD HandleScopeCheckDatabase;
  11. FN_HANDLE_CMD HandleScopeDeleteIprange;
  12. FN_HANDLE_CMD HandleScopeDeleteExcluderange;
  13. FN_HANDLE_CMD HandleScopeDeleteReservedip;
  14. FN_HANDLE_CMD HandleScopeDeleteOptionvalue;
  15. FN_HANDLE_CMD HandleScopeDeleteReservedoptionvalue;
  16. FN_HANDLE_CMD HandleScopeSetState;
  17. FN_HANDLE_CMD HandleScopeSetScope;
  18. FN_HANDLE_CMD HandleScopeSetOptionvalue;
  19. FN_HANDLE_CMD HandleScopeSetReservedoptionvalue;
  20. FN_HANDLE_CMD HandleScopeSetName;
  21. FN_HANDLE_CMD HandleScopeSetComment;
  22. FN_HANDLE_CMD HandleScopeSetSuperscope;
  23. FN_HANDLE_CMD HandleScopeShowClients;
  24. FN_HANDLE_CMD HandleScopeShowClientsv5;
  25. FN_HANDLE_CMD HandleScopeShowIprange;
  26. FN_HANDLE_CMD HandleScopeShowExcluderange;
  27. FN_HANDLE_CMD HandleScopeShowReservedip;
  28. FN_HANDLE_CMD HandleScopeShowOptionvalue;
  29. FN_HANDLE_CMD HandleScopeShowReservedoptionvalue;
  30. FN_HANDLE_CMD HandleScopeShowState;
  31. FN_HANDLE_CMD HandleScopeShowMibinfo;
  32. FN_HANDLE_CMD HandleScopeShowScope;
  33. DWORD
  34. ProcessBootpParameters(
  35. DWORD cArgs,
  36. LPTSTR *ppszArgs,
  37. DHCP_IP_RESERVATION_V4 *pReservation
  38. );
  39. DWORD
  40. RemoveOptionValue(
  41. IN LPWSTR ServerAddress,
  42. IN DWORD Flags,
  43. IN DHCP_OPTION_ID OptionID,
  44. IN LPWSTR ClassName,
  45. IN LPWSTR VendorName,
  46. IN LPDHCP_OPTION_SCOPE_INFO ScopeInfo
  47. );
  48. VOID
  49. PrintRange(
  50. DHCP_SUBNET_ELEMENT_TYPE Type,
  51. DHCP_IP_ADDRESS Start,
  52. DHCP_IP_ADDRESS End,
  53. ULONG BootpAllocated,
  54. ULONG MaxBootpAllowed,
  55. BOOL fExclude
  56. );
  57. VOID
  58. PrintClientInfo(
  59. LPDHCP_CLIENT_INFO_V4 ClientInfo,
  60. DWORD Level
  61. );
  62. #ifdef NT5
  63. VOID
  64. PrintClientInfoV5(
  65. LPDHCP_CLIENT_INFO_V5 ClientInfo
  66. );
  67. VOID
  68. PrintClientInfoShortV5(
  69. LPDHCP_CLIENT_INFO_V5 ClientInfo
  70. );
  71. VOID
  72. PrintClientInfoShort1V5(
  73. LPDHCP_CLIENT_INFO_V5 ClientInfo
  74. );
  75. #endif //NT5
  76. VOID
  77. PrintClientInfoShort(
  78. LPDHCP_CLIENT_INFO_V4 ClientInfo
  79. );
  80. VOID
  81. PrintClientInfoShort1(
  82. LPDHCP_CLIENT_INFO_V4 ClientInfo
  83. );
  84. #endif //_SCOPEHNDL_H_