home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lansystk.zip / INCLUDE / LANDIST / CCI_RC.H < prev    next >
Text File  |  1998-05-08  |  15KB  |  244 lines

  1. /************************************************************************/
  2. /* Change Activity:                                                     */
  3. /* @A0A P0000260 MJS: add soft stop pending return code                 */
  4. /* @A2A P0000260 MJS: Add missing spec return codes                     */
  5. /* @A3A P0000260 MJS: Add socket return conditions                      */
  6. /* @A4A P0000414 PBN: Add inv_usage_ind rc = 3393                       */
  7. /* @A5A P0000570 MJS: Add No B channels defined rc=2294 for PCM AS CNG  */
  8. /* @A6A D0001857 MJS: update conflicting return codes.                  */
  9. /* @A7A P0000819 MJS: update conflicting return codes.                  */
  10. /* @A8A PEP00158 MJS: add retcode 332D                                  */
  11. /* @A9A DCR203   PBN: add new rc's per Hursley dcr 74 33BX series       */
  12. /*                                                                      */
  13. /************************************************************************/
  14. /*----------------------------------------------------------------*/
  15. /*   GCCI/CMI COMMON RETURN CODES                                 */
  16. /*----------------------------------------------------------------*/
  17.  
  18. #define   CCI_NO_ERROR                                0x0000
  19. #define   CCI_INVALID_CIF                             0x3001
  20. #define   CCI_IDENTIFIER                              0x3002
  21. #define   CCI_IDENTIFIER_TYPE                         0x3003
  22. #define   CCI_PRIMITIVE                               0x3004
  23. #define   CCI_STATE_ERROR                             0x3005
  24. #define   CCI_INVALID_INTERFACE_DATA                  0x3007
  25. #define   CCI_RESOURCE_NOT_AVAILABLE                  0x3008
  26. #define   CCI_TASK_ABEND                              0x300A
  27. #define   CCI_INVALID_SELECTOR                        0x300D
  28. #define   CCI_INVALID_SERVICE_TYPE                    0x300E
  29. #define   CCI_INVALID_ENTRY_POINT                     0x3014
  30. #define   CCI_INVALID_PCM_NAME                        0x3016
  31. #define   CCI_INVALID_U_CI_ID                         0x3017
  32. #define   CCI_INVALID_P_CI_ID                         0x3018
  33. #define   CCI_INVALID_U_SAP_ID                        0x3019
  34. #define   CCI_INVALID_P_SAP_ID                        0x301A
  35. /* LSA defined error codes for 3000 series ends here. New additions begi*/
  36. /* below.                                                               */
  37. #define   CCI_INVALID_P_CE_ID                         0x301B
  38. #define   CCI_INVALID_U_CE_ID                         0x301C
  39. #define   CCI_INVALID_RESOURCE_ID                     0x3020
  40. #define   CCI_INVALID_LINKED_REPLY_IND                0x3021
  41. #define   CCI_INVALID_CIF_LENGTH                      0x3022
  42. #define   CCI_INVALID_DIF_LENGTH                      0x3023
  43. #define   CCI_INVALID_ACTION_CODE                     0x3024
  44. #define   CCI_MISSING_DIF                             0x3025
  45.  
  46. #define   CCI_REJ_CLEAR_REQUEST                       0x3303
  47. #define   CCI_INVALID_DATA_CHANNEL                    0x3309
  48. #define   CCI_CALL_DOES_NOT_EXIST                     0x330B
  49. #define   CCI_U_CI_ID_ALREADY_EXISTS                  0x330D
  50. #define   CCI_CANCELLED_BY_REMOTE                     0x330F
  51. #define   CCI_SERVICE_NOT_ACTIVE                      0x3312
  52. #define   CCI_SUBFIELDS_TOO_LARGE                     0x3315
  53. #define   CCI_D_CHANNEL_FAILED                        0x3317
  54. #define   CCI_INVALID_TRANSFER_MODE                   0x331A
  55. #define   CCI_SUBFIELDS_NOT_ALLOWED                   0x331B
  56. #define   CCI_INVALID_CALLED_PARTY_LEN                0x331C
  57. #define   CCI_INVALID_PROTOCOL_INFO                   0x331D
  58. #define   CCI_INV_CALLED_PARTY_SADDR_LEN              0x331E
  59. #define   CCI_CHANNEL_TYPE_ERROR                      0x331F
  60. #define   CCI_TRANSFER_CAPABILITY_ERROR               0x3320
  61. #define   CCI_INVALID_RATE_ADAPTION                   0x3321
  62. #define   CCI_NO_FREE_CHANNEL                         0x3322
  63. #define   CCI_SELECTED_CHANNEL_BUSY                   0x3323
  64. #define   CCI_MAX_CALLS_EXCEEDED                      0x3324
  65. #define   CCI_INVALID_CONNECT_OPTION                  0x3326
  66. #define   CCI_INVALID_PERM_CONNECT_EVENT              0x3327
  67. #define   CCI_MAX_REQUESTS_EXCEEDED                   0x3329
  68. #define   CCI_CLEAR_IND_PENDING                       0x332A
  69. #define   CCI_T309_EXPIRY                             0x332C
  70. #define   CCI_TIMEOUT_ON_CALL                         0x332D  /* @A8A */
  71. #define   CCI_LACK_OF_RESOURCES                       0x332F
  72. /* LSA defined error codes for 3300 series ends here. New additions begi*/
  73. /* at 3330                                                              */
  74. #define   CCI_OPERATING_SYSTEM_ERROR                  0x3330
  75. #define   CCI_INV_BEARER_CAPABILITY                   0x3331  /* @A2A   */
  76. #define   CCI_INV_CHANNEL_ID                          0x3332  /* @A2A   */
  77. #define   CCI_INV_CALLING_PARTY_NUMBER                0x3333  /* @A2A   */
  78.  
  79. #define   CCI_INV_CALLED_PARTY_NUMBER                 0x3334  /* @A2A   */
  80. #define   CCI_INV_CALLING_PARTY_SADDR                 0x3335  /* @A2A   */
  81. #define   CCI_INV_CALLED_PARTY_SADDR                  0x3336  /* @A2A   */
  82. #define   CCI_INV_LLC                                 0x3337  /* @A2A   */
  83. #define   CCI_INV_HLC                                 0x3338  /* @A2A   */
  84. #define   CCI_INV_USER_TO_USER_INFO                   0x3339  /* @A2A   */
  85. #define   CCI_INV_CAUSE                               0x333A  /* @A2A   */
  86. #define   CCI_INV_CALL_STATUS                         0x333B  /* @A2A   */
  87. #define   CCI_MULTI_INV_BEARER_CAPABILITY             0x3341  /* @A2A   */
  88. #define   CCI_MULTI_INV_CHANNEL_ID                    0x3342  /* @A2A   */
  89. #define   CCI_MULTI_INV_CLG_PARTY_NUMBER              0x3343  /* @A2A   */
  90. #define   CCI_MULTI_INV_CLD_PARTY_NUMBER              0x3344  /* @A2A   */
  91. #define   CCI_MULTI_INV_CLG_PARTY_SADDR               0x3345  /* @A2A   */
  92. #define   CCI_MULTI_INV_CLD_PARTY_SADDR               0x3346  /* @A2A   */
  93. #define   CCI_MULTI_INV_LLC                           0x3347  /* @A2A   */
  94. #define   CCI_MULTI_INV_HLC                           0x3348  /* @A2A   */
  95. #define   CCI_MULTI_INV_USER_TO_USER_INFO             0x3349  /* @A2A   */
  96. #define   CCI_MULTI_INV_CAUSE                         0x334A  /* @A2A   */
  97. #define   CCI_MULTI_INV_CALL_STATUS                   0x334B  /* @A2A   */
  98. #define   CCI_DUP_BEARER_CAPABILITY                   0x3351  /* @A2A   */
  99. #define   CCI_DUP_CHANNEL_ID                          0x3352  /* @A2A   */
  100. #define   CCI_DUP_CALLING_PARTY_NUMBER                0x3353  /* @A2A   */
  101. #define   CCI_DUP_CALLED_PARTY_NUMBER                 0x3354  /* @A2A   */
  102. #define   CCI_DUP_CALLING_PARTY_SADDR                 0x3355  /* @A2A   */
  103. #define   CCI_DUP_CALLED_PARTY_SADDR                  0x3356  /* @A2A   */
  104. #define   CCI_DUP_LLC                                 0x3357  /* @A2A   */
  105. #define   CCI_DUP_HLC                                 0x3358  /* @A2A   */
  106. #define   CCI_DUP_USER_TO_USER_INFO                   0x3359  /* @A2A   */
  107. #define   CCI_DUP_CAUSE                               0x335A  /* @A2A   */
  108. #define   CCI_DUP_CALL_STATUS                         0x335B  /* @A2A   */
  109.  
  110.  
  111. #define   CCI_SF_OF_LENGTH_ZERO                       0x3360
  112. #define   CCI_INVALID_CALLING_NUM_LEN                 0x3361
  113. #define   CCI_INVALID_CALLED_NUM_LEN                  0x3362
  114. #define   CCI_INVALID_CALLING_SADDR_LEN               0x3363
  115. #define   CCI_INVALID_CALLED_SADDR_LEN                0x3364
  116. #define   CCI_INVALID_USER_USER_INFO_LEN              0x3365
  117. #define   CCI_INVALID_STATUS_VALUE                    0x3366
  118. #define   CCI_CALL_STATUS_SF_MISSING                  0x3367
  119. #define   CCI_INVALID_PCM_TYPE                        0x3368
  120. #define   CCI_UNEXPECTED_DIR_RC                       0x3369
  121. #define   CCI_SAME_SF_NOT_CONTIGUOUS                  0x336A
  122. #define   CCI_ENTRY_NOT_UNIQUE                        0x336B
  123. #define   CCI_FIRST_SF_NOT_PRM_SPECIFIC               0x336C
  124. #define   CCI_ENTRY_NOT_DEFINED                       0x336D
  125. #define   CCI_DIRECTORY_FILE_OPEN_ERROR               0x336E
  126. #define   CCI_DIRECTORY_FILE_READ_ERROR               0x336F
  127.  
  128. #define   CCI_CM_INTERNAL_ERROR                       0x3370
  129. #define   CCI_PCM_INTERNAL_ERROR                      0x3371
  130. #define   CCI_CALL_CLEAR_FROM_SS                      0x3372
  131. #define   CCI_PCM_DEACTIVATING                        0x3373
  132. #define   CCI_PERM_CONN_UNDEFINED                     0x3374
  133. #define   CCI_INV_ID_TYPE_IN_CURR_STATE               0x3375
  134. #define   CCI_UNSUCC_ESTAB_CNF_QUEUED                 0x3376
  135. #define   CCI_UNSUCC_SETUP_RSP_QUEUED                 0x3377
  136. #define   CCI_NO_PCM_ACTIVE                           0x3378
  137. #define   CCI_PCM_NOT_ACTIVE                          0x3379
  138. #define   CCI_REQ_OUTSTANDING                         0x337A
  139. #define   CCI_SOFT_STOP_PENDING                       0x337B    /* @A0A */
  140. #define   CCI_CCT_NOT_FOUND_BY_PCM                    0x337C    /* @A3A */
  141. #define   CCI_PROTOCOL_NOT_LOADED                     0x337D    /* @A3A */
  142. #define   CCI_PROTOCOL_BUSY                           0x337E    /* @A3A */
  143. #define   CCI_INV_LOGICAL_ADAPTER_NUMBER              0x337F    /* @A3A */
  144.  
  145. #define   CCI_CM_SOFTWARE_ERROR                       0x3380
  146. /* NOTE - RCs 3381 thru 3389 reserved for PCM use                  @A1A */
  147.  
  148. #define   CCI_INVALID_CONFIG_DATA                     0x3390    /* @A6A */
  149. #define   CCI_NO_CONFIG_DATA                          0x3391    /* @A6A */
  150. #define   CCI_BUFFER_OVERFLOW                         0x3392    /* @A6A */
  151. #define   CCI_INV_USAGE_IND                           0x3393    /* @A4A */
  152. #define   CCI_NO_CHANNELS_DEFINED                     0x3394    /* @A5A */
  153.  
  154. #define   CCI_PCM_SOFT_PENDING                        0x3395    /* @XX1 */
  155.  
  156. #define   CCI_MODEM_NOT_RESPONDING                    0x3396    /* @XX1 */
  157. #define   CCI_MODEM_DIALOG_ERROR                      0x3397    /* @XX1 */
  158. #define   CCI_NO_DIALTONE                             0x3398    /* @XX1 */
  159. #define   CCI_NETWORK_BUSY                            0x3399    /* @XX1 */
  160. #define   CCI_LOCAL_BUSY                              0x339A    /* @XX1 */
  161. #define   CCI_CALL_DELAYED                            0x339B    /* @XX1 */
  162. #define   CCI_CALL_FORBIDDEN                          0x339C    /* @XX1 */
  163.  
  164. #define   CCI_SCKT_XIF_GIVEUP                         0x339D    /* @BZA */
  165. #define   CCI_SCKT_NODE_MISMATCH                      0x339E    /* @BZA */
  166. #define   CCI_SCKT_LAN_TYPE_MISMATCH                  0x339F    /* @BZA */
  167. #define   CCI_SCKT_SOURCE_RING_MISMATCH               0x33A0    /* @BZA */
  168. #define   CCI_SCKT_TARGET_RING_DUPLICATE              0x33A1    /* @BZA */
  169.  
  170. #define   CCI_UNS_BEARER_CAPABILITY                   0x33B1  /* @A9A   */
  171. #define   CCI_UNS_CHANNEL_ID                          0x33B2  /* @A9A   */
  172. #define   CCI_UNS_CALLING_PARTY_NUMBER                0x33B3  /* @A9A   */
  173. #define   CCI_UNS_CALLED_PARTY_NUMBER                 0x33B4  /* @A9A   */
  174. #define   CCI_UNS_CALLING_PARTY_SADDR                 0x33B5  /* @A9A   */
  175. #define   CCI_UNS_CALLED_PARTY_SADDR                  0x33B6  /* @A9A   */
  176. #define   CCI_UNS_LLC                                 0x33B7  /* @A9A   */
  177. #define   CCI_UNS_HLC                                 0x33B8  /* @A9A   */
  178. #define   CCI_UNS_CAUSE                               0x33BA  /* @A9A   */
  179. #define   CCI_UNS_CALL_STATUS                         0x33BB  /* @A9A   */
  180.  
  181. /*----------------------------------------------------------------*/
  182. /*   CCITT DEFINED CAUSE CODES                                    */
  183. /*----------------------------------------------------------------*/
  184.  
  185. #define   CC_UNASSIGNED_NUMBER                        0x3401
  186. #define   CC_NO_RTE_TO_TRANSIT_NETWORK                0x3402
  187. #define   CC_NO_RTE_TO_DESTINATION                    0x3403
  188. #define   CC_CHANNEL_UNACCEPTABLE                     0x3406
  189. #define   CC_CALL_ON_EST_CHANNEL                      0x3407
  190.  
  191. #define   CC_NORMAL_CALL_CLEARING                     0x3410
  192. #define   CC_REMOTE_USER_BUSY                         0x3411
  193. #define   CC_NO_USER_RESPONDING                       0x3412
  194. #define   CC_NO_USER_ANSWERING                        0x3413
  195. #define   CC_CALL_REJECTED                            0x3415
  196. #define   CC_NUMBER_CHANGED                           0x3416
  197. #define   CC_NON_SELECTED_USER_CLEARING               0x341A
  198. #define   CC_DEST_OUT_OF_ORDER                        0x341B
  199. #define   CC_INVALID_NUMBER_FORMAT                    0x341C
  200. #define   CC_FACILITY_REJECTED                        0x341D
  201. #define   CC_RESPONSE_TO_STAT_ENQ                     0x341E
  202. #define   CC_UNSPECIFIED_NORMAL_CLEARING              0x341F
  203.  
  204. #define   CC_NO_CHANNEL_AVAILABLE                     0x3422
  205. #define   CC_NETWORK_OUT_OF_ORDER                     0x3426
  206. #define   CC_TEMP_FAILURE                             0x3429
  207. #define   CC_SWITCH_CONGESTED                         0x342A
  208. #define   CC_ACCESS_INFO_DISCARDED                    0x342B
  209. #define   CC_REQUESTED_CHANNEL_UNAVAIL                0x342C
  210. #define   CC_UNSPEC_RESOURCES_UNAVAIL                 0x342F
  211.  
  212. #define   CC_QUALITY_OF_SERVICE_UNAVAIL               0x3431
  213. #define   CC_FACILITY_NOT_SUBSCRIBED                  0x3432
  214. #define   CC_BEARER_CAP_NOT_AUTHORIZED                0x3439
  215. #define   CC_BEARER_CAP_NOT_AVAILABLE                 0x343A
  216. #define   CC_UNSPECIFIED_SERVICE_UNAVAIL              0x343F
  217.  
  218. #define   CC_BEARER_CAP_NOT_IMPLEMENTED               0x3441
  219. #define   CC_CHANNEL_TYPE_NOT_IMPLEMENTED             0x3442
  220. #define   CC_FACILITY_NOT_IMPLEMENTED                 0x3445
  221. #define   CC_ONLY_RESTRICTED_SERV_AVAIL               0x3446
  222. #define   CC_SERVICE_NOT_IMPLEMENTED                  0x344F
  223.  
  224. #define   CC_INVALID_CALL_REF_VALUE                   0x3451
  225. #define   CC_CHANNEL_DOES_NOT_EXIST                   0x3452
  226. #define   CC_CALL_ID_DOES_NOT_EXIST                   0x3453
  227. #define   CC_CALL_ID_IN_USE                           0x3454
  228. #define   CC_NO_CALL_SUSPENDED                        0x3455
  229. #define   CC_CALL_ID_CLEARED                          0x3456
  230. #define   CC_INCOMPATIBLE_DEST                        0x3458
  231. #define   CC_INVALID_TRAN_NETWORK_SEL                 0x345B
  232. #define   CC_UNSPEC_INVALID_MESSAGE                   0x345F
  233.  
  234. #define   CC_MANDATORY_ID_MISSING                     0x3460
  235. #define   CC_MESSAGE_TYPE_NON_EXISTENT                0x3461
  236. #define   CC_MESSAGE_INCOMP_WITH_STATE                0x3462
  237. #define   CC_IE_NON_EXISTENT                          0x3463
  238. #define   CC_INVALID_ID_CONTENTS                      0x3464
  239. #define   CC_MESSAGE_INCOMP_IN_CALL_STATE             0x3465
  240. #define   CC_TIMER_EXPIRY_RECOVERY                    0x3466
  241. #define   CC_PROTOCOL_ERROR                           0x346F
  242.  
  243. #define   CC_UNSPEC_INTERWORKING                      0x347F
  244.