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.

100 lines
2.9 KiB

  1. /*++
  2. Copyright (c) 1999, Microsoft Corporation
  3. Module Name:
  4. sample\prstring.h
  5. Abstract:
  6. The file contains definitions of command line option tag strings.
  7. --*/
  8. ////////////////////////////////////////
  9. // TOKENS
  10. ////////////////////////////////////////
  11. #define TOKEN_SAMPLE L"sample"
  12. #define MSG_HELP_START L"%1!-14s! - "
  13. // Loglevels
  14. #define TOKEN_NONE L"NONE"
  15. #define TOKEN_ERROR L"ERROR"
  16. #define TOKEN_WARN L"WARN"
  17. #define TOKEN_INFO L"INFO"
  18. // Tokens for sample global options
  19. #define TOKEN_LOGLEVEL L"loglevel"
  20. // Tokens for sample interface options
  21. #define TOKEN_NAME L"name"
  22. #define TOKEN_METRIC L"metric"
  23. // Tokens for sample mib commands
  24. #define TOKEN_GLOBALSTATS L"globalstats"
  25. #define TOKEN_IFSTATS L"ifstats"
  26. #define TOKEN_IFBINDING L"ifbinding"
  27. #define TOKEN_INDEX L"index"
  28. #define TOKEN_RR L"rr"
  29. ////////////////////////////////////////
  30. // Configuration commands
  31. ////////////////////////////////////////
  32. // Commands supported by most protocols
  33. #define CMD_INSTALL L"install"
  34. #define CMD_UNINSTALL L"uninstall"
  35. #define CMD_DUMP L"dump"
  36. #define CMD_HELP1 L"help"
  37. #define CMD_HELP2 L"?"
  38. #define CMD_GROUP_ADD L"add"
  39. #define CMD_GROUP_DELETE L"delete"
  40. #define CMD_GROUP_SET L"set"
  41. #define CMD_GROUP_SHOW L"show"
  42. // Commands supported by SAMPLE
  43. // add commands
  44. #define CMD_SAMPLE_ADD_IF L"interface"
  45. // delete commands
  46. #define CMD_SAMPLE_DEL_IF L"interface"
  47. // set commands
  48. #define CMD_SAMPLE_SET_GLOBAL L"global"
  49. #define CMD_SAMPLE_SET_IF L"interface"
  50. // show commands
  51. #define CMD_SAMPLE_SHOW_GLOBAL L"global"
  52. #define CMD_SAMPLE_SHOW_IF L"interface"
  53. #define CMD_SAMPLE_MIB_SHOW_STATS L"globalstats"
  54. #define CMD_SAMPLE_MIB_SHOW_IFSTATS L"ifstats"
  55. #define CMD_SAMPLE_MIB_SHOW_IFBINDING L"ifbinding"
  56. ////////////////////////////////////////
  57. // Dump information
  58. ////////////////////////////////////////
  59. #define DMP_POPD L"popd\n"
  60. #define DMP_SAMPLE_PUSHD L"pushd routing ip sample\n"
  61. #define DMP_SAMPLE_INSTALL L"install\n"
  62. #define DMP_SAMPLE_UNINSTALL L"uninstall\n"
  63. #define DMP_SAMPLE_ADD_INTERFACE L"\
  64. add interface name=%1!s! metric=%2!u!\n"
  65. #define DMP_SAMPLE_SET_GLOBAL L"\
  66. set global loglevel=%1!s!\n"