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.

277 lines
13 KiB

  1. #define MSG_HELP_START L"%1!-14s! - "
  2. #define MSG_NEWLINE L"\n"
  3. #define CMD_GROUP_ADD L"add"
  4. #define CMD_GROUP_DEL L"delete"
  5. #define CMD_GROUP_SHOW L"show"
  6. #define CMD_GROUP_SET L"set"
  7. #define CMD_GROUP_ENABLE L"enable"
  8. #define CMD_GROUP_DISABLE L"disable"
  9. #define CMD_GROUP_REGISTER L"register"
  10. #define CMD_GROUP_UNREGISTER L"unregister"
  11. #define CMD_RAS_HELP1 L"help"
  12. #define CMD_RAS_HELP2 L"?"
  13. #define CMD_RAS_DUMP L"dump"
  14. #define CMD_TRACE_SET L"tracing"
  15. #define CMD_TRACE_SHOW L"tracing"
  16. #define CMD_RASFLAG_SET L"rasflag"
  17. #define CMD_RASFLAG_SHOW L"rasflag"
  18. #define CMD_RASFLAG_AUTHMODE_SET L"authmode"
  19. #define CMD_RASFLAG_AUTHMODE_SHOW L"authmode"
  20. #define CMD_RASFLAG_AUTHTYPE_ADD L"authtype"
  21. #define CMD_RASFLAG_AUTHTYPE_DEL L"authtype"
  22. #define CMD_RASFLAG_AUTHTYPE_SHOW L"authtype"
  23. #define CMD_RASFLAG_LINK_ADD L"link"
  24. #define CMD_RASFLAG_LINK_DEL L"link"
  25. #define CMD_RASFLAG_LINK_SHOW L"link"
  26. #define CMD_RASFLAG_MLINK_ADD L"multilink"
  27. #define CMD_RASFLAG_MLINK_DEL L"multilink"
  28. #define CMD_RASFLAG_MLINK_SHOW L"multilink"
  29. #define CMD_RASUSER_SHOW L"user"
  30. #define CMD_RASUSER_SET L"user"
  31. #define CMD_DOMAIN_REGISTER L"registeredserver"
  32. #define CMD_DOMAIN_UNREGISTER L"registeredserver"
  33. #define CMD_DOMAIN_SHOWREG L"registeredserver"
  34. #define CMD_SHOW_SERVERS L"activeservers"
  35. #define CMD_SHOW_CLIENT L"client"
  36. #define DMP_TRACE_SET L"set tracing"
  37. #define DMP_TRACE_SHOW L"show tracing"
  38. #define DMP_RASFLAG_SET L"set rasflag"
  39. #define DMP_RASFLAG_SHOW L"show rasflag"
  40. #define DMP_RASFLAG_AUTHMODE_SET L"set authmode"
  41. #define DMP_RASFLAG_AUTHMODE_SHOW L"show authmode"
  42. #define DMP_RASFLAG_AUTHTYPE_ADD L"add authtype"
  43. #define DMP_RASFLAG_AUTHTYPE_DEL L"delete authtype"
  44. #define DMP_RASFLAG_AUTHTYPE_SHOW L"show authtype"
  45. #define DMP_RASFLAG_LINK_ADD L"add link"
  46. #define DMP_RASFLAG_LINK_DEL L"delete link"
  47. #define DMP_RASFLAG_LINK_SHOW L"show link"
  48. #define DMP_RASFLAG_MLINK_ADD L"add multilink"
  49. #define DMP_RASFLAG_MLINK_DEL L"delete multilink"
  50. #define DMP_RASFLAG_MLINK_SHOW L"show multilink"
  51. #define DMP_RASUSER_SHOW L"show user"
  52. #define DMP_RASUSER_SET L"set user"
  53. #define DMP_DOMAIN_REGISTER L"add registeredserver"
  54. #define DMP_DOMAIN_UNREGISTER L"delete registeredserver"
  55. #define DMP_DOMAIN_SHOWREG L"show registeredserver"
  56. #define DMP_SHOW_SERVERS L"show activeservers"
  57. #define DMP_SHOW_CLIENT L"show client"
  58. #define TOKEN_NAME L"name"
  59. #define TOKEN_DIALIN L"dialin"
  60. #define TOKEN_CBPOLICY L"cbpolicy"
  61. #define TOKEN_CBNUMBER L"cbnumber"
  62. #define TOKEN_PERMIT L"permit"
  63. #define TOKEN_POLICY L"policy"
  64. #define TOKEN_DENY L"deny"
  65. #define TOKEN_NONE L"none"
  66. #define TOKEN_ADMIN L"admin"
  67. #define TOKEN_CALLER L"caller"
  68. #define TOKEN_FILE L"file"
  69. #define TOKEN_PASSWORD L"password"
  70. #define TOKEN_FULLNAME L"fullname"
  71. #define TOKEN_ADDSET L"addset"
  72. #define TOKEN_MODE L"mode"
  73. #define TOKEN_SET L"set"
  74. #define TOKEN_ADD L"add"
  75. #define TOKEN_DELETE L"delete"
  76. #define TOKEN_REPORT L"report"
  77. #define TOKEN_DOMAIN L"domain"
  78. #define TOKEN_SERVER L"server"
  79. #define TOKEN_FLAG L"flag"
  80. #define TOKEN_LEVEL L"level"
  81. #define TOKEN_STANDARD L"standard"
  82. #define TOKEN_LEGACY L"legacy"
  83. #define TOKEN_STATE L"state"
  84. #define TOKEN_ENABLED L"enabled"
  85. #define TOKEN_DISABLED L"disabled"
  86. #define TOKEN_NODCC L"nodcc"
  87. #define TOKEN_BYPASS L"bypass"
  88. #define TOKEN_PAP L"PAP"
  89. #define TOKEN_SPAP L"SPAP"
  90. #define TOKEN_MD5CHAP L"MD5CHAP"
  91. #define TOKEN_MSCHAP L"MSCHAP"
  92. #define TOKEN_MSCHAP2 L"MSCHAPv2"
  93. #define TOKEN_EAP L"EAP"
  94. #define TOKEN_TYPE L"type"
  95. #define TOKEN_COMPONENT L"component"
  96. #define TOKEN_SWC L"SWC"
  97. #define TOKEN_LCP L"LCP"
  98. #define TOKEN_MULTI L"MULTI"
  99. #define TOKEN_BACP L"BACP"
  100. #define DMP_RAS_PUSHD L"pushd ras\n\n"
  101. #define DMP_RAS_POPD L"\npopd\n"
  102. //
  103. // Strings used by the 'ras ip' context
  104. //
  105. #define CMD_RASIP_HELP1 L"help"
  106. #define CMD_RASIP_HELP2 L"?"
  107. #define CMD_RASIP_DUMP L"dump"
  108. #define CMD_RASIP_SHOW_CONFIG L"config"
  109. #define CMD_RASIP_SET_NEGOTIATION L"negotiation"
  110. #define CMD_RASIP_SET_ACCESS L"access"
  111. #define CMD_RASIP_SET_ASSIGNMENT L"addrassign"
  112. #define CMD_RASIP_SET_CALLERSPEC L"addrreq"
  113. #define CMD_RASIP_SET_NETBTBCAST L"broadcastnameresolution"
  114. #define CMD_RASIP_ADD_RANGE L"range"
  115. #define CMD_RASIP_DEL_RANGE L"range"
  116. #define CMD_RASIP_DEL_POOL L"pool"
  117. #define DMP_RASIP_SHOW_CONFIG L"show config"
  118. #define DMP_RASIP_SET_NEGOTIATION L"set negotiation"
  119. #define DMP_RASIP_SET_ACCESS L"set access"
  120. #define DMP_RASIP_SET_ASSIGNMENT L"set addrassign"
  121. #define DMP_RASIP_SET_CALLERSPEC L"set addrreq"
  122. #define DMP_RASIP_SET_NETBTBCAST L"set broadcastnameresolution"
  123. #define DMP_RASIP_ADD_RANGE L"add range"
  124. #define DMP_RASIP_DEL_RANGE L"delete range"
  125. #define DMP_RASIP_DEL_POOL L"delete pool"
  126. #define TOKEN_METHOD L"method"
  127. #define TOKEN_FROM L"from"
  128. #define TOKEN_TO L"to"
  129. #define TOKEN_MODE L"mode"
  130. #define TOKEN_AUTO L"auto"
  131. #define TOKEN_POOL L"pool"
  132. #define TOKEN_ALLOW L"allow"
  133. #define TOKEN_DENY L"deny"
  134. #define TOKEN_ALL L"all"
  135. #define TOKEN_SERVERONLY L"serveronly"
  136. #define DMP_RASIP_PUSHD L"pushd ras ip\n\n"
  137. #define DMP_RASIP_POPD L"\npopd\n"
  138. //
  139. // Strings used by the 'ras ipx' context
  140. //
  141. #define CMD_RASIPX_HELP1 L"help"
  142. #define CMD_RASIPX_HELP2 L"?"
  143. #define CMD_RASIPX_DUMP L"dump"
  144. #define TOKEN_AUTOSAME L"autosame"
  145. #define TOKEN_POOLSAME L"poolsame"
  146. #define TOKEN_FIRSTNET L"firstnet"
  147. #define TOKEN_SIZE L"size"
  148. #define TOKEN_DYNAMIC L"dynamic"
  149. #define CMD_RASIPX_SHOW_CONFIG L"config"
  150. #define CMD_RASIPX_SET_NEGOTIATION L"negotiation"
  151. #define CMD_RASIPX_SET_ACCESS L"access"
  152. #define CMD_RASIPX_SET_ASSIGNMENT L"netassign"
  153. #define CMD_RASIPX_SET_POOL L"pool"
  154. #define CMD_RASIPX_SET_CALLERSPEC L"nodereq"
  155. #define DMP_RASIPX_SHOW_CONFIG L"show config"
  156. #define DMP_RASIPX_SET_NEGOTIATION L"set negotiation"
  157. #define DMP_RASIPX_SET_ACCESS L"set access"
  158. #define DMP_RASIPX_SET_ASSIGNMENT L"set netassign"
  159. #define DMP_RASIPX_SET_POOL L"set pool"
  160. #define DMP_RASIPX_SET_CALLERSPEC L"set nodereq"
  161. #define DMP_RASIPX_PUSHD L"pushd ras ipx\n\n"
  162. #define DMP_RASIPX_POPD L"\npopd\n"
  163. //
  164. // Strings used by the 'ras nbf' context
  165. //
  166. #define CMD_RASNBF_HELP1 L"help"
  167. #define CMD_RASNBF_HELP2 L"?"
  168. #define CMD_RASNBF_DUMP L"dump"
  169. #define CMD_RASNBF_SHOW_CONFIG L"config"
  170. #define CMD_RASNBF_SET_NEGOTIATION L"negotiation"
  171. #define CMD_RASNBF_SET_ACCESS L"access"
  172. #define DMP_RASNBF_SHOW_CONFIG L"show config"
  173. #define DMP_RASNBF_SET_NEGOTIATION L"set negotiation"
  174. #define DMP_RASNBF_SET_ACCESS L"set access"
  175. #define DMP_RASNBF_PUSHD L"pushd ras netbeui\n\n"
  176. #define DMP_RASNBF_POPD L"\npopd\n"
  177. //
  178. // Strings used by the 'ras at' context
  179. //
  180. #define CMD_RASAT_HELP1 L"help"
  181. #define CMD_RASAT_HELP2 L"?"
  182. #define CMD_RASAT_DUMP L"dump"
  183. #define CMD_RASAT_SHOW_CONFIG L"config"
  184. #define CMD_RASAT_SET_NEGOTIATION L"negotiation"
  185. #define CMD_RASAT_SET_ACCESS L"access"
  186. #define DMP_RASAT_SHOW_CONFIG L"show config"
  187. #define DMP_RASAT_SET_NEGOTIATION L"set negotiation"
  188. #define DMP_RASAT_SET_ACCESS L"set access"
  189. #define DMP_RASAT_PUSHD L"pushd ras appletalk\n\n"
  190. #define DMP_RASAT_POPD L"\npopd\n"
  191. //
  192. // Strings used by the 'ras aaaa' context
  193. //
  194. #define CMD_RASAAAA_HELP1 L"help"
  195. #define CMD_RASAAAA_HELP2 L"?"
  196. #define CMD_RASAAAA_DUMP L"dump"
  197. #define CMD_RASAAAA_ADD_AUTHSERV L"authserver"
  198. #define CMD_RASAAAA_ADD_ACCTSERV L"acctserver"
  199. #define CMD_RASAAAA_DEL_AUTHSERV L"authserver"
  200. #define CMD_RASAAAA_DEL_ACCTSERV L"acctserver"
  201. #define CMD_RASAAAA_SET_AUTH L"authentication"
  202. #define CMD_RASAAAA_SET_ACCT L"accounting"
  203. #define CMD_RASAAAA_SET_AUTHSERV L"authserver"
  204. #define CMD_RASAAAA_SET_ACCTSERV L"acctserver"
  205. #define CMD_RASAAAA_SHOW_AUTH L"authentication"
  206. #define CMD_RASAAAA_SHOW_ACCT L"accounting"
  207. #define CMD_RASAAAA_SHOW_AUTHSERV L"authserver"
  208. #define CMD_RASAAAA_SHOW_ACCTSERV L"acctserver"
  209. #define DMP_RASAAAA_ADD_AUTHSERV L"add authserver"
  210. #define DMP_RASAAAA_ADD_ACCTSERV L"add acctserver"
  211. #define DMP_RASAAAA_DEL_AUTHSERV L"delete authserver"
  212. #define DMP_RASAAAA_DEL_ACCTSERV L"delete acctserver"
  213. #define DMP_RASAAAA_SET_AUTH L"set authentication"
  214. #define DMP_RASAAAA_SET_ACCT L"set accounting"
  215. #define DMP_RASAAAA_SET_AUTHSERV L"set authserver"
  216. #define DMP_RASAAAA_SET_ACCTSERV L"set acctserver"
  217. #define DMP_RASAAAA_SHOW_AUTH L"show authentication"
  218. #define DMP_RASAAAA_SHOW_ACCT L"show accounting"
  219. #define DMP_RASAAAA_SHOW_AUTHSERV L"show authserver"
  220. #define DMP_RASAAAA_SHOW_ACCTSERV L"show acctserver"
  221. #define TOKEN_SECRET L"secret"
  222. #define TOKEN_PORT L"port"
  223. #define TOKEN_INITSCORE L"init-score"
  224. #define TOKEN_TIMEOUT L"timeout"
  225. #define TOKEN_SIGNATURE L"signature"
  226. #define TOKEN_MESSAGES L"messages"
  227. #define TOKEN_WINDOWS L"windows"
  228. #define TOKEN_RADIUS L"radius"
  229. #define TOKEN_PROVIDER L"provider"
  230. #define TOKEN_RASAAAA_ALLSERVERS L"*"
  231. #define DMP_RASAAAA_PUSHD L"pushd ras aaaa\n\n"
  232. #define DMP_RASAAAA_POPD L"\npopd\n"