home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / snip9707.zip / ASCII.H < prev    next >
Text File  |  1997-07-05  |  775b  |  46 lines

  1. /* +++Date last modified: 05-Jul-1997 */
  2.  
  3. /*
  4. **  Header for conveniently dealing with ASCII control characters
  5. */
  6.  
  7. #undef NUL
  8. #undef SOH
  9. #undef STX
  10. #undef ETX
  11. #undef EOT
  12. #undef ENQ
  13. #undef ACK
  14. #undef BEL
  15. #undef BS_
  16. #undef HT_
  17. #undef LF_
  18. #undef VT_
  19. #undef FF_
  20. #undef CR_
  21. #undef SO_
  22. #undef SI_
  23. #undef DLE
  24. #undef DC1
  25. #undef DC2
  26. #undef DC3
  27. #undef DC4
  28. #undef NAK
  29. #undef SYN
  30. #undef ETB
  31. #undef CAN
  32. #undef EM_
  33. #undef SUB
  34. #undef ESC
  35. #undef FS_
  36. #undef GS_
  37. #undef RS_
  38. #undef US_
  39. #undef DEL
  40.  
  41. enum Cchar_T { NUL, SOH, STX, ETX, EOT, ENQ, ACK, BEL,
  42.                BS_, HT_, LF_, VT_, FF_, CR_, SO_, SI_,
  43.                DLE, DC1, DC2, DC3, DC4, NAK, SYN, ETB,
  44.                CAN, EM_, SUB, ESC, FS_, GS_, RS_, US_,
  45.                DEL = '\x7f' };
  46.