home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / BSRC_250.LZH / XFER.H < prev    next >
Text File  |  1991-09-15  |  5KB  |  111 lines

  1. /*--------------------------------------------------------------------------*/
  2. /*                                                                          */
  3. /*                                                                          */
  4. /*      ------------         Bit-Bucket Software, Co.                       */
  5. /*      \ 10001101 /         Writers and Distributors of                    */
  6. /*       \ 011110 /          Freely Available<tm> Software.                 */
  7. /*        \ 1011 /                                                          */
  8. /*         ------                                                           */
  9. /*                                                                          */
  10. /*  (C) Copyright 1987-91, Bit Bucket Software Co., a Delaware Corporation. */
  11. /*                                                                          */
  12. /*                                                                          */
  13. /*           Definitions used in BinkleyTerm File Transfer logic            */
  14. /*                                                                          */
  15. /*                                                                          */
  16. /*    For complete  details  of the licensing restrictions, please refer    */
  17. /*    to the License  agreement,  which  is published in its entirety in    */
  18. /*    the MAKEFILE and BT.C, and also contained in the file LICENSE.250.    */
  19. /*                                                                          */
  20. /*    USE  OF THIS FILE IS SUBJECT TO THE  RESTRICTIONS CONTAINED IN THE    */
  21. /*    BINKLEYTERM  LICENSING  AGREEMENT.  IF YOU DO NOT FIND THE TEXT OF    */
  22. /*    THIS  AGREEMENT IN ANY OF THE  AFOREMENTIONED FILES,  OR IF YOU DO    */
  23. /*    NOT HAVE THESE FILES,  YOU  SHOULD  IMMEDIATELY CONTACT BIT BUCKET    */
  24. /*    SOFTWARE CO.  AT ONE OF THE  ADDRESSES  LISTED BELOW.  IN NO EVENT    */
  25. /*    SHOULD YOU  PROCEED TO USE THIS FILE  WITHOUT HAVING  ACCEPTED THE    */
  26. /*    TERMS  OF  THE  BINKLEYTERM  LICENSING  AGREEMENT,  OR  SUCH OTHER    */
  27. /*    AGREEMENT AS YOU ARE ABLE TO REACH WITH BIT BUCKET SOFTWARE, CO.      */
  28. /*                                                                          */
  29. /*                                                                          */
  30. /* You can contact Bit Bucket Software Co. at any one of the following      */
  31. /* addresses:                                                               */
  32. /*                                                                          */
  33. /* Bit Bucket Software Co.        FidoNet  1:104/501, 1:343/491             */
  34. /* P.O. Box 460398                AlterNet 7:491/0                          */
  35. /* Aurora, CO 80046               BBS-Net  86:2030/1                        */
  36. /*                                Internet f491.n343.z1.fidonet.org         */
  37. /*                                                                          */
  38. /* Please feel free to contact us at any time to share your comments about  */
  39. /* our software and/or licensing policies.                                  */
  40. /*                                                                          */
  41. /*                                                                          */
  42. /*  This module is based largely on a similar module in OPUS-CBCS V1.03b.   */
  43. /*  The original work is (C) Copyright 1987, Wynn Wagner III. The original  */
  44. /*  author has graciously allowed us to use his code in this work.          */
  45. /*                                                                          */
  46. /*--------------------------------------------------------------------------*/
  47.  
  48. #define read_binary "rb"
  49. #define write_binary "wb"
  50. #define read_ascii "rt"
  51. #define write_ascii "wt"
  52.  
  53. #define stcgfn strcpy
  54. #define wherex() fossil_wherex()
  55. #define wherey() fossil_wherey()
  56. #define gotoxy(x,y) fossil_gotoxy(x,y)
  57. #define CLEAR_IOERR() errno = 0
  58. #define wait_for_clear() while (!OUT_EMPTY())
  59. #define TIMED_READ(a) (int) com_getc(a)
  60.  
  61.  
  62. /*--------------------------------------------------------------------------*/
  63. /* Ascii character mnemonics                                                */
  64. /*--------------------------------------------------------------------------*/
  65. #define NUL 0x00
  66. #define SOH 0x01
  67. #define STX 0x02
  68. #define ETX 0x03
  69. #define EOT 0x04
  70. #define ENQ 0x05
  71. #define ACK 0x06
  72. #define BEL 0x07
  73. #define BS  0x08
  74. #define HT  0x09
  75. #define LV  0x0a
  76. #define VT  0x0b
  77. #define FF  0x0c
  78. #define CR  0x0d
  79. #define SO  0x0e
  80. #define SI  0x0f
  81. #define DLE 0x10
  82. #define DC1 0x11
  83. #define DC2 0x12
  84. #define DC3 0x13
  85. #define DC4 0x14
  86. #define NAK 0x15
  87. #define SYN 0x16
  88. #define ETB 0x17
  89. #define CAN 0x18
  90. #define EM  0x19
  91. #define SUB 0x1a
  92. #define ESC 0x1b
  93. #define FS  0x1c
  94. #define GS  0x1d
  95. #define RS  0x1e
  96. #define US  0x1f
  97.  
  98. /*--------------------------------------------------------------------------*/
  99. /* Parameters for calling ZMODEM routines                                   */
  100. /*--------------------------------------------------------------------------*/
  101. #define TRUE  1
  102. #define FALSE 0
  103. #define END_BATCH (-1)
  104. #define DELETE_AFTER  '-'
  105. #define SHOW_DELETE_AFTER '^'
  106. #define TRUNC_AFTER   '#'
  107. #define NOTHING_AFTER '@'
  108. #define DO_WAZOO   TRUE
  109.  
  110. /* End of XFER.H */
  111.