cname.h
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:2k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. /* character-name table */
  2. static struct cname {
  3. char *name;
  4. char code;
  5. } cnames[] = {
  6. {"NUL",         ''},
  7. {"SOH",         '01'},
  8. {"STX",         '02'},
  9. {"ETX",         '03'},
  10. {"EOT",         '04'},
  11. {"ENQ",         '05'},
  12. {"ACK",         '06'},
  13. {"BEL",         '07'},
  14. {"alert", '07'},
  15. {"BS", '10'},
  16. {"backspace", 'b'},
  17. {"HT", '11'},
  18. {"tab",        't'},
  19. {"LF", '12'},
  20. {"newline", 'n'},
  21. {"VT", '13'},
  22. {"vertical-tab",'v'},
  23. {"FF", '14'},
  24. {"form-feed", 'f'},
  25. {"CR", '15'},
  26. {"carriage-return", 'r'},
  27. {"SO",                 '16'},
  28. {"SI",                 '17'},
  29. {"DLE",         '20'},
  30. {"DC1",         '21'},
  31. {"DC2",         '22'},
  32. {"DC3",         '23'},
  33. {"DC4",         '24'},
  34. {"NAK",         '25'},
  35. {"SYN",         '26'},
  36. {"ETB",         '27'},
  37. {"CAN",         '30'},
  38. {"EM",         '31'},
  39. {"SUB",         '32'},
  40. {"ESC",         '33'},
  41. {"IS4",         '34'},
  42. {"FS",         '34'},
  43. {"IS3",         '35'},
  44. {"GS",         '35'},
  45. {"IS2",         '36'},
  46. {"RS",         '36'},
  47. {"IS1",         '37'},
  48. {"US",         '37'},
  49. {"space", ' '},
  50. {"exclamation-mark", '!'},
  51. {"quotation-mark", '"'},
  52. {"number-sign",        '#'},
  53. {"dollar-sign",        '$'},
  54. {"percent-sign", '%'},
  55. {"ampersand", '&'},
  56. {"apostrophe", '''},
  57. {"left-parenthesis", '('},
  58. {"right-parenthesis", ')'},
  59. {"asterisk",         '*'},
  60. {"plus-sign",         '+'},
  61. {"comma",         ','},
  62. {"hyphen",         '-'},
  63. {"hyphen-minus", '-'},
  64. {"period", '.'},
  65. {"full-stop", '.'},
  66. {"slash", '/'},
  67. {"solidus", '/'},
  68. {"zero", '0'},
  69. {"one", '1'},
  70. {"two", '2'},
  71. {"three", '3'},
  72. {"four", '4'},
  73. {"five", '5'},
  74. {"six", '6'},
  75. {"seven", '7'},
  76. {"eight", '8'},
  77. {"nine", '9'},
  78. {"colon", ':'},
  79. {"semicolon", ';'},
  80. {"less-than-sign", '<'},
  81. {"equals-sign", '='},
  82. {"greater-than-sign", '>'},
  83. {"question-mark", '?'},
  84. {"commercial-at", '@'},
  85. {"left-square-bracket", '['},
  86. {"backslash", '\'},
  87. {"reverse-solidus", '\'},
  88. {"right-square-bracket",']'},
  89. {"circumflex", '^'},
  90. {"circumflex-accent", '^'},
  91. {"underscore", '_'},
  92. {"low-line", '_'},
  93. {"grave-accent", '`'},
  94. {"left-brace", '{'},
  95. {"left-curly-bracket", '{'},
  96. {"vertical-line", '|'},
  97. {"right-brace", '}'},
  98. {"right-curly-bracket", '}'},
  99. {"tilde", '~'},
  100. {"DEL",          '177'},
  101.   {NULL, 0},
  102. };