home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / BSRC_250.LZH / DEFINES.H < prev    next >
Text File  |  1991-09-15  |  6KB  |  196 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. /*                 Major definitions used in BinkleyTerm                    */
  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.  
  43. #define SUCCESS 0
  44. #define SUCCESS_EOT -1
  45. #define OPEN_ERR -1
  46. #define GETBLOCK_ERR -2
  47. #define SENDBLOCK_ERR -3
  48. #define SEND_TIMEOUT -4
  49. #define END_OF_FILE -5
  50. #define SEND_RETRY_ERR -6
  51. #define SYSTEM_ERR -7
  52. #define DATA_STREAM_ERR -8
  53. #define CARRIER_ERR -9
  54. #define FNAME_ERR -10
  55. #define BUSY_ERR -11
  56. #define BAD_LINE_ERR -12
  57. #define VOICE_ERR -13
  58. #define DIAL_TONE_ERR -14
  59. #define MODEM_ERR -15
  60. #define TIME_ERR -16
  61. #define WHACK_CR_ERR -17
  62. #define XMODEM_ERR -18
  63. #define SENDFILE_ERR -19
  64. #define STREAM_ERR -20
  65. #define XMODEM_REC_ERR -21
  66. #define NO_CR_ERR -22
  67. #define EOT_RECEIVED -23
  68. #define STAT_ERR -24
  69. #define START_TIMEOUT -25
  70. #define NO_CARRIER_ERR -26
  71. #define CONN_COUNT_ERR -27
  72. #define NO_CONN_COUNT_ERR -28
  73. #define NO_CALL -29
  74. #define READ_ERR -30
  75. #define OUR_MSG_ERR -31
  76. #define MSG_SENT_ERR -32
  77. #define MLO_ERR -33
  78. #define PICKUP_DONE -34
  79. #define DEV_ERR -35
  80. #define KBD_ERR -36
  81. #define CRC_ERR -37
  82. #define RESYNC_ERR -38
  83. #define TOO_MANY_ERRORS -39
  84.  
  85. #define STREAM_CHARS 12000
  86. #define CRC 1
  87. #define CHECKSUM 0
  88. #define UNKNOWN -1
  89. #define WANTCRC 'C'
  90.  
  91. #define EOT_BLOCK 1
  92. #define TELINK_BLOCK 2
  93. #define DATA_BLOCK 3
  94. #define XMODEM_BLOCK 3
  95. #define BAD_BLOCK 4
  96. #define SHORT_BLOCK 5
  97. #define DUP_BLOCK 6
  98. #define SEALINK_BLOCK 7
  99. #define NO_BLOCK 10
  100.  
  101. #define XS0 2
  102. #define XS0T 3
  103. #define XS1 4
  104. #define XS2 5
  105. #define XS3 6
  106. #define MS0 2
  107. #define MS1 3
  108. #define MS2 4
  109. #define S0 1
  110. #define S1 2
  111. #define S2 3
  112. #define S3 4
  113. #define S4 5
  114. #define S5 6
  115. #define S6 7
  116. #define S7 8
  117. #define S8 9
  118. #define XR0 2
  119. #define XR0B 3
  120. #define XR1 4
  121. #define XR2 5
  122. #define XR3 6
  123. #define XR4 7
  124. #define XR5 8
  125. #define MR0 2
  126. #define MR1 3
  127. #define MR2 4
  128. #define MR3 5
  129. #define R0 1
  130. #define R1 2
  131. #define R2 3
  132. #define R3 4
  133. #define R4 5
  134. #define R5 6
  135. #define R6 7
  136. #define R7 8
  137. #define BS0 2
  138. #define BS1 3
  139. #define BS2 4
  140. #define BS3 5
  141. #define BS4 6
  142. #define BR0 2
  143. #define BR1 3
  144. #define BR2 4
  145. #define BR3 5
  146. #define BR4 6
  147. #define W0 1
  148. #define W1 2
  149. #define W2 3
  150. #define W3 4
  151. #define W4 5
  152. #define W5 6
  153. #define SR0 1
  154. #define SR1 2
  155. #define SR2 3
  156. #define AC0 2
  157. #define AC1 3
  158. #define AC2 4
  159. #define AC3 5
  160. #define AC4 6
  161. #define AC5 7
  162. #define AC6 8
  163. #define AC7 9
  164. #define AC8 10
  165. #define AC9 11
  166. #define AC10 12
  167. #define SB0 2
  168. #define SB1 3
  169. #define SB2 4
  170. #define SB3 5
  171. #define RB0 2
  172. #define RB1 3
  173. #define RB2 4
  174. #define RB3 5
  175. #define RB4 6
  176. #define SA0 2
  177. #define SA1 3
  178. #define SA2 4
  179. #define SA3 5
  180. #define SN0 2
  181. #define SN1 3
  182. #define SN2 4
  183. #define SN3 5
  184.  
  185.  
  186. #define ONE_MINUTE 60000L
  187.  
  188. #define SEND_ONLY 1
  189. #define RECEIVE_ONLY 2
  190.  
  191. #define INITIALIZE   0
  192. #define TEST_AND_SET 1
  193. #define CLEAR_FLAG   2
  194. #define SET_SESSION_FLAG 3
  195. #define CLEAR_SESSION_FLAG 4
  196.