home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
api111.zip
/
CM_H
/
APPCDEF.H
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-10
|
52KB
|
910 lines
#ifdef __cplusplus
extern "C" {
#endif
/* NOTE: packing will be reset to default after this file is included */
#ifdef __32BIT__
#pragma pack(1)
#endif
#ifndef APPCDEF_INCLUDED
#define APPCDEF_INCLUDED
#define APPN
#ifndef OS2_INCLUDED /* OS2DEF.H defines & typedefs */
#define CHAR char
#define SHORT short
#define LONG long
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
typedef unsigned char UCHAR;
typedef char *PCHAR;
typedef unsigned short USHORT;
typedef unsigned long ULONG;
typedef unsigned int UINT;
typedef unsigned char BYTE;
typedef void * PVOID;
#ifdef __32BIT__
typedef unsigned long BOOL;
#else
typedef unsigned short BOOL;
#endif
#endif
/***********************************************************/
/* C external function prototypes */
/***********************************************************/
/*"C" External Procedure Declaration*/
#ifdef __32BIT__
extern void _Far16 _Pascal APPC(PVOID _Seg16); /* use this for all verbs */
extern void _Far16 _Pascal APPC_C(PVOID _Seg16); /* for migration */
extern void _Far16 _Pascal ACSMGT(PVOID _Seg16); /* for migration */
#define STRUCT16 struct
#define PTR16 * _Seg16
#define UINT16 USHORT
#pragma seg16(LUW_ID_OVERLAY)
#pragma seg16(FQPCID_OVERLAY)
#pragma seg16(ALT_ALIAS_OVERLAY)
#else
extern void pascal far APPC(ULONG); /* use this for all verbs */
extern void pascal far APPC_C(ULONG); /* for migration */
extern void pascal far _saveregs ACSMGT(long);
/* for migration */
#define STRUCT16 struct
#define PTR16 far *
#define UINT16 UINT
#endif
#ifndef SENSE_CODE
/* Macro accesses the sense code given the sense data */
#define SENSE_CODE(sense_data) (((PUSHORT)&(sense_data))[0])
#endif
#ifndef CLEAR_VCB
/* Macro CLEAR_VCB sets the APPC verb control block to zeros */
#define CLEAR_VCB(vcb) memset(&vcb,(int)'\0',sizeof(vcb))
#endif
#ifndef SWAP2
/* Macro SWAP2 swaps the bytes in a two-byte integer */
#define SWAP2(s) (unsigned short)((((s)>>8)&0xFF)|((s)<<8))
#endif
#ifndef SWAP4
/* Macro SWAP4 swaps the bytes in a four-byte integer */
#define SWAP4(l) (unsigned long)((((l) >> 24) & 0xFF) |\
((((l) & 0xFF0000) >> 8) & 0xFF00) | (((l) & 0xFF00)\
<< 8) | ((l) << 24))
#endif
typedef STRUCT16 luw_id_overlay {
UCHAR fq_length; /* Length of Fully Qualified Name */
UCHAR fq_luw_name[17]; /* Fully Qual. Logical Unit of Work */
UCHAR instance[6]; /* LUW Instance */
UCHAR sequence[2]; /* LUW Sequence */
} LUW_ID_OVERLAY;
typedef STRUCT16 fqpcid_overlay {
UCHAR unique_proc_id[8]; /* Unique procedure identifier */
UCHAR fq_length; /* Length of Fully Qualified Name */
UCHAR fq_name[17]; /* Fully Qualified Name (EBCDIC) */
/* 1-17 bytes (EBCDIC type A) */
} FQPCID_OVERLAY;
typedef STRUCT16 alt_alias_overlay {
UCHAR alt_plu_alias[8]; /* Alternate Partner LU Alias (ASCII)*/
/* 1-8 bytes */
} ALT_ALIAS_OVERLAY;
/*********************************************************/
/* Verb Operation Codes */
/*********************************************************/
#define AP_B_ALLOCATE (0x0001)
#define AP_B_CONFIRM (0x0003)
#define AP_B_CONFIRMED (0x0004)
#define AP_B_DEALLOCATE (0x0005)
#define AP_B_FLUSH (0x0006)
#define AP_B_GET_ATTRIBUTES (0x0007)
#define AP_B_RECEIVE_EXPEDITED_DATA (0x0009)
#define AP_B_PREPARE_TO_RECEIVE (0x000A)
#define AP_B_RECEIVE_AND_POST (0x000D)
#define AP_B_RECEIVE_AND_WAIT (0x000B)
#define AP_B_RECEIVE_IMMEDIATE (0x000C)
#define AP_B_REQUEST_TO_SEND (0x000E)
#define AP_B_SEND_CONVERSATION (0x0018)
#define AP_B_SEND_DATA (0x000F)
#define AP_B_SEND_ERROR (0x0010)
#define AP_B_SEND_EXPEDITED_DATA (0x0011)
#define AP_B_TEST_RTS (0x0012)
#define AP_M_ALLOCATE (0x0001)
#define AP_M_CONFIRM (0x0003)
#define AP_M_CONFIRMED (0x0004)
#define AP_M_DEALLOCATE (0x0005)
#define AP_M_FLUSH (0x0006)
#define AP_M_GET_ATTRIBUTES (0x0007)
#define AP_M_RECEIVE_EXPEDITED_DATA (0x0009)
#define AP_M_PREPARE_TO_RECEIVE (0x000A)
#define AP_M_RECEIVE_AND_POST (0x000D)
#define AP_M_RECEIVE_AND_WAIT (0x000B)
#define AP_M_RECEIVE_IMMEDIATE (0x000C)
#define AP_M_REQUEST_TO_SEND (0x000E)
#define AP_M_SEND_CONVERSATION (0x0018)
#define AP_M_SEND_DATA (0x000F)
#define AP_M_SEND_ERROR (0x0010)
#define AP_M_SEND_EXPEDITED_DATA (0x0011)
#define AP_M_TEST_RTS (0x0012)
#define AP_GET_TYPE (0x0008)
#define AP_GET_TP_PROPERTIES (0x0017)
#define AP_RECEIVE_ALLOCATE (0x0016)
#define AP_REGISTER_MS_APPLICATION (0x0041)
#define AP_REGISTER_NB_QUEUES (0x004F)
#define AP_UNREGISTER_MS_APPLICATION (0x0042)
#define AP_SEND_MDS_MU (0x004E)
#define AP_TP_ENDED (0x0013)
#define AP_TP_STARTED (0x0014)
#define AP_ACTIVATE_DLC (0x002B)
#define AP_ACTIVATE_LOGICAL_LINKS (0x003B)
#define AP_CNOS (0x0015)
#define AP_CONNECT_PHYSICAL_LINK (0x0046)
#define AP_DEACTIVATE_CONV_GROUP (0x0032)
#define AP_DEACTIVATE_DLC (0x002D)
#define AP_DEACTIVATE_LOGICAL_LINK (0x002C)
#define AP_DEACTIVATE_SESSION (0x002E)
#define AP_DISCONNECT_PHYSICAL_LINK (0x0047)
#define AP_DISPLAY (0x001B)
#define AP_DISPLAY_APPN (0x003C)
#define AP_START_AM (0x0028)
#define AP_STOP_AM (0x0029)
#define AP_DEFINE_CONNECTION_NETWORK (0x0035)
#define AP_DEFINE_COS (0x0038)
#define AP_DEFINE_CPIC_SIDE_INFO (0x005C)
#define AP_DEFINE_DEFAULTS (0x003A)
#define AP_DEFINE_DEFAULT_SOC (0x0067)
#define AP_DEFINE_EXPLICIT_SOC (0x0064)
#define AP_DEFINE_LOCAL_CP (0x0020)
#define AP_DEFINE_LOCAL_LU (0x0021)
#define AP_DEFINE_LOGICAL_LINK (0x0036)
#define AP_DEFINE_LU_LU_PASSWORD (0x0060)
#define AP_DEFINE_MODE (0x0039)
#define AP_DEFINE_PARTNER_LU (0x0037)
#define AP_DEFINE_PARTNER_LU_LOCATION (0x0045)
#define AP_DEFINE_REMOTE_FOCAL_POINT (0x0069)
#define AP_DEFINE_TP (0x0030)
#define AP_DEFINE_USERID_PASSWORD (0x0058)
#define AP_DELETE_COS (0x0040)
#define AP_DELETE_DEFAULT_SOC (0x0068)
#define AP_DELETE_EXPLICIT_SOC (0x0065)
#define AP_DELETE_LOCAL_LU (0x0044)
#define AP_DELETE_LU_LU_PASSWORD (0x0061)
#define AP_DELETE_MODE (0x003F)
#define AP_DELETE_PARTNER_LU (0x003E)
#define AP_DELETE_PARTNER_LU_LOCATION (0x0056)
#define AP_DELETE_TP (0x0031)
#define AP_DELETE_USERID_PASSWORD (0x0059)
#define AP_REVOKE_REMOTE_FOCAL_POINT (0x006A)
#define AP_ACCEPT_INCOMING_CALLS (0x006B)
#define AP_REJECT_INCOMING_CALLS (0x006C)
/*********************************************************/
/* Verb Parameter Values */
/*********************************************************/
#define AP_NO (0x00)
#define AP_YES (0x01)
#define AP_INDEPENDENT_LU (0x00)
#define AP_SYSTEM_LIMIT (0x00)
#define AP_ABEND (0x05)
#define AP_ABEND_PROG (0x02)
#define AP_ABEND_SVC (0x03)
#define AP_ABEND_TIMER (0x04)
#define AP_BASIC_CONVERSATION (0x00)
#define AP_BUFFER (0x00)
#define AP_CONFIRM_SYNC_LEVEL (0x01)
#define AP_FLUSH (0x01)
#define AP_HARD (0x01)
#define AP_LL (0x01)
#define AP_LONG (0x01)
#define AP_MAPPED_CONVERSATION (0x01)
#define AP_PGM (0x02)
#define AP_PROG (0x00)
#define AP_SAME (0x01)
#define AP_SHORT (0x00)
#define AP_SVC (0x01)
#define AP_SYNC_LEVEL (0x00)
#define AP_WHEN_SESSION_ALLOCATED (0x00)
#define AP_IMMEDIATE (0x01)
#define AP_WHEN_SESSION_FREE (0x02)
#define AP_WHEN_CONWINNER_ALLOC (0x03)
#define AP_WHEN_CONV_GROUP_ALLOC (0x04)
#define AP_FDX_BASIC_CONVERSATION (0x03)
#define AP_FDX_MAPPED_CONVERSATION (0x04)
#define AP_SOFT (0x00)
#define AP_SEND_DATA_FLUSH (0x01)
#define AP_SEND_DATA_CONFIRM (0x02)
#define AP_SEND_DATA_P_TO_R_FLUSH (0x03)
#define AP_SEND_DATA_P_TO_R_SYNC_LEVEL (0x04)
#define AP_SEND_DATA_DEALLOC_FLUSH (0x05)
#define AP_SEND_DATA_DEALLOC_SYNC_LEVEL (0x06)
#define AP_SEND_DATA_DEALLOC_ABEND (0x07)
#define AP_RCV_DIR_ERROR (0x00)
#define AP_SEND_DIR_ERROR (0x01)
#define AP_FORMAT_0 (0x00)
#define AP_FORMAT_1 (0x01)
#define AP_RESET (0x00)
#define AP_SET (0x01)
#define AP_CONFIRM_WHAT_RECEIVED (0x0002)
#define AP_CONFIRM_DEALLOCATE (0x0004)
#define AP_CONFIRM_SEND (0x0003)
#define AP_DATA (0x0100)
#define AP_DATA_COMPLETE (0x0200)
#define AP_DATA_INCOMPLETE (0x0400)
#define AP_SEND (0x0001)
#define AP_DATA_COMPLETE_CONFIRM (0x0202)
#define AP_DATA_COMPLETE_CONFIRM_DEALL (0x0204)
#define AP_DATA_COMPLETE_CONFIRM_SEND (0x0203)
#define AP_DATA_COMPLETE_SEND (0x0201)
#define AP_DATA_CONFIRM (0x0102)
#define AP_DATA_CONFIRM_DEALLOCATE (0x0104)
#define AP_DATA_CONFIRM_SEND (0x0103)
#define AP_DATA_SEND (0x0101)
#define AP_UC_DATA_COMPLETE (0x0500)
#define AP_UC_DATA_INCOMPLETE (0x0700)
#define AP_UC_DATA_COMPLETE_CFM (0x0502)
#define AP_UC_DATA_COMPLETE_CFM_DEALL (0x0504)
#define AP_UC_DATA_COMPLETE_CFM_SEND (0x0503)
#define AP_UC_DATA_COMPLETE_SEND (0x0501)
#define AP_SEC_NONSECURE (0x01)
#define AP_SEC_PUBLIC_SWITCHED_NETWORK (0x20)
#define AP_SEC_UNDERGROUND_CABLE (0x40)
#define AP_SEC_SECURE_CONDUIT (0x60)
#define AP_SEC_GUARDED_CONDUIT (0x80)
#define AP_SEC_ENCRYPTED (0xA0)
#define AP_SEC_GUARDED_RADIATION (0xC0)
#define AP_SEC_MAXIMUM (0xFF)
#define AP_PROP_DELAY_MINIMUM (0x00)
#define AP_PROP_DELAY_LAN (0x4C)
#define AP_PROP_DELAY_TELEPHONE (0x71)
#define AP_PROP_DELAY_PKT_SWITCHED_NET (0x91)
#define AP_PROP_DELAY_SATELLITE (0x99)
#define AP_PROP_DELAY_MAXIMUM (0xFF)
#define AP_HOME (0x03)
#define AP_REGISTER (0x02)
#define AP_CACHE (0x00)
#define AP_REAL (0x00)
#define AP_VIRTUAL (0x01)
#define AP_LEARN (0x00)
#define AP_LEN (0x01)
#define AP_NN (0x02)
#define AP_EN (0x03)
#define AP_NW_UPSTREAM (0x01)
#define AP_NW_DOWNSTREAM (0x02)
#define AP_RLE (0x01)
#define AP_LZ9 (0x02)
#define AP_DEFAULT_TOKENS (0)
#define AP_MIN_RLE_TOKENS (5)
#define AP_MIN_LZ9_TOKENS (38)
#define AP_MAX_COMP_SESSIONS (100)
#define AP_PROHIBITED (0x00)
#define AP_SYSTEM (0x01)
#define AP_REQUESTED (0x02)
#define AP_USE_ADAPTER_DEF_CHAR (0xFF)
#define AP_USE_ADAPTER_DEF_SHORT (0xFFFF)
#define AP_USE_ADAPTER_DEF_LONG (0xFFFFFFFF)
#define AP_SWITCHED (0x01)
#define AP_NONSWITCHED (0x02)
#define AP_LOW (0x00)
#define AP_MEDIUM (0x01)
#define AP_HIGH (0x02)
#define AP_NETWORK (0x03)
#define AP_NO_ACT_LIMIT (0x00)
#define AP_BACKGROUND (0x00)
#define AP_FULL_SCREEN (0x01)
#define AP_PRESENTATION_MANAGER (0x02)
#define AP_VIO_WINDOWABLE (0x03)
#define AP_LOCALLY (0x00)
#define AP_REMOTELY (0x01)
#define AP_BASIC (0x00)
#define AP_MAPPED (0x01)
#define AP_EITHER (0x02)
#define AP_FDX_BASIC (0x03)
#define AP_FDX_MAPPED (0x04)
#define AP_FDX_EITHER (0x05)
#define AP_ANY_TYPE (0x06)
#define AP_CONFIRM (0x01)
#define AP_INFINITE (0xFFFF)
#define AP_FULL (0x01)
#define AP_PARTIAL (0x02)
#define AP_ACTIVATE_ONE (0x01)
#define AP_ACTIVATE_ALL (0xFF)
#define AP_LINK_HARD (0x00)
#define AP_LINK_SOFT (0x01)
#define AP_LINK_CONNECT (0x00)
#define AP_LINK_AUTO_CONNECT (0x01)
#define AP_SOURCE (0x00)
#define AP_TARGET (0x01)
#define AP_ONE (0x00)
#define AP_ALL (0x01)
#define AP_SECONDARY (0x00)
#define AP_PRIMARY (0x01)
#define AP_NEGOTIABLE (0x03)
#define AP_FP_RETRY (0x00)
#define AP_EP_RETRY (0x01)
#define AP_EXPLICIT_PRIMARY_FP (0x01)
#define AP_IMPLICIT_PRIMARY_FP (0x10)
#define AP_BACKUP_FP (0x20)
#define AP_DEFAULT_PRIMARY_FP (0x30)
#define AP_DEFAULT_BACKUP_FP (0x40)
#define AP_DOMAIN_FP (0x50)
#define AP_HOST_FP (0xF0)
#define AP_NO_FP (0xFF)
#define AP_NOT_ACTIVE (0x00)
#define AP_ACTIVE (0x01)
#define AP_PENDING (0x02)
#define AP_LOCAL_ACTIVE (0x03)
#define AP_NEVER_ACTIVE (0x04)
#define AP_SESS_INACTIVE (0x00)
#define AP_SESS_PENDING_ACTIVE (0x01)
#define AP_SESS_ACTIVE (0x02)
#define AP_SESS_PENDING_INACTIVE (0x03)
#define AP_DEFAULT (0x00)
#define AP_DIRECT (0x01)
#define AP_APPL_UNREGISTERED (0x00)
#define AP_APPL_REGISTERED (0x01)
#define AP_APPL_REG_UNAVAIL (0x02)
#define AP_REPLACE_BACKUP_FP (0x00)
#define AP_KEEP_BACKUP_FP (0x01)
#define AP_REVOKED (0x00)
#define AP_INACT_EXP (0x01)
#define AP_INACT_DEF (0x02)
#define AP_INACT_IMP (0x03)
#define AP_ADD_PND (0x04)
#define AP_ACTIVE_SOC (0x05)
#define AP_DLT_ADD_PND (0x06)
#define AP_DLT_PND (0x07)
#define AP_DEACT_CLEANUP (0x00)
#define AP_DEACT_NORMAL (0x01)
#define AP_NONE (0x00)
#define AP_LOCAL (0x00)
#define AP_REMOTE (0x01)
#define AP_OUTBOUND (0x00)
#define AP_INBOUND (0x01)
#define AP_NOT_IN_PROGRESS (0x00)
#define AP_IN_PROGRESS (0x01)
#define AP_NOT_SUPPORTED (0x00)
#define AP_SUPPORTED (0x01)
#define AP_HOLD_FOREVER (-1)
#define AP_RESET_STATE (0x01)
#define AP_SEND_STATE (0x02)
#define AP_RECEIVE_STATE (0x03)
#define AP_CONFIRM_STATE (0x04)
#define AP_CONFIRM_SEND_STATE (0x05)
#define AP_CONFIRM_DEALL_STATE (0x06)
#define AP_PEND_DEALL_STATE (0x09)
#define AP_END_CONV_STATE (0x0A)
#define AP_TP_VALID_PEND_STATE (0x0B)
#define AP_PEND_POST_STATE (0x0C)
#define AP_SEND_RECEIVE_STATE (0x1A)
#define AP_SEND_ONLY_STATE (0x1B)
#define AP_RECEIVE_ONLY_STATE (0x1C)
#define AP_QUEUED_OPERATOR_STARTED (0x00)
#define AP_QUEUED_AM_STARTED (0x01)
#define AP_NONQUEUED_AM_STARTED (0x02)
#define AP_QUEUED_OPERATOR_PRELOADED (0x03)
#define AP_INACTIVE (0x00)
#define AP_LOADED (0x01)
#define AP_LOADING (0x02)
#define AP_RUNNING (0x03)
#define AP_SSCP_PU_SESSION (0x00)
#define AP_SSCP_LU_SESSION (0x01)
#define AP_LU_LU_SESSION (0x02)
#define AP_DEACTIVATED (0x00)
#define AP_ACTIVATED (0x80)
#define AP_ACTIVATING (0x40)
#define AP_DEACTIVATING (0x20)
#define AP_DETACHING (0x10)
#define AP_NOT_BOUND (0x00)
#define AP_BOUND (0x80)
#define AP_BINDING (0x40)
#define AP_UNBINDING (0x20)
#define AP_HOST_CONNECTION (0x01)
#define AP_PEER_CONNECTION (0x02)
#define AP_BOTH_CONNECTION (0x03)
#define AP_CONALS_PND (0x02)
#define AP_XID_PND (0x03)
#define AP_CONTACT_PND (0x05)
#define AP_CONTACTED (0x06)
#define AP_DISC_PND (0x07)
#define AP_DISC_RQ (0x08)
#define AP_3270_EMULATION (0x00)
#define AP_LUA (0x01)
#define AP_LU0 (0x00)
#define AP_LU1 (0x01)
#define AP_LU2 (0x02)
#define AP_LU3 (0x03)
#define AP_LU62 (0x06)
#define AP_UNKNOWN (0xFF)
#define AP_LEASED_LINE (0x00)
#define AP_VX32 (0x01)
#define AP_DISCONNECT (0x00)
#define AP_CONNECT (0x01)
#define AP_AUTO_CONNECT (0x02)
#define AP_CONNECTING (0x00)
#define AP_CONNECTED (0x01)
#define AP_ERROR_LEVEL_1 (0x02)
#define AP_ERROR_LEVEL_2 (0x03)
#define AP_DISCONNECTING (0x04)
#define AP_DISCONNECTED (0x05)
#define AP_ADAPTER_ERROR (0x06)
#define AP_ADAPTER_ACCESS_ERROR (0x07)
#define AP_INCOMING_WAIT (0x08)
#define AP_INCOMING (0x00)
#define AP_OUTGOING (0x01)
#define AP_2_WAY (0x02)
#define AP_FIXED (0x12)
#define AP_ADAPTIVE (0x13)
#define AP_ADD (0x00)
#define AP_NO_ADD (0x01)
#define AP_LOG_SEND (0x00)
#define AP_NO_LOG_SEND (0x01)
#define AP_LOCAL_LU (0x00)
#define AP_PARTNER_LU (0x01)
#define AP_NON_BLOCKING (0x02)
#define AP_NON_BLOCKING_BASIC (0x02)
#define AP_NON_BLOCKING_MAPPED (0x03)
#define AP_FDX_BLOCKING_BASIC (0x04)
#define AP_FDX_BLOCKING_MAPPED (0x05)
#define AP_FDX_NONBLOCKING_BASIC (0x06)
#define AP_FDX_NONBLOCKING_MAPPED (0x07)
#define AP_BLOCKING (0x00000000)
#define AP_NULL (0xFFFFFFFF)
#define AP_TWO_WAY_ALTERNATE (0x00)
#define AP_TWO_WAY_SIMULTANEOUS (0x01)
#define AP_WHEN_EXPEDITED_DATA_RECEIVED (0x00)
#define AP_IDLC_T200_DEFAULT (10)
#define AP_IDLC_N200_DEFAULT (3)
#define AP_IDLC_N201_DEFAULT (2057)
#define AP_IDLC_T203_DEFAULT (30)
#define AP_IDLC_K_DEFAULT (7)
#define AP_IDLC_Nw_DEFAULT (5)
#define AP_NON_DIALED (0x01)
#define AP_DYNAMIC_SWITCHED (0x03)
#define AP_VIRTUALPORT (0x03)
#define AP_ANALOG (0x04)
#define AP_X25XPANDER (0x05)
/*********************************************************/
/* Primary Return Codes */
/*********************************************************/
#define AP_OK (0x0000) /* 0000 */
#define AP_PARAMETER_CHECK (0x0100) /* 0001 */
#define AP_STATE_CHECK (0x0200) /* 0002 */
#define AP_ALLOCATION_ERROR (0x0300) /* 0003 */
#define AP_DEALLOC_ABEND (0x0500) /* 0005 */
#define AP_DEALLOC_ABEND_PROG (0x0600) /* 0006 */
#define AP_DEALLOC_ABEND_SVC (0x0700) /* 0007 */
#define AP_DEALLOC_ABEND_TIMER (0x0800) /* 0008 */
#define AP_DEALLOC_NORMAL (0x0900) /* 0009 */
#define AP_PROG_ERROR_NO_TRUNC (0x0C00) /* 000C */
#define AP_PROG_ERROR_TRUNC (0x0D00) /* 000D */
#define AP_PROG_ERROR_PURGING (0x0E00) /* 000E */
#define AP_CONV_FAILURE_RETRY (0x0F00) /* 000F */
#define AP_CONV_FAILURE_NO_RETRY (0x1000) /* 0010 */
#define AP_SVC_ERROR_NO_TRUNC (0x1100) /* 0011 */
#define AP_SVC_ERROR_TRUNC (0x1200) /* 0012 */
#define AP_SVC_ERROR_PURGING (0x1300) /* 0013 */
#define AP_UNSUCCESSFUL (0x1400) /* 0014 */
#define AP_CNOS_LOCAL_RACE_REJECT (0x1700) /* 0017 */
#define AP_CNOS_PARTNER_LU_REJECT (0x1800) /* 0018 */
#define AP_CONVERSATION_TYPE_MIXED (0x1900) /* 0019 */
#define AP_CANCELLED (0x2100) /* 0021 */
#define AP_PENDING_DELETE (0x2200) /* 0022 */
#define AP_OPERATION_INCOMPLETE (0x4000) /* 0040 */
#define AP_OPERATION_NOT_ACCEPTED (0x4100) /* 0041 */
#define AP_CONVERSATION_ENDED (0x4200) /* 0042 */
#define AP_ERROR_INDICATION (0x4300) /* 0043 */
#define AP_EXP_DATA_NOT_SUPPORTED_BY_LU (0x4400) /* 0044 */
#define AP_BUFFER_PROVIDED_TOO_SMALL (0x4500) /* 0045 */
#define AP_USER_CTRL_DATA_NOT_SUPPORTED (0x4600) /* 0046 */
#define AP_TP_BUSY (0x02F0) /* F002 */
#define AP_COMM_SUBSYSTEM_ABENDED (0x03F0) /* F003 */
#define AP_COMM_SUBSYSTEM_NOT_LOADED (0x04F0) /* F004 */
#define AP_INVALID_VERB_SEGMENT (0x08F0) /* F008 */
#define AP_DISPLAY_INFO_EXCEEDS_SEG (0x10F0) /* F010 */
#define AP_UNEXPECTED_DOS_ERROR (0x11F0) /* F011 */
#define AP_INVALID_CONFIG_FILE (0x14F0) /* F014 */
#define AP_STACK_TOO_SMALL (0x15F0) /* F015 */
#define AP_INVALID_KEY (0x20F0) /* F020 */
#define AP_X25_ERROR (0x21F0) /* F021 */
#define AP_INVALID_VERB (0xFFFF) /* FFFF */
#define AP_OUTPUT_DEVICE_FULL (0x3100) /* 0031 */
#define AP_CONFIG_FILE_ERROR (0x3200) /* 0032 */
#define AP_DUMP_STORAGE_ERROR (0x22F0) /* F022 */
#define AP_SERVER_RESOURCE_NOT_FOUND (0x24F0) /* F024 */
#define AP_SERVER_RESOURCES_LOST (0x26F0) /* F026 */
/*********************************************************/
/* Secondary Return Codes */
/*********************************************************/
#define AP_ADAPTER_NOT_DEFD (0xD5010000L) /* 000001D5 */
#define AP_ADAPTER_NOT_OPEN (0xB3020000L) /* 000002B3 */
#define AP_ALLOCATE_NOT_PENDING (0x09050000L) /* 00000509 */
#define AP_ALLOCATION_ERROR_PENDING (0x00000300L) /* 00030000 */
#define AP_ALLOCATION_FAILURE_NO_RETRY (0x04000000L) /* 00000004 */
#define AP_ALLOCATION_FAILURE_RETRY (0x05000000L) /* 00000005 */
#define AP_ALL_MODE_MUST_RESET (0x53010000L) /* 00000153 */
#define AP_ATTACH_MGR_ALREADY_ACTIVE (0x0A050000L) /* 0000050A */
#define AP_ATTACH_MGR_ALREADY_INACTIVE (0x08050000L) /* 00000508 */
#define AP_AUTOACT_EXCEEDS_SESSLIM (0x52010000L) /* 00000152 */
#define AP_INVALID_SOLICIT_SSCP (0xCF010000L) /* 000001CF */
#define AP_BAD_COMP_LEVEL (0xCA020000L) /* 000002CA */
#define AP_BAD_COMPRESSION_NEED (0x27020000L) /* 00000227 */
#define AP_BAD_COMP_TOKENS (0xCB020000L) /* 000002CB */
#define AP_BAD_CONV_ID (0x02000000L) /* 00000002 */
#define AP_BAD_CONV_STYLE (0x22000000L) /* 00000022 */
#define AP_BAD_CONV_TYPE (0x11000000L) /* 00000011 */
#define AP_BAD_DIR_COMPRESSION (0x28020000L) /* 00000228 */
#define AP_BAD_ERROR_DIRECTION (0x05010000L) /* 00000105 */
#define AP_BAD_ICRT_NAME (0x53060000L) /* 00000653 */
#define AP_BAD_LL (0xF1000000L) /* 000000F1 */
#define AP_BAD_LOCAL_NODE_NN_SERVER (0xD7020000L) /* 000002D7 */
#define AP_BAD_LU_ALIAS (0x03000000L) /* 00000003 */
#define AP_BAD_MODE_NAME (0x57010000L) /* 00000157 */
#define AP_BAD_PARTNER_LU_ALIAS (0x5B010000L) /* 0000015B */
#define AP_BAD_RETURN_CONTROL (0x14000000L) /* 00000014 */
#define AP_BAD_RETURN_STATUS_WITH_DATA (0xD7000000L) /* 000000D7 */
#define AP_BAD_SECURITY (0x13000000L) /* 00000013 */
#define AP_BAD_SNASVCMG_LIMITS (0x54010000L) /* 00000154 */
#define AP_BAD_SYNC_LEVEL (0x12000000L) /* 00000012 */
#define AP_BAD_TP_ID (0x01000000L) /* 00000001 */
#define AP_BAD_TYPE (0x50020000L) /* 00000250 */
#define AP_CACHE_NOT_ALLOWED_EN (0xDF020000L) /* 000002DF */
#define AP_CANT_RAISE_LIMITS (0x51010000L) /* 00000151 */
#define AP_CHANGE_SRC_DRAINS (0x5D010000L) /* 0000015D */
#define AP_CNOS_ACCEPTED (0x00000000L) /* 00000000 */
#define AP_CNOS_COMMAND_RACE_REJECT (0x5F010000L) /* 0000015F */
#define AP_CNOS_IMPLICIT_PARALLEL (0x50010000L) /* 00000150 */
#define AP_CNOS_MODE_CLOSED (0x56010000L) /* 00000156 */
#define AP_CNOS_MODE_NAME_REJECT (0x57010000L) /* 00000157 */
#define AP_CNOS_NEGOTIATED (0x07000000L) /* 00000007 */
#define AP_CONFIRMED_BAD_STATE (0x41000000L) /* 00000041 */
#define AP_CONFIRMED_INVALID_FOR_FDX (0x42000000L) /* 00000042 */
#define AP_CONFIRM_BAD_STATE (0x32000000L) /* 00000032 */
#define AP_CONFIRM_NOT_LL_BDY (0x33000000L) /* 00000033 */
#define AP_CONFIRM_INVALID_FOR_FDX (0x34000000L) /* 00000034 */
#define AP_CONFIRM_ON_SYNC_LEVEL_NONE (0x31000000L) /* 00000031 */
#define AP_CONVERSATION_TYPE_MISMATCH (0x34600810L) /* 10086034 */
#define AP_CONV_FAILURE_NO_RETRY_PNDG (0x00001000L) /* 00100000 */
#define AP_CONV_FAILURE_RETRY_PENDING (0x00000F00L) /* 000F0000 */
#define AP_COS_NAME_NOT_DEFD (0x10080000L) /* 00000810 */
#define AP_COS_NOT_DEFD (0x1B020000L) /* 0000021B */
#define AP_CPSVCMG_SESSION_ACTIVE (0xFF010000L) /* 000001FF */
#define AP_CPSVCMG_ALREADY_DEFD (0x21020000L) /* 00000221 */
#define AP_CPSVCMG_MODE_NOT_ALLOWED (0x19050000L) /* 00000519 */
#define AP_CP_OR_SNA_SVCMG_UNDELETABLE (0xF3010000L) /* 000001F3 */
#define AP_DEACT_CG_INVALID_CGID (0x6C020000L) /* 0000026C */
#define AP_DEACT_CG_INVALID_TYPE (0x6B020000L) /* 0000026B */
#define AP_DEACT_DLC_ADAPTER_NOT_OPEN (0x00020000L) /* 00000200 */
#define AP_DEACT_LINK_UNSUCCESSFUL (0x17050000L) /* 00000517 */
#define AP_DEALLOC_ABEND_PENDING (0x00000500L) /* 00050000 */
#define AP_DEALLOC_ABEND_PROG_PENDING (0x00000600L) /* 00060000 */
#define AP_DEALLOC_ABEND_SVC_PENDING (0x00000700L) /* 00070000 */
#define AP_DEALLOC_ABEND_TIMER_PENDING (0x00000800L) /* 00080000 */
#define AP_DEALLOC_BAD_TYPE (0x51000000L) /* 00000051 */
#define AP_DEALLOC_CONFIRM_BAD_STATE (0x53000000L) /* 00000053 */
#define AP_DEALLOC_FLUSH_BAD_STATE (0x52000000L) /* 00000052 */
#define AP_DEALLOC_LOG_LL_WRONG (0x57000000L) /* 00000057 */
#define AP_DEALLOC_NOT_LL_BDY (0x55000000L) /* 00000055 */
#define AP_DEF_COS_INVALID_SECURITY (0x07080000L) /* 00000807 */
#define AP_DEF_LINK_BAD_NODE_TYPE (0xCB010000L) /* 000001CB */
#define AP_DEF_LINK_INVALID_SECURITY (0x22080000L) /* 00000822 */
#define AP_DEF_LU_LU_PW_SESS_ACTIVE (0x52080000L) /* 00000852 */
#define AP_DEF_PLU_INVALID_FQ_NAME (0x74020000L) /* 00000274 */
#define AP_DEL_LOCAL_DEPENDENT_LU (0x23020000L) /* 00000223 */
#define AP_DEL_MODE_DEFAULT_SPCD (0xF4010000L) /* 000001F4 */
#define AP_DEST_ADDR_EQUALS_OWN_ADDR (0xDF010000L) /* 000001DF */
#define AP_DISPLAY_INFO_EXCEEDS_LEN (0xB4010000L) /* 000001B4 */
#define AP_DISPLAY_INVALID_CONSTANT (0xB5010000L) /* 000001B5 */
#define AP_DLC_FAILURE (0x83020000L) /* 00000283 */
#define AP_DLC_NOT_DEFD (0xC6010000L) /* 000001C6 */
#define AP_DUPLICATE_DLC (0x86020000L) /* 00000286 */
#define AP_DUPLICATE_LINK_NAME (0xC0010000L) /* 000001C0 */
#define AP_DUPLICATE_LU_ALIAS (0x11020000L) /* 00000211 */
#define AP_DUPLICATE_PARTNER_LU_ALIAS (0x77020000L) /* 00000277 */
#define AP_EXCEEDS_MAX_ALLOWED (0x5C010000L) /* 0000015C */
#define AP_EXPD_BAD_RETURN_CONTROL (0x26010000L) /* 00000126 */
#define AP_EXPD_DATA_BAD_CONV_STATE (0x27010000L) /* 00000127 */
#define AP_FLUSH_NOT_SEND_STATE (0x61000000L) /* 00000061 */
#define AP_FQPLU_NAME_EQ_LCL (0xD8020000L) /* 000002D8 */
#define AP_FQPLU_NAME_NOT_DEFD (0xF8010000L) /* 000001F8 */
#define AP_FQ_OWNING_CP_NAME_EQ_LCL (0xDE020000L) /* 000002DE */
#define AP_FQ_SERVING_NNCP_NAME_EQ_LCL (0xD9020000L) /* 000002D9 */
#define AP_FDX_NOT_SUPPORTED_BY_LU (0x23000000L) /* 00000023 */
#define AP_HOST_LINK_NAME (0xFB010000L) /* 000001FB */
#define AP_INCONSISTENT_TP_OPERATION (0xA7020000L) /* 000002A7 */
#define AP_INVALID_ADAPTER (0x16050000L) /* 00000516 */
#define AP_INVALID_ALIAS (0x0F020000L) /* 0000020F */
#define AP_INVALID_AUTO_ACTIVATE (0xCD010000L) /* 000001CD */
#define AP_INVALID_BYTE_COST (0xD1010000L) /* 000001D1 */
#define AP_INVALID_CNOS_SLIM (0x17020000L) /* 00000217 */
#define AP_INVALID_CN_NAME (0x21080000L) /* 00000821 */
#define AP_INVALID_CONGESTION (0x06080000L) /* 00000806 */
#define AP_INVALID_CONVERSATION_TYPE (0xA1020000L) /* 000002A1 */
#define AP_INVALID_CONV_SECURITY_RQD (0xA2020000L) /* 000002A2 */
#define AP_INVALID_CONV_SECURITY_VERIF (0x76020000L) /* 00000276 */
#define AP_INVALID_COS_NAME (0x01080000L) /* 00000801 */
#define AP_INVALID_COS_SNASVCMG_MODE (0x1C020000L) /* 0000021C */
#define AP_INVALID_CP_CP_SUPPORT (0xCC010000L) /* 000001CC */
#define AP_INVALID_CP_NAME (0xCA010000L) /* 000001CA */
#define AP_INVALID_CP_NAU_ADDRESS (0xC5020000L) /* 000002C5 */
#define AP_INVALID_DATA_SEGMENT (0x06000000L) /* 00000006 */
#define AP_INVALID_DEFAULT_RU_SIZE (0x1D020000L) /* 0000021D */
#define AP_INVALID_DEST_ADDR_LEN (0xD3010000L) /* 000001D3 */
#define AP_INVALID_DIR_FOR_ATTACHES (0x67020000L) /* 00000267 */
#define AP_INVALID_DLC (0x10050000L) /* 00000510 */
#define AP_INVALID_EFFECTIVE_CAPACITY (0x24080000L) /* 00000824 */
#define AP_INVALID_FQLU_NAME (0xFD010000L) /* 000001FD */
#define AP_INVALID_FQPLU_NAME (0xDA020000L) /* 000002DA */
#define AP_INVALID_FQ_CP_NAME (0xC3020000L) /* 000002C3 */
#define AP_INVALID_FQ_OWNING_CP_NAME (0xDB020000L) /* 000002DB */
#define AP_INVALID_FQ_SERVING_NNCP_NAME (0xDD020000L) /* 000002DD */
#define AP_INVALID_HOST_LINK_NAME (0x26020000L) /* 00000226 */
#define AP_INVALID_IMPLICIT_PLU_SUPP (0x62020000L) /* 00000262 */
#define AP_INVALID_LIMITED_RESOURCE (0xCE010000L) /* 000001CE */
#define AP_INVALID_LINK_ID (0x0F050000L) /* 0000050F */
#define AP_INVALID_LINK_NAME (0xC1010000L) /* 000001C1 */
#define AP_INVALID_LINK_NAME_SPECIFIED (0xB0020000L) /* 000002B0 */
#define AP_INVALID_LS_ROLE (0xD2010000L) /* 000001D2 */
#define AP_INVALID_LU_NAME (0x10020000L) /* 00000210 */
#define AP_INVALID_LU_NAU_ADDRESS (0x0E020000L) /* 0000020E */
#define AP_INVALID_MAX_MC_LL_SEND_SIZE (0x75020000L) /* 00000275 */
#define AP_INVALID_MAX_NEGOT_SESS_LIM (0x14020000L) /* 00000214 */
#define AP_INVALID_MAX_RU_SIZE_UPPER (0x19020000L) /* 00000219 */
#define AP_INVALID_MAX_TIMES_CONSIDERED (0x24020000L) /* 00000224 */
#define AP_INVALID_MIN_CONWINNERS (0x1E020000L) /* 0000021E */
#define AP_INVALID_MODE (0x15050000L) /* 00000515 */
#define AP_INVALID_MODE_NAME (0x15020000L) /* 00000215 */
#define AP_INVALID_MODE_SESSION_LIMIT (0x18020000L) /* 00000218 */
#define AP_INVALID_NODE_TYPE (0xC4020000L) /* 000002C4 */
#define AP_INVALID_NUM_LINKS_SPECIFIED (0xB2020000L) /* 000002B2 */
#define AP_INVALID_NUMBER_OF_ADAPTERS (0x28080000L) /* 00000828 */
#define AP_INVALID_NUMBER_OF_NODE_ROWS (0x02080000L) /* 00000802 */
#define AP_INVALID_NUMBER_OF_TG_ROWS (0x09080000L) /* 00000809 */
#define AP_INVALID_PARALLEL_SESS_SUPP (0x7A020000L) /* 0000027A */
#define AP_INVALID_PARTNER_LU_NAME (0x14050000L) /* 00000514 */
#define AP_INVALID_PASSWORD (0x91020000L) /* 00000291 */
#define AP_INVALID_PREF_NN_SERVER (0xDB010000L) /* 000001DB */
#define AP_INVALID_PROCESS (0x25050000L) /* 00000525 */
#define AP_INVALID_PROGRAM_TYPE (0xA5020000L) /* 000002A5 */
#define AP_INVALID_PROPAGATION_DELAY (0x23080000L) /* 00000823 */
#define AP_INVALID_QUEUE_ALLOC_TIMEOUT (0xAC020000L) /* 000002AC */
#define AP_INVALID_QUEUE_DEPTH (0xAB020000L) /* 000002AB */
#define AP_INVALID_RECV_PACING_WINDOW (0x16020000L) /* 00000216 */
#define AP_INVALID_RU_SIZES (0x13020000L) /* 00000213 */
#define AP_INVALID_SEMAPHORE_HANDLE (0xD6000000L) /* 000000D6 */
#define AP_INVALID_SESSION_ID (0x12050000L) /* 00000512 */
#define AP_INVALID_SNASVCMG_MODE_LIMITS (0x1A020000L) /* 0000021A */
#define AP_INVALID_SYNC_LEVEL (0xA3020000L) /* 000002A3 */
#define AP_INVALID_TIME_COST (0xD6010000L) /* 000001D6 */
#define AP_INVALID_TP_NAME (0xA0020000L) /* 000002A0 */
#define AP_INVALID_TP_OPERATION (0xA4020000L) /* 000002A4 */
#define AP_INVALID_TP_RECEIVE_TIMEOUT (0xAD020000L) /* 000002AD */
#define AP_INVALID_TYPE (0x11050000L) /* 00000511 */
#define AP_INVALID_UNINT_PLU_NAME (0x7C020000L) /* 0000027C */
#define AP_INVALID_USER_DEF_1 (0xC3010000L) /* 000001C3 */
#define AP_INVALID_USER_DEF_2 (0xC4010000L) /* 000001C4 */
#define AP_INVALID_USER_DEF_3 (0xC5010000L) /* 000001C5 */
#define AP_INVALID_USER_ID (0x90020000L) /* 00000290 */
#define AP_INVALID_WILDCARD_ENTRY (0xDC020000L) /* 000002DC */
#define AP_LINK_IS_ACTIVE (0xDA010000L) /* 000001DA */
#define AP_LINK_DEACT_IN_PROGRESS (0x0D050000L) /* 0000050D */
#define AP_LINK_NOT_CONNECTED (0x0C050000L) /* 0000050C *//* @Z4A*/
#define AP_LINK_NOT_DEFD (0xFA010000L) /* 000001FA */
#define AP_LOCAL_CP_ALREADY_DEFD (0x01020000L) /* 00000201 */
#define AP_LOCAL_CP_NAME (0xD7010000L) /* 000001D7 */
#define AP_LOCAL_LU_NAME_EQ_PLU_NAME (0x0D020000L) /* 0000020D */
#define AP_LU_DETACHED (0x5E010000L) /* 0000015E */
#define AP_LU_NAME_NOT_DEFD (0xF9010000L) /* 000001F9 */
#define AP_LU_NAME_SAME_AS_CP_NAME (0xF7010000L) /* 000001F7 */
#define AP_LU_NAU_ADDRESS_ALREADY_DEFD (0x12020000L) /* 00000212 */
#define AP_MAX_VALUE_LESS_THAN_MIN (0x03080000L) /* 00000803 */
#define AP_MIN_GT_TOTAL (0x55010000L) /* 00000155 */
#define AP_MODE_CLOSED (0x56010000L) /* 00000156 */
#define AP_MODE_NAME_NOT_DEFD (0xF5010000L) /* 000001F5 */
#define AP_SNA_DEFD_COS_CANT_BE_DELETED (0x11080000L) /* 00000811 */
#define AP_MODE_SESS_LIM_EXCEEDS_NEG (0x20020000L) /* 00000220 */
#define AP_MS_APPL_NAME_ALREADY_REGD (0x40080000L) /* 00000840 */
#define AP_MS_APPL_NAME_NOT_REGD (0x44080000L) /* 00000844 */
#define AP_INVALID_MDS_MU_FORMAT (0x46080000L) /* 00000846 */
#define AP_INVALID_ORIGIN_CP_NAME (0x47080000L) /* 00000847 */
#define AP_NEW_LINK_NAME_EXISTING_DA (0xD9010000L) /* 000001D9 */
#define AP_NN_SERVER_FAILURE (0xB5020000L) /* 000002B5 */
#define AP_NN_SERVER_TIMEOUT (0xB4020000L) /* 000002B4 */
#define AP_NODE_ROW_WGT_LESS_THAN_LAST (0x04080000L) /* 00000804 */
#define AP_NO_CP_DEFD (0x08000000L) /* 00000008 */
#define AP_NO_LINKS_DEFD_AS_AUTO_ACTIVE (0xB1020000L) /* 000002B1 */
#define AP_NO_USE_OF_SNASVCMG (0x17000000L) /* 00000017 */
#define AP_NO_USE_OF_SNASVCMG_CPSVCMG (0x17000000L) /* 00000017 */
#define AP_PIP_LEN_INCORRECT (0x16000000L) /* 00000016 */
#define AP_PIP_NOT_ALLOWED (0x31600810L) /* 10086031 */
#define AP_PIP_NOT_SPECIFIED_CORRECTLY (0x32600810L) /* 10086032 */
#define AP_PLU_LOCATION_NOT_DEFD (0xFE010000L) /* 000001FE */
#define AP_PLU_NAME_EQ_LOCAL_LU_NAME (0x79020000L) /* 00000279 */
#define AP_P_TO_R_INVALID_TYPE (0xA1000000L) /* 000000A1 */
#define AP_P_TO_R_NOT_LL_BDY (0xA2000000L) /* 000000A2 */
#define AP_P_TO_R_NOT_SEND_STATE (0xA3000000L) /* 000000A3 */
#define AP_P_TO_R_INVALID_FOR_FDX (0xA5000000L) /* 000000A5 */
#define AP_QUEUE_NOT_CREATED (0x41080000L) /* 00000841 */
#define AP_RCV_AND_POST_BAD_FILL (0xD5000000L) /* 000000D5 */
#define AP_RCV_AND_POST_BAD_STATE (0xD1000000L) /* 000000D1 */
#define AP_RCV_AND_POST_NOT_LL_BDY (0xD2000000L) /* 000000D2 */
#define AP_RCV_AND_WAIT_BAD_FILL (0xB5000000L) /* 000000B5 */
#define AP_RCV_AND_WAIT_BAD_STATE (0xB1000000L) /* 000000B1 */
#define AP_RCV_AND_WAIT_NOT_LL_BDY (0xB2000000L) /* 000000B2 */
#define AP_RCV_IMMD_BAD_FILL (0xC4000000L) /* 000000C4 */
#define AP_RCV_IMMD_BAD_STATE (0xC1000000L) /* 000000C1 */
#define AP_RECEIVE_EXPD_INVALID_LENGTH (0x25010000L) /* 00000125 */
#define AP_RESET_SNA_DRAINS (0x59010000L) /* 00000159 */
#define AP_R_T_S_BAD_STATE (0xE1000000L) /* 000000E1 */
#define AP_R_T_S_INVALID_FOR_FDX (0xE2000000L) /* 000000E2 */
#define AP_SAME_LINK_NAME_DIFF_DA (0xD8010000L) /* 000001D8 */
#define AP_SECURITY_NOT_VALID (0x51600F08L) /* 080F6051 */
#define AP_SEND_DATA_BAD_USER_CTRL_DATA (0xF8000000L) /* 000000F8 */
#define AP_SEND_DATA_CONFIRM_SYNC_NONE (0xF5000000L) /* 000000F5 */
#define AP_SEND_DATA_INVALID_TYPE (0xF4000000L) /* 000000F4 */
#define AP_SEND_DATA_NOT_LL_BDY (0xF6000000L) /* 000000F6 */
#define AP_SEND_DATA_NOT_SEND_STATE (0xF2000000L) /* 000000F2 */
#define AP_SEND_ERROR_BAD_STATE (0x04010000L) /* 00000104 */
#define AP_SEND_ERROR_BAD_TYPE (0x03010000L) /* 00000103 */
#define AP_SEND_ERROR_LOG_LL_WRONG (0x02010000L) /* 00000102 */
#define AP_SEND_EXPD_INVALID_LENGTH (0x24010000L) /* 00000124 */
#define AP_SEND_TYPE_INVALID_FOR_FDX (0xF7000000L) /* 000000F7 */
#define AP_SINGLE_NOT_SRC_RESP (0x5A010000L) /* 0000015A */
#define AP_SNASVCMG_RESET_NOT_ALLOWED (0x67010000L) /* 00000167 */
#define AP_SNA_DEFD_COS_CANT_BE_CHANGED (0x0A080000L) /* 0000080A */
#define AP_SYNC_LEVEL_NOT_SUPPORTED (0x41600810L) /* 10086041 */
#define AP_TEST_INVALID_FOR_FDX (0x23010000L) /* 00000123 */
#define AP_TG_ROW_WGT_LESS_THAN_LAST (0x05080000L) /* 00000805 */
#define AP_TOO_MANY_TPS (0x43020000L) /* 00000243 */
#define AP_TP_ALREADY_ACTIVE (0xA8020000L) /* 000002A8 */
#define AP_TP_NAME_NOT_RECOGNIZED (0x21600810L) /* 10086021 */
#define AP_TRANS_PGM_NOT_AVAIL_NO_RETRY (0x00004C08L) /* 084C0000 */
#define AP_TRANS_PGM_NOT_AVAIL_RETRY (0x31604B08L) /* 084B6031 */
#define AP_UNDEFINED_TP_NAME (0x06050000L) /* 00000506 */
#define AP_UNINT_PLU_NAME_DEFD (0x78020000L) /* 00000278 */
#define AP_UNKNOWN_ERROR_TYPE_PENDING (0x00001100L) /* 00110000 */
#define AP_UNKNOWN_PARTNER_MODE (0x18000000L) /* 00000018 */
#define AP_UNRECOGNIZED_DEACT_TYPE (0x0E050000L) /* 0000050E */
#define AP_USERID_NOT_DEFD (0x92020000L) /* 00000292 */
#define AP_X25_DIRENTRY_NOT_FOUND (0xDC010000L) /* 000001DC */
#define AP_UNAUTHORIZED_ACCESS (0xAA000003L) /* 030000AA */
#define AP_SERVER_CONN_FAILURE (0xAB000003L) /* 030000AB */
/* These secondary return codes can be returned on the */
/* DISPLAY verb, when requesting X.25 informatiom. */
/* Decimal */
#define AP_X25_ABEND (0x00000063L) /* 099 */
#define AP_X25_ADAPTER_ACCESS_ERROR (0x00000071L) /* 113 */
#define AP_X25_ADAPTER_ERROR (0x00000072L) /* 114 */
#define AP_X25_COMMS_SERVICES_ERROR (0x000003E5L) /* 997 */
#define AP_X25_DEVICE_DRIVER_ERROR (0x0000006FL) /* 111 */
#define AP_X25_INACTIVE (0x00000066L) /* 102 */
#define AP_X25_INSUFFICIENT_RESOURCE (0x0000006CL) /* 108 */
#define AP_X25_INVALID_LINK_NAME (0x00000073L) /* 115 */
#define AP_X25_INVALID_LINK_TYPE (0x00000075L) /* 117 */
#define AP_X25_INVALID_STATE (0x000003E4L) /* 996 */
#define AP_X25_INVALID_CONNECTION_TYPE (0x00000720L) /*1824 */
#define AP_X25_LINK_ERROR_LEVEL_1 (0x0000007AL) /* 122 */
#define AP_X25_LINK_ERROR_LEVEL_2 (0x0000007BL) /* 123 */
#define AP_X25_LINK_IN_AUTOCONNECT_MODE (0x00000078L) /* 120 */
#define AP_X25_LINK_IN_CONNECT_MODE (0x00000076L) /* 118 */
#define AP_X25_LINK_IN_DISCONNECT_MODE (0x00000077L) /* 119 */
#define AP_X25_TERMINATING (0x00000069L) /* 105 */
#define AP_X25_UNEXPECTED_DOS_ERROR (0x00000062L) /* 098 */
#endif
/* reset default packing */
#ifdef __32BIT__
#pragma pack()
#endif
#ifdef __cplusplus
}
#endif